MY_CNTY and MY_STATE support for ADIF export RDA data

pull/3133/head
cats-shadow 2024-06-10 18:59:03 +03:00
rodzic f40b244f73
commit 2555f5ff90
1 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -218,8 +218,19 @@ class AdifHelper {
$county = trim($qso->station_cnty);
}
if ($qso->station_cnty && ( $qso->station_dxcc == '54' || $qso->station_dxcc == '15')) {
$county = trim($qso->station_cnty);
}
$line .= $this->getAdifFieldLine("MY_CNTY", $county);
if ($qso->state && ( $qso->station_dxcc == '54' || $qso->station_dxcc == '15')) {
$state = trim($qso->state);
$line .= $this->getAdifFieldLine("MY_STATE", $state);
}
$line .= $this->getAdifFieldLine("WWFF_REF", $qso->{'COL_WWFF_REF'});
$line .= $this->getAdifFieldLine("MY_WWFF_REF", $qso->station_wwff);
@ -259,7 +270,6 @@ class AdifHelper {
MY_NAME
MY_POSTAL_CODE
MY_RIG
MY_STATE
MY_STREET
MY_USACA_COUNTIES
*/