install horizon
This commit is contained in:
@@ -19,7 +19,6 @@ class ConstructionActivityController extends Controller
|
||||
use ApiResponse;
|
||||
public function countryActivity(Request $request, OperatorService $operatorService): JsonResponse
|
||||
{
|
||||
|
||||
$data = $operatorService->countryActivity(89);
|
||||
|
||||
return $this->successResponse([
|
||||
@@ -52,6 +51,4 @@ class ConstructionActivityController extends Controller
|
||||
$name = ' گزارش نگهداری حریم راه برای ساخت و ساز غیر مجاز' . verta()->now()->format('Y-m-d H-i') . '.xlsx';
|
||||
return Excel::download(new ConstructionReport($data, $request), $name);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\V3\Dashboard\SafetyAndPrivacy\OperatorReport;
|
||||
use App\Exports\V3\SafetyAndPrivacy\Country\UtilityPassingReport as ExcelReport;
|
||||
use App\Exports\V3\SafetyAndPrivacy\Province\UtilityPassingReport;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Traits\ApiResponse;
|
||||
use App\Models\EdarateShahri;
|
||||
use App\Models\Province;
|
||||
use App\Services\Cartables\SafetyAndPrivacy\OperatorService;
|
||||
@@ -15,9 +16,10 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
|
||||
class UtilityPassingActivityController extends Controller
|
||||
{
|
||||
use ApiResponse;
|
||||
|
||||
public function countryActivity(Request $request, OperatorService $operatorService): JsonResponse
|
||||
{
|
||||
|
||||
$data = $operatorService->countryActivity(91);
|
||||
|
||||
return $this->successResponse([
|
||||
@@ -50,5 +52,4 @@ class UtilityPassingActivityController extends Controller
|
||||
$name = 'گزارش نگهداری حریم راه برای عبور تاسیسات زیربنایی غیر مجاز ' . verta()->now()->format('Y-m-d H-i') . '.xlsx';
|
||||
return Excel::download(new UtilityPassingReport($data, $request), $name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user