change nominatim original function
This commit is contained in:
@@ -39,6 +39,8 @@ class ReportComplaintsExport implements FromView, ShouldAutoSize, WithEvents, Wi
|
||||
$fromDate = $this->fromDate ? $this->fromDate . ' 00:00:00': null;
|
||||
$toDate = $this->toDate ? $this->toDate . ' 23:59:59': null;
|
||||
|
||||
$data = [];
|
||||
|
||||
if (auth()->user()->hasPermissionTo('show-fast-react')) {
|
||||
$data = RoadObserved::leftjoin('edarate_shahri', 'road_observeds.edarate_shahri_id', 'edarate_shahri.id')
|
||||
->where('rms_status', "<>", 0)
|
||||
@@ -101,6 +103,7 @@ class ReportComplaintsExport implements FromView, ShouldAutoSize, WithEvents, Wi
|
||||
|
||||
|
||||
}
|
||||
|
||||
return view('excel.V2.RoadObservation.report_complaints', [
|
||||
'data' => $data,
|
||||
'fromDate' => $fromDate,
|
||||
|
||||
Reference in New Issue
Block a user