kopia lustrzana https://github.com/magicbug/Cloudlog
When adding a QSO, set some fields which are not used to null
rodzic
4ca319a531
commit
ed770e17cb
|
@ -36,29 +36,43 @@ class Logbook_model extends CI_Model {
|
|||
'COL_MODE' => $this->input->post('mode'),
|
||||
'COL_RST_RCVD' => $this->input->post('rst_recv'),
|
||||
'COL_RST_SENT' => $this->input->post('rst_sent'),
|
||||
'COL_NAME' => $this->input->post('name'),
|
||||
'COL_NAME' => $this->input->post('name'),
|
||||
'COL_COMMENT' => $this->input->post('comment'),
|
||||
'COL_SAT_NAME' => $this->input->post('sat_name'),
|
||||
'COL_SAT_MODE' => $this->input->post('sat_mode'),
|
||||
'COL_GRIDSQUARE' => $this->input->post('locator'),
|
||||
'COL_COUNTRY' => $this->input->post('country'),
|
||||
'COL_MY_RIG' => $this->input->post('equipment'),
|
||||
'COL_QSLSDATE' => date('Y-m-d'),
|
||||
'COL_QSLRDATE' => date('Y-m-d'),
|
||||
'COL_QSL_SENT' => $this->input->post('qsl_sent'),
|
||||
'COL_QSL_RCVD' => $this->input->post('qsl_recv'),
|
||||
'COL_QSL_SENT_VIA' => $this->input->post('qsl_sent_method'),
|
||||
'COL_QSL_RCVD_VIA' => $this->input->post('qsl_recv_method'),
|
||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||
'COL_QTH' => $this->input->post('qth'),
|
||||
'COL_PROP_MODE' => $prop_mode,
|
||||
'COL_IOTA' => $this->input->post('iota_ref'),
|
||||
'COL_MY_GRIDSQUARE' => $locator,
|
||||
'COL_DISTANCE' => "0",
|
||||
'COL_FREQ_RX' => 0,
|
||||
'COL_BAND_RX' => 0,
|
||||
'COL_ANT_AZ' => '0',
|
||||
'COL_ANT_EL' => '0',
|
||||
'COL_QSLSDATE' => date('Y-m-d'),
|
||||
'COL_QSLRDATE' => date('Y-m-d'),
|
||||
'COL_QSL_SENT' => $this->input->post('qsl_sent'),
|
||||
'COL_QSL_RCVD' => $this->input->post('qsl_recv'),
|
||||
'COL_QSL_SENT_VIA' => $this->input->post('qsl_sent_method'),
|
||||
'COL_QSL_RCVD_VIA' => $this->input->post('qsl_recv_method'),
|
||||
'COL_OPERATOR' => $this->session->userdata('user_callsign'),
|
||||
'COL_QTH' => $this->input->post('qth'),
|
||||
'COL_PROP_MODE' => $prop_mode,
|
||||
'COL_IOTA' => $this->input->post('iota_ref'),
|
||||
'COL_MY_GRIDSQUARE' => $locator,
|
||||
'COL_DISTANCE' => "0",
|
||||
'COL_FREQ_RX' => 0,
|
||||
'COL_BAND_RX' => null,
|
||||
'COL_ANT_AZ' => null,
|
||||
'COL_ANT_EL' => null,
|
||||
'COL_A_INDEX' => null,
|
||||
'COL_AGE' => null,
|
||||
'COL_TEN_TEN' => null,
|
||||
'COL_TX_PWR' => null,
|
||||
'COL_STX' => null,
|
||||
'COL_SRX' => null,
|
||||
'COL_NR_BURSTS' => null,
|
||||
'COL_NR_PINGS' => null,
|
||||
'COL_MAX_BURSTS' => null,
|
||||
'COL_K_INDEX' => null,
|
||||
'COL_SFI' => null,
|
||||
'COL_RX_PWR' => null,
|
||||
'COL_LAT' => null,
|
||||
'COL_LON' => null,
|
||||
);
|
||||
|
||||
$this->add_qso($data);
|
||||
|
|
Ładowanie…
Reference in New Issue