Merge pull request #3 from phl0/updateLables

Minor changes to output
This commit is contained in:
Joerg 2023-07-28 12:20:57 +02:00 committed by GitHub
commit 052902d4c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ class Labels extends CI_Controller {
$time = strtotime($qso['time']);
$myFormatForView = date("Y-m-d H:i", $time);
$rowData = [
'Date/UTC' => $myFormatForView,
'Date/Time (UTC)' => $myFormatForView,
'Band' => $row['band'],
'Mode' => $row['mode'],
'RST' => $row['rst'],
@ -242,7 +242,7 @@ class Labels extends CI_Controller {
$text .= "\n";
$text .= $builder->renderTable();
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 .= " | ".($qso['qsl_recvd'] == 'Y' ? 'TNX' : 'PSE')." QSL";