mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Implemented batch state fixer
This commit is contained in:
@@ -905,4 +905,19 @@ class Logbookadvanced extends CI_Controller {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function fixStateBatch() {
|
||||
if(!clubaccess_check(9)) return;
|
||||
|
||||
$this->load->model('logbook_model');
|
||||
$this->load->model('logbookadvanced_model');
|
||||
|
||||
$dxcc = $this->input->post('dxcc', true);
|
||||
|
||||
// Process for batch QSO state fix
|
||||
$result = $this->logbookadvanced_model->fixStateBatch($dxcc);
|
||||
|
||||
header("Content-Type: application/json");
|
||||
echo json_encode($result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user