Add QSL msg to card download function

This commit is contained in:
phl0
2025-01-16 12:16:13 +01:00
parent 19887977a1
commit f86196a7d9
2 changed files with 7 additions and 1 deletions

View File

@@ -427,7 +427,7 @@ class Eqslmethods_model extends CI_Model {
array_push($logbooks_locations_array, -9999);
}
$this->db->select('station_profile.station_id, ' . $this->config->item('table_name') . '.COL_PRIMARY_KEY, ' . $this->config->item('table_name') . '.COL_TIME_ON, ' . $this->config->item('table_name') . '.COL_CALL, ' . $this->config->item('table_name') . '.COL_MODE, ' . $this->config->item('table_name') . '.COL_SUBMODE, ' . $this->config->item('table_name') . '.COL_BAND, ' . $this->config->item('table_name') . '.COL_PROP_MODE, ' . $this->config->item('table_name') . '.COL_SAT_NAME, ' . $this->config->item('table_name') . '.COL_SAT_MODE, ' . $this->config->item('table_name') . '.COL_QSLMSG, ' . $this->config->item('table_name') . '.COL_EQSL_QSLRDATE, eQSL_images.qso_id');
$this->db->select('station_profile.station_id, ' . $this->config->item('table_name') . '.COL_PRIMARY_KEY, ' . $this->config->item('table_name') . '.COL_TIME_ON, ' . $this->config->item('table_name') . '.COL_CALL, ' . $this->config->item('table_name') . '.COL_MODE, ' . $this->config->item('table_name') . '.COL_SUBMODE, ' . $this->config->item('table_name') . '.COL_BAND, ' . $this->config->item('table_name') . '.COL_PROP_MODE, ' . $this->config->item('table_name') . '.COL_SAT_NAME, ' . $this->config->item('table_name') . '.COL_SAT_MODE, ' . $this->config->item('table_name') . '.COL_QSLMSG, ' . $this->config->item('table_name') . '.COL_QSLMSG_RCVD, ' . $this->config->item('table_name') . '.COL_EQSL_QSLRDATE, eQSL_images.qso_id');
$this->db->from('station_profile');
$this->db->join($this->config->item('table_name'), 'station_profile.station_id = ' . $this->config->item('table_name') . '.station_id');
$this->db->join('eQSL_images', 'eQSL_images.qso_id = ' . $this->config->item('table_name') . '.COL_PRIMARY_KEY', 'left outer');

View File

@@ -39,6 +39,7 @@
<th><?= __("Mode"); ?></th>
<th><?= __("Submode"); ?></th>
<th><?= __("Band"); ?></th>
<th><?= __("QSL Message"); ?></th>
<th><?= __("Propagation Mode"); ?></th>
<th><?= __("eQSL Receive Date"); ?></th>
<th><?= __("Action"); ?></th>
@@ -57,6 +58,11 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
echo "<td></td>";
}
echo "<td>".$qsl['COL_BAND']."</td>";
echo "<td>";
if (!empty($qsl['COL_QSLMSG_RCVD'])) {
echo $qsl['COL_QSLMSG_RCVD'];
}
echo "</td>";
echo "<td>".$qsl['COL_PROP_MODE']."</td>";
echo "<td>";
if (!empty($qsl['COL_EQSL_QSLRDATE'])) {