Delete invoice

This commit is contained in:
Peter Papp
2021-04-28 18:44:42 +02:00
parent 248825f2d1
commit 13ec1257e1
7 changed files with 72 additions and 6 deletions
+1
View File
@@ -30,6 +30,7 @@ Route::group(['middleware' => 'api', 'prefix' => '/api/oasis'], function () {
Route::get('/search', [InvoiceController::class, 'search']);
Route::post('/', [InvoiceController::class, 'store']);
Route::delete('/{invoice}', [InvoiceController::class, 'destroy']);
Route::get('/profile', [InvoiceProfileController::class, 'show']);
Route::post('/profile', [InvoiceProfileController::class, 'store']);