Fixes on adding price & errors

This commit is contained in:
Ludovic CANDELLIER
2021-07-27 17:33:18 +02:00
parent b879f11c99
commit daeece59c9
18 changed files with 123 additions and 76 deletions

View File

@@ -4,8 +4,8 @@ Route::prefix('PriceListValues')->name('PriceListValues.')->group(function () {
Route::get('', 'PriceListValueController@index')->name('index');
Route::get('create', 'PriceListValueController@create')->name('create');
Route::delete('destroy/{id?}', 'PriceListValueController@destroy')->name('destroy');
Route::post('update', 'PriceListValueController@update')->name('update');
Route::post('store', 'PriceListValueController@store')->name('store');
Route::get('edit/{id}', 'PriceListValueController@edit')->name('edit');
Route::get('addPrice/{index?}', 'PriceListValueController@addPrice')->name('addPrice');
});

View File

@@ -13,6 +13,7 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
include __DIR__ . '/Orders.php';
include __DIR__ . '/Packages.php';
include __DIR__ . '/PriceLists.php';
include __DIR__ . '/PriceListValues.php';
include __DIR__ . '/SaleChannels.php';
include __DIR__ . '/Tags.php';
include __DIR__ . '/TagGroups.php';