// APPEND ONCE at the END of routes/web.php. Do not replace the existing routes. Route::middleware('auth')->prefix('admin/invoices')->name('admin.invoices.')->group(function () { $c = \App\Http\Controllers\Admin\InvoiceController::class; Route::get('/', [$c, 'index'])->name('index'); Route::get('/create', [$c, 'create'])->name('create'); Route::post('/', [$c, 'store'])->name('store'); Route::get('/settings', [$c, 'settings'])->name('settings'); Route::post('/settings', [$c, 'updateSettings'])->name('settings.update'); Route::get('/all', [$c, 'all'])->name('all'); Route::get('/{id}', [$c, 'show'])->whereNumber('id')->name('show'); Route::get('/{id}/edit', [$c, 'edit'])->whereNumber('id')->name('edit'); Route::put('/{id}', [$c, 'update'])->whereNumber('id')->name('update'); Route::post('/{id}/issue', [$c, 'issue'])->whereNumber('id')->name('issue'); Route::post('/{id}/void', [$c, 'voidInvoice'])->whereNumber('id')->name('void'); Route::get('/{id}/pdf', [$c, 'pdf'])->whereNumber('id')->name('pdf'); });
Add SpicyFeast to your phone
Open SpicyFeast faster from your Home Screen, just like an app.
You can remove the shortcut/app anytime from your phone.
Your review helps us serve you better
Create Account
By continuing you agree to our Terms of Services & Privacy Policy
Have An Account? Login
Week of 26 Jun - 01 Jul 2028