StocksNew/Modules/Office/routes/web.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

30 lines
1.3 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
use Modules\Office\Http\Controllers\ContractController;
use Modules\Office\Http\Controllers\DepositController;
use Modules\Office\Http\Controllers\GeneratorController;
use Modules\Office\Http\Controllers\GeneratorLogBookController;
use Modules\Office\Http\Controllers\OfficeController;
use Modules\Office\Http\Controllers\PurchaseServiceController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::group([], function () {
Route::resource('office', OfficeController::class)->names('office');
Route::resource('generator', GeneratorController::class)->names('generator');
Route::resource('contract', ContractController::class)->names('contract');
Route::resource('deposit', DepositController::class)->names('deposit');
Route::resource('generator-log-book', GeneratorLogBookController::class)->names('generatorLogBook');
Route::resource('purchase-service', PurchaseServiceController::class)->names('purchaseService');
});