Added disabled grid batch lookup from callbook

This commit is contained in:
Andreas Kristiansen
2025-12-17 16:31:32 +01:00
parent 6d07a4f048
commit 18e269ac9c
6 changed files with 119 additions and 15 deletions

View File

@@ -876,6 +876,8 @@ class Logbookadvanced extends CI_Controller {
}
public function updateDistances() {
if(!clubaccess_check(9)) return;
$this->load->model('logbookadvanced_model');
$result = $this->logbookadvanced_model->update_distances_batch();
@@ -968,6 +970,8 @@ class Logbookadvanced extends CI_Controller {
}
public function batchFix() {
if(!clubaccess_check(9)) return;
$type = $this->input->post('type', true);
$this->load->model('logbookadvanced_model');
$result = $this->logbookadvanced_model->batchFix($type);