add shipping rules
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
Route::prefix('Offres')->name('Offers.')->group(function () {
|
||||
Route::get('show/{id}', 'OfferController@show')->name('show');
|
||||
});
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?php
|
||||
|
||||
Route::resource('OrderPayments', 'OrderPaymentController');
|
||||
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
Route::prefix('Recherche')->name('Searches.')->group(function () {
|
||||
Route::get('resultats/{search?}', 'SearchController@search')->name('search');
|
||||
});
|
||||
|
||||
|
||||
@@ -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';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user