Heera/Modules/Estimate/routes/web.php

22 lines
775 B
PHP
Raw Normal View History

2024-05-16 03:46:08 +00:00
<?php
use Illuminate\Support\Facades\Route;
use Modules\Estimate\Http\Controllers\EstimateController;
use Modules\Estimate\Http\Controllers\EstimateDetailController;
/*
|--------------------------------------------------------------------------
| 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::post('change-status', [EstimateController::class,'changeStatus'])->name('estimate.changeStatus');
Route::resource('estimate', EstimateController::class)->names('estimate');
});