This commit is contained in:
2025-06-13 14:05:08 +08:00
parent 8019aad07d
commit 269e2bc277
+1
View File
@@ -339,6 +339,7 @@ class VehicleController
$pending = LogisticsShip::where(['status' => 1])->get();
foreach ($pending as &$val) {
$val['count'] = Vehicle::where(['ship_id' => $val->id])->count();
$val['eta'] = date('Y-m-d',$val['eta_utc']);
}
$result = ['navigate' => $navigate,'pending' => $pending];