73 lines
3.5 KiB
PHP
73 lines
3.5 KiB
PHP
<?php
|
|
|
|
use App\Http\Controllers\V3\Azmayesh\AzmayeshController;
|
|
use App\Http\Controllers\V3\Azmayesh\AzmayeshSampleController;
|
|
use App\Http\Controllers\V3\Azmayesh\AzmayeshTypeController;
|
|
use App\Http\Controllers\V3\Harim\DivarkeshiController;
|
|
use App\Http\Controllers\V3\ProfileController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::prefix('harim')->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');
|
|
});
|
|
});
|
|
|
|
Route::prefix('profile')
|
|
->name('profile.')
|
|
->controller(ProfileController::class)
|
|
->group(function () {
|
|
Route::get('info', 'info')->name('info');
|
|
Route::post('edit', 'edit')->name('edit');
|
|
Route::post('change_password', 'changePassword')->name('changePassword');
|
|
});
|
|
|
|
Route::prefix('azmayesh_types')
|
|
->name('azmayesh_types.')
|
|
->controller(AzmayeshTypeController::class)
|
|
->group(function () {
|
|
Route::get('/', 'index')->name('index');
|
|
Route::get('/list', 'list')->name('list');
|
|
Route::get('/fields/{azmayeshType}', 'fields')->name('fields');
|
|
Route::get('/{azmayeshType}', 'show')->name('show');
|
|
Route::post('/store', 'store')->name('store');
|
|
Route::post('/update/{azmayeshType}', 'update')->name('update');
|
|
Route::post('/delete/{azmayeshType}', 'destroy')->name('delete');
|
|
});
|
|
|
|
Route::prefix('azmayesh_samples')
|
|
->name('azmayesh_samples.')
|
|
->controller(AzmayeshSampleController::class)
|
|
->group(function () {
|
|
Route::get('/index/{azmayesh_id}', 'index')->name('index');
|
|
Route::get('/{azmayeshSample}', 'show')->name('show');
|
|
Route::post('/store', 'store')->name('store');
|
|
Route::post('/update/{azmayeshSample}', 'update')->name('update');
|
|
Route::post('/delete/{azmayeshSample}', 'destroy')->name('delete');
|
|
});
|
|
|
|
Route::prefix('azmayeshes')
|
|
->name('azmayeshes.')
|
|
->controller(AzmayeshController::class)
|
|
->group(function () {
|
|
Route::get('/', 'index')->name('index');
|
|
Route::get('/{azmayesh}', 'show')->name('show');
|
|
Route::post('/store', 'store')->name('store');
|
|
Route::post('/update/{azmayesh}', 'update')->name('update');
|
|
Route::post('/delete/{azmayesh}', 'destroy')->name('delete');
|
|
});
|