Implemented batch state fixer

This commit is contained in:
Andreas Kristiansen
2025-12-07 19:52:26 +01:00
parent 2ddf698af7
commit 0fad755ce6
6 changed files with 178 additions and 52 deletions

View File

@@ -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);
}
}