Base code for getting select options for station locations

pull/1152/head
Peter Goodhall 2021-08-23 21:56:18 +01:00
rodzic 831f249938
commit efac6b8d80
1 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -79,7 +79,17 @@ class Logbooks extends CI_Controller {
$data['notice'] = "Station Logbooks ".$this->security->xss_clean($this->input->post('station_logbook_name', true))." Updated";
redirect('logbooks');
foreach ($this->input->post('SelectedStationLocations') as $selectedOption){
echo $selectedOption."\n";
// Check if theres already a link between logbook and location
// If no link exisits create
// Delete link if removed
}
//redirect('logbooks');
}
}