add shipping rules

This commit is contained in:
Ludovic CANDELLIER
2023-07-16 14:45:42 +02:00
parent 72a7b270f9
commit 0879b0abf0
459 changed files with 6219 additions and 5416 deletions

View File

@@ -1,7 +1,6 @@
<?php
Route::prefix('Articles')->name('Articles.')->group(function () {
Route::get('', 'ArticleController@index')->name('index');
Route::get('show/{id}', 'ArticleController@show')->name('show');
Route::get('', 'ArticleController@index')->name('index');
Route::get('show/{id}', 'ArticleController@show')->name('show');
});

View File

@@ -11,4 +11,3 @@ Route::prefix('Panier')->name('Basket.')->group(function () {
Route::get('basket', 'BasketController@basket')->name('basket');
Route::post('order', 'BasketController@order')->name('order');
});

View File

@@ -5,4 +5,3 @@ Route::prefix('Rayons')->name('Categories.')->group(function () {
Route::any('show/{id}', 'CategoryController@show')->name('show');
Route::get('getTree', 'CategoryController@getTree')->name('getTree');
});

View File

@@ -4,4 +4,3 @@ Route::prefix('Factures')->name('Invoices.')->group(function () {
Route::get('show/{uuid?}', 'InvoiceController@show')->name('show');
Route::get('pdf/{uuid?}', 'InvoiceController@pdf')->name('pdf');
});

View File

@@ -3,4 +3,3 @@
Route::prefix('Offres')->name('Offers.')->group(function () {
Route::get('show/{id}', 'OfferController@show')->name('show');
});

View File

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

View File

@@ -8,4 +8,3 @@ Route::prefix('Orders')->name('Orders.')->group(function () {
Route::get('view/{uuid?}', 'OrderController@view')->name('view');
Route::get('pdf/{uuid?}', 'OrderController@pdf')->name('pdf');
});

View File

@@ -3,4 +3,3 @@
Route::prefix('Recherche')->name('Searches.')->group(function () {
Route::get('resultats/{search?}', 'SearchController@search')->name('search');
});

View File

@@ -13,14 +13,14 @@ Route::prefix('')->namespace('Shop')->name('Shop.')->group(function () {
});
Route::prefix('')->namespace('Shop')->name('Shop.')->group(function () {
include_once __DIR__ . '/Articles.php';
include_once __DIR__ . '/Baskets.php';
include_once __DIR__ . '/Categories.php';
include_once __DIR__ . '/Customers.php';
include_once __DIR__ . '/Invoices.php';
include_once __DIR__ . '/Offers.php';
include_once __DIR__ . '/Orders.php';
include_once __DIR__ . '/Orders.php';
include_once __DIR__ . '/OrderPayments.php';
include_once __DIR__ . '/Searches.php';
include_once __DIR__.'/Articles.php';
include_once __DIR__.'/Baskets.php';
include_once __DIR__.'/Categories.php';
include_once __DIR__.'/Customers.php';
include_once __DIR__.'/Invoices.php';
include_once __DIR__.'/Offers.php';
include_once __DIR__.'/Orders.php';
include_once __DIR__.'/Orders.php';
include_once __DIR__.'/OrderPayments.php';
include_once __DIR__.'/Searches.php';
});