24 lines
836 B
PHP
24 lines
836 B
PHP
<?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');
|
|
|
|
});
|