This commit is contained in:
Ludovic CANDELLIER
2022-11-11 13:05:40 +01:00
parent f89acd9399
commit 7df2421373
104 changed files with 1212 additions and 764 deletions

View File

@@ -1,4 +0,0 @@
<?php
Route::resource('OrderPayments', 'OrderPaymentController');

View File

@@ -1,12 +1,11 @@
<?php
Route::prefix('Orders')->name('Orders.')->group(function () {
Route::get('', 'OrderController@index')->name('index');
Route::get('create', 'OrderController@create')->name('create');
Route::delete('destroy', 'OrderController@destroy')->name('destroy');
Route::post('update', 'OrderController@update')->name('update');
Route::post('store', 'OrderController@store')->name('store');
Route::get('edit/{id}', 'OrderController@edit')->name('edit');
Route::get('', 'OrderController@index')->name('index');
Route::get('create', 'OrderController@create')->name('create');
Route::delete('destroy', 'OrderController@destroy')->name('destroy');
Route::post('update', 'OrderController@update')->name('update');
Route::post('store', 'OrderController@store')->name('store');
Route::get('edit/{id}', 'OrderController@edit')->name('edit');
});

View File

@@ -12,7 +12,6 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
include __DIR__ . '/Invoices.php';
include __DIR__ . '/Merchandises.php';
include __DIR__ . '/Offers.php';
include __DIR__ . '/OrderPayments.php';
include __DIR__ . '/Orders.php';
include __DIR__ . '/Packages.php';
include __DIR__ . '/PriceLists.php';