create report system

This commit is contained in:
2025-01-07 10:04:56 +03:30
parent dc83feea90
commit 90914793ff
4 changed files with 283 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ use App\Http\Controllers\V3\Harim\DivarkeshiController;
use App\Http\Controllers\V3\ObservedItemController;
use App\Http\Controllers\V3\ProfileController;
use App\Http\Controllers\V3\RahdaranController;
use App\Http\Controllers\V3\Reports\RoadItemsReportController;
use App\Http\Controllers\V3\Reports\RoadPatrolReportController;
use App\Http\Controllers\V3\RoadItemsProjectController;
use App\Http\Controllers\V3\RoadPatrolProjectController;
use Illuminate\Support\Facades\Route;
@@ -187,3 +189,24 @@ Route::prefix('observed_items')
Route::get('/filter', 'filter')->name('filter');
Route::get('/{observedItem}', 'show')->name('show');
});
Route::prefix('road_item_reports')
->name('roadItemReports.')
->controller(RoadItemsReportController::class)
->group(function () {
Route::get('/get_sub_items', 'getSubItems')->name('getSubItems');
Route::get('/get_items', 'getItems')->name('getItems');
Route::get('/get_items_city', 'getItemsCity')->name('getItemsCity');
Route::get('/province_excel', 'provinceExcel')->name('provinceExcel');
Route::get('/city_excel', 'cityExcel')->name('cityExcel');
Route::get('/map', 'map')->name('map');
});
Route::prefix('road_patrol_reports')
->name('roadPatrolReports.')
->controller(RoadPatrolReportController::class)
->group(function () {
Route::get('/province_data', 'provincePatrolData')->name('provincePatrolData');
Route::get('/edareh_data', 'edarehPatrolData')->name('edarehPatrolData');
Route::get('/report_excel', 'roadPatrolsReportTable')->name('roadPatrolsReportTable');
});