当前提交
60d0ba1bad
共有 2 个文件被更改,包括 7 次插入 和 2 次删除
|
|
@ -149,7 +149,7 @@ class eqsl extends CI_Controller {
|
||||||
$active_station_id = $this->stations->find_active();
|
$active_station_id = $this->stations->find_active();
|
||||||
$station_profile = $this->stations->profile($active_station_id);
|
$station_profile = $this->stations->profile($active_station_id);
|
||||||
$active_station_info = $station_profile->row();
|
$active_station_info = $station_profile->row();
|
||||||
// Query the logbook to determine when the last LoTW confirmation was
|
// Query the logbook to determine when the last eQSL confirmation was
|
||||||
$eqsl_last_qsl_date = $this->logbook_model->eqsl_last_qsl_rcvd_date();
|
$eqsl_last_qsl_date = $this->logbook_model->eqsl_last_qsl_rcvd_date();
|
||||||
|
|
||||||
// Build parameters for eQSL inbox file
|
// Build parameters for eQSL inbox file
|
||||||
|
|
@ -307,6 +307,11 @@ class eqsl extends CI_Controller {
|
||||||
// Build out the ADIF info string according to specs http://eqsl.cc/qslcard/ADIFContentSpecs.cfm
|
// Build out the ADIF info string according to specs http://eqsl.cc/qslcard/ADIFContentSpecs.cfm
|
||||||
foreach ($qslsnotsent->result_array() as $qsl)
|
foreach ($qslsnotsent->result_array() as $qsl)
|
||||||
{
|
{
|
||||||
|
// eQSL username changes for linked account.
|
||||||
|
// i.e. when operating /P it must be callsign/p
|
||||||
|
// the password, however, is always the same as the main account
|
||||||
|
$data['user_eqsl_name'] = $qsl['station_callsign'];
|
||||||
|
|
||||||
$COL_QSO_DATE = date('Ymd',strtotime($qsl['COL_TIME_ON']));
|
$COL_QSO_DATE = date('Ymd',strtotime($qsl['COL_TIME_ON']));
|
||||||
$COL_TIME_ON = date('Hi',strtotime($qsl['COL_TIME_ON']));
|
$COL_TIME_ON = date('Hi',strtotime($qsl['COL_TIME_ON']));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2154,7 +2154,7 @@ class Logbook_model extends CI_Model {
|
||||||
function eqsl_not_yet_sent() {
|
function eqsl_not_yet_sent() {
|
||||||
$this->db->select('station_profile.*, '.$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_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$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->db->select('station_profile.*, '.$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_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$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->db->from('station_profile');
|
$this->db->from('station_profile');
|
||||||
$this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','left');
|
$this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','right');
|
||||||
$this->db->where($this->config->item('table_name').'.COL_CALL !=', '');
|
$this->db->where($this->config->item('table_name').'.COL_CALL !=', '');
|
||||||
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y');
|
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y');
|
||||||
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I');
|
$this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I');
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用