add payments by invoice

This commit is contained in:
ludo
2023-11-25 16:21:35 +01:00
parent 731c31a58c
commit 34f0b2796f
20 changed files with 579 additions and 215 deletions

View File

@@ -0,0 +1,11 @@
<?php
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::post('update', 'InvoicePaymentController@update')->name('update');
Route::post('store', 'InvoicePaymentController@store')->name('store');
Route::get('edit/{id}', 'InvoicePaymentController@edit')->name('edit');
});

View File

@@ -13,6 +13,7 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
include_once __DIR__.'/DeliveryTypeCalculations.php';
include_once __DIR__.'/Homepages.php';
include_once __DIR__.'/InvoiceItems.php';
include_once __DIR__.'/InvoicePayments.php';
include_once __DIR__.'/Invoices.php';
include_once __DIR__.'/Merchandises.php';
include_once __DIR__.'/Offers.php';