This commit is contained in:
ludo
2025-01-03 03:46:45 +01:00
parent b3fbfc38e7
commit befaa40b48
44 changed files with 442 additions and 165 deletions

View File

@@ -2,8 +2,8 @@
Route::prefix('InvoicePayments')->name('InvoicePayments.')->group(function () {
Route::get('', 'InvoicePaymentController@index')->name('index');
Route::get('create', 'InvoicePaymentController@create')->name('create');
Route::delete('destroy', 'InvoicePaymentController@destroy')->name('destroy');
Route::get('create/{invoice_id?}', 'InvoicePaymentController@create')->name('create');
Route::get('destroy/{id?}', 'InvoicePaymentController@destroy')->name('destroy');
Route::post('update', 'InvoicePaymentController@update')->name('update');
Route::post('store', 'InvoicePaymentController@store')->name('store');
Route::get('edit/{id?}', 'InvoicePaymentController@edit')->name('edit');

View File

@@ -6,5 +6,5 @@ Route::prefix('Invoices')->name('Invoices.')->group(function () {
Route::delete('destroy', 'InvoiceController@destroy')->name('destroy');
Route::post('update', 'InvoiceController@update')->name('update');
Route::post('store', 'InvoiceController@store')->name('store');
Route::get('edit/{id}', 'InvoiceController@edit')->name('edit');
Route::get('edit/{id?}', 'InvoiceController@edit')->name('edit');
});