From 29809b2836f6b803ee17908119492ab9ce2f63a3 Mon Sep 17 00:00:00 2001 From: Daniel Clerc Date: Mon, 16 Nov 2020 21:01:54 +0100 Subject: [PATCH 1/2] adds TX_PWR to qso edit dialog --- application/views/qso/edit.php | 10 +++++++++- application/views/qso/edit_ajax.php | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/application/views/qso/edit.php b/application/views/qso/edit.php index 5f881db7..fbed95a4 100755 --- a/application/views/qso/edit.php +++ b/application/views/qso/edit.php @@ -87,7 +87,15 @@ } ?> - + + +
+ + + Give power value in Watts. Include only numbers in the input. +
+ +
diff --git a/application/views/qso/edit_ajax.php b/application/views/qso/edit_ajax.php index e0b2add0..ee9c2cdd 100644 --- a/application/views/qso/edit_ajax.php +++ b/application/views/qso/edit_ajax.php @@ -165,6 +165,11 @@ ?>
+
+ + + Give power value in Watts. Include only numbers in the input. +
From 963f58f0ee792f3c9f46402077be95416f77331b Mon Sep 17 00:00:00 2001 From: Daniel Clerc Date: Tue, 17 Nov 2020 21:29:03 +0100 Subject: [PATCH 2/2] add tx_power to LogbookModel/edit function --- application/models/Logbook_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index b5bd539b..3e925bb0 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -601,6 +601,7 @@ class Logbook_model extends CI_Model { 'COL_LOTW_QSL_RCVD' => $this->input->post('lotw_recv'), 'COL_IOTA' => $this->input->post('iota_ref'), 'COL_SOTA_REF' => $this->input->post('sota_ref'), + 'COL_TX_PWR' => $this->input->post('transmit_power'), 'COL_DARC_DOK' => $this->input->post('darc_dok'), 'COL_QTH' => $this->input->post('qth'), 'COL_PROP_MODE' => $this->input->post('prop_mode'),