StocksNew/Modules/Taxation/routes/web.php

24 lines
836 B
PHP
Raw Permalink Normal View History

2024-08-27 12:03:06 +00:00
<?php
use Illuminate\Support\Facades\Route;
use Modules\Taxation\Http\Controllers\InvoiceController;
use Modules\Taxation\Http\Controllers\TaxationController;
/*
|--------------------------------------------------------------------------
| 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('taxation', TaxationController::class)->names('taxation');
Route::resource('invoice', InvoiceController::class)->names('invoice');
Route::get('clone-product', [InvoiceController::class, 'cloneProduct'])->name('cloneProduct');
});