diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index 540a846..2536d47 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -25,7 +25,7 @@ class ReportsController extends Controller $q = "SELECT id, nopol1 from t_vehicles WHERE dlt is null order by nopol1"; $vehicletype = DB::table('t_vehicles_cats')->where('is_active', 1)->get(); $listNopol = DB::select($q); - $listpool = DB::table('t_conf_pools')->where('is_active')->get(); + $listpool = DB::table('t_conf_pool')->where('dlt', null)->get(); $data = [ 'listNopol' => $listNopol,