debug the blade file

This commit is contained in:
2025-02-24 11:00:59 +03:30
parent baab9196d7
commit 918a91d52a
3 changed files with 37 additions and 34 deletions

View File

@@ -45,7 +45,7 @@ class AccidentReceiptController extends Controller
auth()->user()->addActivityComplete(1126);
$name = 'گزارش از خسارات وارده به ابنیه فنی و تاسیسات راه ' . verta()->now()->format('Y-m-d H-i') . '.xlsx';
$data = $accidentReceiptTableService->dataTable($request, true);
return Excel::download(new DataTableReport($data), $name);
return Excel::download(new DataTableReport($data['data']), $name);
}
public function accidentDamage(Accident $accident): JsonResponse