From e482a700f4977027ca01304742b92df91bf4f96c Mon Sep 17 00:00:00 2001 From: Witel Group Date: Sun, 14 Jul 2024 10:50:34 +0000 Subject: [PATCH] new routes for v3 --- app/Models/Harim/Divarkeshi.php | 13 +++++++++++++ routes/v3.php | 23 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app/Models/Harim/Divarkeshi.php create mode 100644 routes/v3.php diff --git a/app/Models/Harim/Divarkeshi.php b/app/Models/Harim/Divarkeshi.php new file mode 100644 index 00000000..1e2cf425 --- /dev/null +++ b/app/Models/Harim/Divarkeshi.php @@ -0,0 +1,13 @@ +name('harim')->group(function () { + Route::prefix('divarkeshi')->name('divarkeshi')->controller(DivarkeshiController::class)->group(function () { + Route::get('/', 'index')->name('index'); + Route::get('/{divarkeshi}', 'details')->name('details'); + Route::post('/store', 'store')->name('store'); + // Route::get('/report/map', 'V3\Dashboard\ContractController@getAllDataToMap')->name('V3.contract.report.map'); + // Route::get('/{contract}', 'V3\Dashboard\ContractController@detail')->name('V3.contract.detail'); + }); + Route::prefix('rah_dastresi')->name('rah_dastresi')->group(function () { + // Route::get('/store', 'V3\Dashboard\ContractController@unserialize')->name('store'); + // Route::get('/report/map', 'V3\Dashboard\ContractController@getAllDataToMap')->name('V3.contract.report.map'); + // Route::get('/{contract}', 'V3\Dashboard\ContractController@detail')->name('V3.contract.detail'); + }); + Route::prefix('tasisat_zirbana')->group(function () { + // Route::get('/{contract}/unserialize', 'V3\Dashboard\ContractController@unserialize')->name('V3.contract.unserialize'); + // Route::get('/report/map', 'V3\Dashboard\ContractController@getAllDataToMap')->name('V3.contract.report.map'); + // Route::get('/{contract}', 'V3\Dashboard\ContractController@detail')->name('V3.contract.detail'); + }); +});