If LOTW import entry isn't found within the database but its within the ADIF from LOTW QSO record is created.

pull/284/head
Peter Goodhall 2019-05-22 15:10:57 +01:00
rodzic 63532296fc
commit c397716cf2
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -60,7 +60,14 @@ class Lotw extends CI_Controller {
}
$status = $this->logbook_model->import_check($time_on, $record['call'], $record['band']);
$lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd']);
if($status == "No Match") {
// Create the Entry
$this->logbook_model->import($record);
} else {
$lotw_status = $this->logbook_model->lotw_update($time_on, $record['call'], $record['band'], $qsl_date, $record['qsl_rcvd']);
}
$table .= "<tr>";
$table .= "<td>".$time_on."</td>";