Refactoring, change menu, add many features

This commit is contained in:
Ludovic CANDELLIER
2021-10-30 02:22:51 +02:00
parent da51da2530
commit 0d0e4deb16
158 changed files with 1114 additions and 412 deletions

View File

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

View File

@@ -1,23 +1,24 @@
<?php
Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
Route::get('dashboard', 'DashboardController@index')->name('dashboard');
include __DIR__ . '/ArticleNatures.php';
include __DIR__ . '/Articles.php';
include __DIR__ . '/Categories.php';
include __DIR__ . '/Customers.php';
include __DIR__ . '/InvoiceItems.php';
include __DIR__ . '/Invoices.php';
include __DIR__ . '/Offers.php';
include __DIR__ . '/OrderPayments.php';
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';
include __DIR__ . '/Tariffs.php';
include __DIR__ . '/Unities.php';
include __DIR__ . '/Variations.php';
Route::get('dashboard', 'DashboardController@index')->name('dashboard');
include __DIR__ . '/ArticleNatures.php';
include __DIR__ . '/Articles.php';
include __DIR__ . '/Categories.php';
include __DIR__ . '/Customers.php';
include __DIR__ . '/Deliveries.php';
include __DIR__ . '/InvoiceItems.php';
include __DIR__ . '/Invoices.php';
include __DIR__ . '/Offers.php';
include __DIR__ . '/OrderPayments.php';
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';
include __DIR__ . '/Tariffs.php';
include __DIR__ . '/Unities.php';
include __DIR__ . '/Variations.php';
});