invert query from offers->articles to articles->offers

This commit is contained in:
Ludovic CANDELLIER
2022-01-05 22:05:30 +01:00
parent a3c6fc6ebe
commit 95ca3c6404
17 changed files with 121 additions and 93 deletions

6
routes/Shop/Offers.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
Route::prefix('Offers')->name('Offers.')->group(function () {
Route::get('show/{id}', 'OfferController@show')->name('show');
});

View File

@@ -1,9 +1,10 @@
<?php
Route::prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
include( __DIR__ . '/Articles.php');
include( __DIR__ . '/Categories.php');
include( __DIR__ . '/Customers.php');
include( __DIR__ . '/Invoices.php');
include( __DIR__ . '/Orders.php');
include( __DIR__ . '/Articles.php');
include( __DIR__ . '/Categories.php');
include( __DIR__ . '/Customers.php');
include( __DIR__ . '/Invoices.php');
include( __DIR__ . '/Offers.php');
include( __DIR__ . '/Orders.php');
});