From a83a6fd3d09cbd15c5c2c73af38f09f1f5097adf Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 26 Aug 2020 23:02:00 +0100 Subject: [PATCH] Added TQ8 signing of Station State --- application/views/lotw_views/adif_views/adif_export.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/views/lotw_views/adif_views/adif_export.php b/application/views/lotw_views/adif_views/adif_export.php index e38ef9a5..4569d5c1 100644 --- a/application/views/lotw_views/adif_views/adif_export.php +++ b/application/views/lotw_views/adif_views/adif_export.php @@ -26,6 +26,8 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1); station_iota)) { ?>station_iota); ?>>station_iota; ?> +state) && $station_profile->station_country = "UNITED STATES OF AMERICA") { ?>state); ?>>state; ?> + result() as $qso) { ?> @@ -76,6 +78,10 @@ if($station_profile->station_itu) { $sign_string .= $station_profile->station_itu; } +if(isset($station_profile->state) && $station_profile->station_country = "UNITED STATES OF AMERICA") { + $sign_string .= strtoupper($station_profile->state); +} + if($qso->COL_BAND) { $sign_string .= strtoupper($qso->COL_BAND); }