Add products module #46

This commit is contained in:
2025-11-26 10:05:43 +01:00
parent 155f0d3525
commit 83dd8e9ecb
21 changed files with 607 additions and 50 deletions
+7 -2
View File
@@ -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');