Minor changes to output

pull/2335/head^2
phl0 2023-07-28 12:19:01 +02:00
rodzic d0c55fe628
commit 00c98609fd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -212,7 +212,7 @@ class Labels extends CI_Controller {
$time = strtotime($qso['time']); $time = strtotime($qso['time']);
$myFormatForView = date("Y-m-d H:i", $time); $myFormatForView = date("Y-m-d H:i", $time);
$rowData = [ $rowData = [
'Date/UTC' => $myFormatForView, 'Date/Time (UTC)' => $myFormatForView,
'Band' => $row['band'], 'Band' => $row['band'],
'Mode' => $row['mode'], 'Mode' => $row['mode'],
'RST' => $row['rst'], 'RST' => $row['rst'],
@ -242,7 +242,7 @@ class Labels extends CI_Controller {
$text .= "\n"; $text .= "\n";
$text .= $builder->renderTable(); $text .= $builder->renderTable();
if($qso['sat'] != "") { if($qso['sat'] != "") {
$text .= "\n".'Satellite: '.$qso['sat'].' Mode: '.strtoupper($qso['sat_mode']); $text .= "\n".'Satellite: '.$qso['sat'].' Mode: '.strtoupper($qso['sat_mode'][0]).'/'.strtoupper($qso['sat_mode'][1]);
} }
$text .= "\nThanks for the QSO".($numofqsos>1 ? 's' : ''); $text .= "\nThanks for the QSO".($numofqsos>1 ? 's' : '');
$text .= " | ".($qso['qsl_recvd'] == 'Y' ? 'TNX' : 'PSE')." QSL"; $text .= " | ".($qso['qsl_recvd'] == 'Y' ? 'TNX' : 'PSE')." QSL";