feat: add fcp map

fix: fixed lazy fcp search
fix: try to fix preorder filter
This commit is contained in:
Luca Haid
2025-04-08 11:46:10 +02:00
parent 3d3e082fb5
commit 26b92c411c
7 changed files with 323 additions and 6 deletions
+1 -1
View File
@@ -1095,7 +1095,7 @@ class PreorderController extends mfBaseController {
return array_map(
fn($fcp) => ["id" => $fcp->name ?? null, "text" => $fcp->name ?? null, 'lat' => $fcp->gps_lat ?? null, 'lng' => $fcp->gps_long ?? null],
ADBRimoFcp::getAll(["netzgebiet_id" => $campaign->network->adb_netzgebiet_id]) ?? []
ADBRimoFcp::getAll(["netzgebiet_id" => intval($campaign->network->adb_netzgebiet_id)]) ?? []
);
}