Update: 2026-07-12 05:40:28

This commit is contained in:
Hamza-Ayed
2026-07-12 05:40:28 +03:00
parent 1fa517acc9
commit 24fb56f08f
75 changed files with 5051 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
// transit/vehicle/list.php
require_once __DIR__ . '/../../transit/connect_admin.php';
$st = $transit_con->prepare(
"SELECT id, plate, make, model, year, color, capacity, vehicle_type, is_active, notes, created_at
FROM transit_vehicles WHERE org_id=? ORDER BY plate ASC"
);
$st->execute([$transit_org_id]);
jsonSuccess(['vehicles' => $st->fetchAll()]);