Merge pull request #2958 from phl0/copyxOTArefs

Copy xOTA refs upon QSO edit
pull/2964/head
Peter Goodhall 2024-02-06 11:21:54 +00:00 zatwierdzone przez GitHub
commit 604910b850
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -1059,6 +1059,10 @@ class Logbook_model extends CI_Model
$station_profile = $CI->stations->profile_clean($stationId);
$stationCallsign = $station_profile->station_callsign;
$iotaRef = $station_profile->station_iota;
$sotaRef = $station_profile->station_sota;
$wwffRef = $station_profile->station_wwff;
$potaRef = $station_profile->station_pota;
$mode = $this->get_main_mode_if_submode($this->input->post('mode'));
if ($mode == null) {
@ -1233,6 +1237,10 @@ class Logbook_model extends CI_Model
'COL_QSL_VIA' => $this->input->post('qsl_via_callsign'),
'station_id' => $stationId,
'COL_STATION_CALLSIGN' => $stationCallsign,
'COL_MY_IOTA' => $iotaRef,
'COL_MY_SOTA_REF' => $sotaRef,
'COL_MY_WWFF_REF' => $wwffRef,
'COL_MY_POTA_REF' => $potaRef,
'COL_OPERATOR' => $this->input->post('operator_callsign'),
'COL_STATE' => $this->input->post('usa_state'),
'COL_CNTY' => $uscounty