diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index 7339b4af6..669398255 100644 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -119,6 +119,7 @@ class QSO extends CI_Controller { 'start_time' => $this->input->post('start_time', TRUE), 'end_time' => $this->input->post('end_time'), 'time_stamp' => time(), + 'mail' => $this->input->post('mail', TRUE), 'band' => $this->input->post('band', TRUE), 'band_rx' => $this->input->post('band_rx', TRUE), 'freq' => $this->input->post('freq_display', TRUE), diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index c70d6c084..779c0d327 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -37,6 +37,12 @@ class Logbook_model extends CI_Model { $prop_mode = ""; } + if ($this->input->post('email')) { + $email = $this->input->post('email',TRUE); + } else { + $email = ''; + } + if ($this->input->post('sat_name')) { $prop_mode = "SAT"; } @@ -329,6 +335,7 @@ class Logbook_model extends CI_Model { 'COL_SIG_INFO' => $this->input->post('sig_info') == null ? '' : trim($this->input->post('sig_info')), 'COL_DARC_DOK' => $darc_dok == null ? '' : strtoupper(trim($darc_dok)), 'COL_NOTES' => $this->input->post('notes'), + 'COL_EMAIL' => $email ?? '', ); $station_id = $this->input->post('station_profile'); diff --git a/application/views/qso/index.php b/application/views/qso/index.php index d99dc2fac..2bb01a3ee 100644 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -527,6 +527,13 @@ +