From 44a9e348e785ec7f14981f550fdbe8e008c22e3d Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Sat, 12 Oct 2019 21:23:58 +0200 Subject: [PATCH] Added Paper-QSL-Info on Previous-Contacts-Search-Result-List in QSO-Logging After entering a Callsign and confirming with TAB previous contacts would be shown now with additional column "QSL" showing Paper-QSL-state of this QSOs --- application/controllers/Logbook.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index e0d733e9..f93b0bbd 100755 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -314,6 +314,7 @@ class Logbook extends CI_Controller { $html .= "RST (R)"; $html .= "Band"; $html .= "Mode"; + $html .= "QSL"; $html .= ""; $html .= ""; foreach ($query->result() as $row) @@ -329,6 +330,32 @@ class Logbook extends CI_Controller { $html .= "".$row->COL_BAND.""; } $html .= "".$row->COL_MODE.""; + $html .= ""; + $html .= "COL_QSL_SENT) { + case "Y": + $html .= "green"; + break; + case "R": + $html .= "yellow"; + break; + default: + $html .= "red"; + } + $html .= "\">▲"; + $html .= "COL_QSL_RCVD) { + case "Y": + $html .= "green"; + break; + case "R": + $html .= "yellow"; + break; + default: + $html .= "red"; + } + $html .= "\">▼"; + $html .= ""; $html .= "".$row->station_callsign.""; $html .= ""; }