From 73cd07e4c2fcf6d197e5fd382d7b493d6df308a0 Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Mon, 24 Jun 2019 23:03:13 +0200 Subject: [PATCH] Possibility to add DARC-DOK in existing Database-Field COL_DARC_DOK --- application/models/Logbook_model.php | 2 ++ application/views/qso/edit.php | 4 ++++ application/views/qso/index.php | 7 +++++++ application/views/view_log/qso.php | 7 +++++++ 4 files changed, 20 insertions(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 8b45115d..2d89e768 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -81,6 +81,7 @@ class Logbook_model extends CI_Model { 'COL_DXCC' => $this->input->post('dxcc_id'), 'COL_CQZ' => $this->input->post('cqz'), 'COL_SOTA_REF' => trim($this->input->post('sota_ref')), + 'COL_DARC_DOK' => trim($this->input->post('darc_dok')), ); if (strpos(trim($this->input->post('locator')), ',') !== false) { @@ -163,6 +164,7 @@ class Logbook_model extends CI_Model { 'COL_DXCC' => $this->input->post('dxcc_id'), 'COL_CQZ' => $this->input->post('cqz'), 'COL_SOTA_REF' => trim($this->input->post('sota_ref')), + 'COL_DARC_DOK' => trim($this->input->post('darc_dok')), ); // If station profile has been provided fill in the fields diff --git a/application/views/qso/edit.php b/application/views/qso/edit.php index 0b497480..ed07b4e9 100755 --- a/application/views/qso/edit.php +++ b/application/views/qso/edit.php @@ -113,6 +113,10 @@ + + DOK + + Comment diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 14513446..85a20646 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -138,6 +138,13 @@ +
+ +
+ +
+
+
diff --git a/application/views/view_log/qso.php b/application/views/view_log/qso.php index cb59ebfd..d34e39ef 100644 --- a/application/views/view_log/qso.php +++ b/application/views/view_log/qso.php @@ -79,6 +79,13 @@ + COL_DARC_DOK != null) { ?> + + DOK + COL_DARC_DOK; ?> + + + COL_COMMENT != null) { ?> Comment