fuel info

This commit is contained in:
Pringgosutono
2025-12-04 08:35:57 +07:00
parent 7180b14f76
commit b0f51efb0e
2 changed files with 12 additions and 203 deletions

View File

@ -74,7 +74,7 @@ class VehiclesController extends Controller
$list = DB::select("SELECT
v.id, v.name, v.device_id, nopol1, nopol2, nopol3, v.sum_milleage,
fvhc_img, vyear, t.`desc` type_name, c_name company_name, rltm.crt_d, rltm.crt crt_rltm,
dvc.crt, dvc.simcard
dvc.crt, dvc.simcard, fuel_curr
FROM t_vehicles as v
INNER JOIN t_vehicles_detail AS vd ON v.id = vd.vid
LEFT JOIN t_vehicles_types AS t ON v.type_id = t.id