map reports
This commit is contained in:
@@ -89,4 +89,9 @@ class RoadPatrolReportController extends Controller
|
||||
|
||||
return $this->successResponse($data);
|
||||
}
|
||||
|
||||
public function showOnMap(RoadPatrol $road_patrol)
|
||||
{
|
||||
return $this->successResponse($road_patrol->load(['rahdaran:id,name,code', 'cmmsMachines:id,machine_code,car_name,plak_number']));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user