Added an IOTA-dropdown in edit/create station profile. We have the table with IOTA, so I added a dropdown to make it a bit more user-friendly.

This commit is contained in:
Andreas
2020-10-06 23:47:39 +02:00
parent 44eee371d6
commit d38aa6eb51
3 changed files with 38 additions and 10 deletions

View File

@@ -37,6 +37,9 @@ class Station extends CI_Controller {
$this->load->model('dxcc');
$data['dxcc_list'] = $this->dxcc->list();
$this->load->model('logbook_model');
$data['iota_list'] = $this->logbook_model->fetchIota();
$this->load->library('form_validation');
$this->form_validation->set_rules('station_profile_name', 'Station Profile Name', 'required');
@@ -62,6 +65,9 @@ class Station extends CI_Controller {
$this->load->model('stations');
$this->load->model('dxcc');
$this->load->model('logbook_model');
$data['iota_list'] = $this->logbook_model->fetchIota();
$item_id_clean = $this->security->xss_clean($id);