From 8f943f21fc1ab3d19ddb6e5ee6851ba17558dac5 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 6 Sep 2020 20:52:35 +0100 Subject: [PATCH] [LoTW] Canadian Provinces added to TQ8 Export --- 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 ab77dc50..95f75fa6 100644 --- a/application/views/lotw_views/adif_views/adif_export.php +++ b/application/views/lotw_views/adif_views/adif_export.php @@ -27,6 +27,8 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1); station_iota)) { ?>station_iota); ?>>station_iota; ?> +state != "" && $station_profile->station_country == "CANADA") { ?>state); ?>>state; ?> + state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>state); ?>>state; ?> station_cnty != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>station_cnty); ?>>station_cnty; ?> @@ -64,6 +66,10 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1); $sign_string = ""; +if($station_profile->state != "" && $station_profile->station_country == "CANADA") { + $sign_string .= strtoupper($station_profile->state); +} + // Add CQ Zone if($station_profile->station_cq) { $sign_string .= $station_profile->station_cq;