change the report/map routes into v2
This commit is contained in:
@@ -73,7 +73,7 @@ class Province implements FromView, ShouldAutoSize, WithEvents, WithDrawings
|
||||
|
||||
$query .= " AND activity_date_time BETWEEN '{$fromDate}' AND '{$toDate}' GROUP BY province_id ORDER BY province_id ASC;";
|
||||
|
||||
$data = DB::select(DB::raw($query));
|
||||
$data = DB::select($query);
|
||||
|
||||
|
||||
$countryQuery = "SELECT
|
||||
@@ -121,7 +121,7 @@ class Province implements FromView, ShouldAutoSize, WithEvents, WithDrawings
|
||||
|
||||
$countryQuery .= " AND activity_date_time BETWEEN '{$fromDate}' AND '{$toDate}';";
|
||||
|
||||
$country = DB::select(DB::raw($countryQuery));
|
||||
$country = DB::select($countryQuery);
|
||||
|
||||
|
||||
return view('excel.CurrentActivities.Report2-Province', [
|
||||
|
||||
Reference in New Issue
Block a user