mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Show EQSL receive date also in card download
This commit is contained in:
@@ -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, 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_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');
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
<th><?= __("Submode"); ?></th>
|
||||
<th><?= __("Band"); ?></th>
|
||||
<th><?= __("Propagation Mode"); ?></th>
|
||||
<th><?= __("eQSL Receive Date"); ?></th>
|
||||
<th><?= __("Action"); ?></th>
|
||||
</tr></thead><tbody>
|
||||
<?php
|
||||
@@ -57,6 +58,7 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
|
||||
}
|
||||
echo "<td>".$qsl['COL_BAND']."</td>";
|
||||
echo "<td>".$qsl['COL_PROP_MODE']."</td>";
|
||||
echo "<td>".date($custom_date_format, strtotime($qsl['COL_EQSL_QSLRDATE'])) ?? '' ."</td>";
|
||||
echo "<td><a href=\"".site_url()."/eqsl/image/".$qsl['COL_PRIMARY_KEY']."\" data-fancybox=\"images\" data-width=\"528\" data-height=\"336\" class=\"btn btn-primary btn-sm\">" . __("View/Download") . "</a></td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
|
||||
Reference in New Issue
Block a user