From 54c31a6b3f943a9fef7d92b09b3f0451b2d3e4ba Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Mon, 26 Dec 2022 16:29:28 +0100 Subject: [PATCH] [QSLPrint] Added the display of qsl sent via --- application/views/qslprint/index.php | 65 +++---------------------- application/views/qslprint/qslprint.php | 45 +++++++++++------ 2 files changed, 37 insertions(+), 73 deletions(-) diff --git a/application/views/qslprint/index.php b/application/views/qslprint/index.php index b8250c57..2d9c4401 100644 --- a/application/views/qslprint/index.php +++ b/application/views/qslprint/index.php @@ -29,63 +29,12 @@
Here you can export requested QSLs as CSV or ADIF files for printing and, optionally, mark them as sent via bureau.
Requested QSLs are any QSOs with a value of "Requested" or "Queued" in their "QSL Sent" field.
- '; - if ($qsos->result() != NULL) { - echo '| '.$this->lang->line('gen_hamradio_callsign').' | -' . $this->lang->line('general_word_date') . ' | -'. $this->lang->line('general_word_time') .' | -' . $this->lang->line('gen_hamradio_mode') . ' | -' . $this->lang->line('gen_hamradio_band') . ' | -' . $this->lang->line('gen_hamradio_qsl') . ' ' . $this->lang->line('general_word_qslcard_via') . ' | -' . $this->lang->line('gen_hamradio_station') . ' | -- | - |
|---|---|---|---|---|---|---|---|---|
| ' . $qsl->COL_CALL . ' | '; - echo ''; $timestamp = strtotime($qsl->COL_TIME_ON); echo date($custom_date_format, $timestamp); echo ' | '; - echo ''; $timestamp = strtotime($qsl->COL_TIME_ON); echo date('H:i', $timestamp); echo ' | '; - echo ''; echo $qsl->COL_SUBMODE==null?$qsl->COL_MODE:$qsl->COL_SUBMODE; echo ' | '; - echo ''; if($qsl->COL_SAT_NAME != null) { echo $qsl->COL_SAT_NAME; } else { echo strtolower($qsl->COL_BAND); }; echo ' | '; - echo '' . $qsl->COL_QSL_VIA . ' | '; - echo '' . $qsl->station_callsign . ' | '; - echo ''; - echo ' | '; - echo ' |
Export requested QSLs to CSV-file
- -Export requested QSLs to ADIF-file
- - - - ×No QSL\'s to print were found!'; - } - ?> - +| '.$this->lang->line('gen_hamradio_callsign').' | -' . $this->lang->line('general_word_date') . ' | -'. $this->lang->line('general_word_time') .' | -' . $this->lang->line('gen_hamradio_mode') . ' | -' . $this->lang->line('gen_hamradio_band') . ' | -' . $this->lang->line('gen_hamradio_qsl') . ' ' . $this->lang->line('general_word_qslcard_via') . ' | -' . $this->lang->line('gen_hamradio_station') . ' | -- | - | |
|---|---|---|---|---|---|---|---|---|---|
| '.$this->lang->line('gen_hamradio_callsign').' | +' . $this->lang->line('general_word_date') . ' | +'. $this->lang->line('general_word_time') .' | +' . $this->lang->line('gen_hamradio_mode') . ' | +' . $this->lang->line('gen_hamradio_band') . ' | +' . $this->lang->line('gen_hamradio_qsl') . ' ' . $this->lang->line('general_word_qslcard_via') . ' | +' . $this->lang->line('gen_hamradio_station') . ' | +Sent method | +Delete | +QSO List | +'; if($qsl->COL_SAT_NAME != null) { echo $qsl->COL_SAT_NAME; } else { echo strtolower($qsl->COL_BAND); }; echo ' | '; echo '' . $qsl->COL_QSL_VIA . ' | '; echo '' . $qsl->station_callsign . ' | '; - echo ''; - echo ' | '; + echo ' | '; echo_qsl_sent_via($qsl->COL_QSL_SENT_VIA); echo ' | '; + echo ''; + echo ' | '; echo ''; } |