debug the reports

This commit is contained in:
2025-02-23 15:30:24 +03:30
parent d0907268c0
commit 05775d72e1
3 changed files with 16 additions and 2 deletions

View File

@@ -336,4 +336,9 @@ class AccidentReceiptController extends Controller
return $this->successResponse();
}
public function accidentTypes(): JsonResponse
{
return $this->successResponse(DailyAccidentSettings::query()->where('type', 'accident_type')->get());
}
}