24 lines
836 B
PHP
Raw Permalink Normal View History

2024-04-15 10:15:16 +05:45
<?php
use Illuminate\Support\Facades\Route;
2024-04-16 10:54:23 +05:45
use Modules\Taxation\Http\Controllers\InvoiceController;
2024-04-15 10:15:16 +05:45
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!
|
2024-04-16 10:54:23 +05:45
*/
2024-04-15 10:15:16 +05:45
Route::group([], function () {
Route::resource('taxation', TaxationController::class)->names('taxation');
2024-04-16 10:54:23 +05:45
Route::resource('invoice', InvoiceController::class)->names('invoice');
Route::get('clone-product', [InvoiceController::class, 'cloneProduct'])->name('cloneProduct');
2024-04-15 10:15:16 +05:45
});