StocksNew/Modules/Office/routes/web.php

30 lines
1.3 KiB
PHP
Raw Normal View History

2024-08-27 12:03:06 +00:00
<?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');
});