[WIP] Refactor generic & normal price
This commit is contained in:
4
routes/Shop/Admin/PriceFamilies.php
Normal file
4
routes/Shop/Admin/PriceFamilies.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('PriceFamilies', 'PriceFamilyController');
|
||||
|
||||
7
routes/Shop/Admin/PriceFamilyValues.php
Normal file
7
routes/Shop/Admin/PriceFamilyValues.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
Route::resource('PriceFamilyValues', 'PriceFamilyValueController');
|
||||
|
||||
Route::prefix('PriceFamilyValues')->name('PriceFamilyValues.')->group(function () {
|
||||
Route::post('getOptionsByFamily', 'PriceFamilyValueController@getOptionsByFamily')->name('getOptionsByFamily');
|
||||
});
|
||||
@@ -16,6 +16,8 @@ Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->
|
||||
include __DIR__ . '/Invoices.php';
|
||||
include __DIR__ . '/OrderPayments.php';
|
||||
include __DIR__ . '/Orders.php';
|
||||
include __DIR__ . '/PriceFamilies.php';
|
||||
include __DIR__ . '/PriceFamilyValues.php';
|
||||
include __DIR__ . '/PriceGenerics.php';
|
||||
include __DIR__ . '/Tags.php';
|
||||
include __DIR__ . '/TagGroups.php';
|
||||
|
||||
Reference in New Issue
Block a user