Add products module #46
This commit is contained in:
+7
-2
@@ -4,6 +4,7 @@
|
||||
use Inertia\Inertia;
|
||||
use App\Http\Controllers\InvoiceController;
|
||||
use App\Http\Controllers\CustomerController;
|
||||
use App\Http\Controllers\ProductController;
|
||||
|
||||
Route::middleware('auth')->group(function () {
|
||||
|
||||
@@ -46,11 +47,15 @@
|
||||
Route::get('invoice/{id}/pdf', [InvoiceController::class, 'exportPdf'])->name('invoiceExportPdf');
|
||||
Route::get('invoice/{id}/xml', [InvoiceController::class, 'exportXml'])->name('invoiceExportXml');
|
||||
|
||||
// Timesheets
|
||||
// Products
|
||||
Route::get('products', [ProductController::class, 'show'])->name('products');
|
||||
|
||||
|
||||
|
||||
Route::get('timesheets', function () {
|
||||
return Inertia::render('Timesheets');
|
||||
})->name('timesheets');
|
||||
|
||||
|
||||
// Procedural Documentation
|
||||
Route::get('proceduralDocumentation', function () {
|
||||
return Inertia::render('ProceduralDocumentation');
|
||||
|
||||
Reference in New Issue
Block a user