Add new version in repository
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->group(function () {
|
||||
Route::prefix('Botanic')->namespace('Botanic')->name('Botanic.')->group(function () {
|
||||
include( __DIR__ . '/Families.php');
|
||||
include( __DIR__ . '/Genres.php');
|
||||
include( __DIR__ . '/Species.php');
|
||||
12
routes/Admin/Shop/ArticleNatures.php
Normal file
12
routes/Admin/Shop/ArticleNatures.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('ArticleNatures')->name('ArticleNatures.')->group(function () {
|
||||
Route::get('', 'ArticleNatureController@index')->name('index');
|
||||
Route::get('create', 'ArticleNatureController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'ArticleNatureController@destroy')->name('destroy');
|
||||
Route::post('update', 'ArticleNatureController@update')->name('update');
|
||||
Route::post('store', 'ArticleNatureController@store')->name('store');
|
||||
Route::get('edit/{id}', 'ArticleNatureController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
@@ -4,11 +4,13 @@ Route::prefix('Articles')->name('Articles.')->group(function () {
|
||||
Route::get('', 'ArticleController@index')->name('index');
|
||||
Route::get('create', 'ArticleController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'ArticleController@destroy')->name('destroy');
|
||||
Route::post('update', 'ArticleController@update')->name('update');
|
||||
Route::post('store', 'ArticleController@store')->name('store');
|
||||
Route::get('edit/{id}', 'ArticleController@edit')->name('edit');
|
||||
|
||||
Route::any('getImages/{id?}', 'ArticleController@getImages')->name('getImages');
|
||||
Route::post('deleteImage', 'ArticleController@deleteImage')->name('deleteImage');
|
||||
|
||||
Route::any('autocomplete/{q?}', 'ArticleController@autocomplete')->name('autocomplete');
|
||||
|
||||
});
|
||||
|
||||
12
routes/Admin/Shop/CustomerAddresses.php
Normal file
12
routes/Admin/Shop/CustomerAddresses.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('CustomerAddresses')->name('CustomerAddresses.')->group(function () {
|
||||
Route::get('', 'CustomerAddressController@index')->name('index');
|
||||
Route::get('create', 'CustomerAddressController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'CustomerAddressController@destroy')->name('destroy');
|
||||
Route::post('update', 'CustomerAddressController@update')->name('update');
|
||||
Route::post('store', 'CustomerAddressController@store')->name('store');
|
||||
Route::get('edit/{id}', 'CustomerAddressController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
10
routes/Admin/Shop/Offers.php
Normal file
10
routes/Admin/Shop/Offers.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Offers')->name('Offers.')->group(function () {
|
||||
Route::get('', 'OfferController@index')->name('index');
|
||||
Route::get('create', 'OfferController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'OfferController@destroy')->name('destroy');
|
||||
Route::post('update', 'OfferController@update')->name('update');
|
||||
Route::post('store', 'OfferController@store')->name('store');
|
||||
Route::get('edit/{id}', 'OfferController@edit')->name('edit');
|
||||
});
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
Route::prefix('Packages')->name('Packages.')->group(function () {
|
||||
Route::any('getOptionsByFamily', 'PackageController@getOptionsByFamily')->name('getOptionsByFamily');
|
||||
Route::get('', 'PackageController@index')->name('index');
|
||||
Route::get('create', 'PackageController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'PackageController@destroy')->name('destroy');
|
||||
Route::post('update', 'PackageController@update')->name('update');
|
||||
Route::post('store', 'PackageController@store')->name('store');
|
||||
Route::get('edit/{id}', 'PackageController@edit')->name('edit');
|
||||
Route::delete('destroy/{id?}', 'PackageController@destroy')->name('destroy');
|
||||
});
|
||||
|
||||
Route::resource('Packages', 'PackageController');
|
||||
11
routes/Admin/Shop/PriceListValues.php
Normal file
11
routes/Admin/Shop/PriceListValues.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('PriceListValues')->name('PriceListValues.')->group(function () {
|
||||
Route::get('', 'PriceListValueController@index')->name('index');
|
||||
Route::get('create', 'PriceListValueController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'PriceListValueController@destroy')->name('destroy');
|
||||
Route::post('update', 'PriceListValueController@update')->name('update');
|
||||
Route::post('store', 'PriceListValueController@store')->name('store');
|
||||
Route::get('edit/{id}', 'PriceListValueController@edit')->name('edit');
|
||||
});
|
||||
|
||||
16
routes/Admin/Shop/PriceLists.php
Normal file
16
routes/Admin/Shop/PriceLists.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('PriceLists')->name('PriceLists.')->group(function () {
|
||||
Route::get('', 'PriceListController@index')->name('index');
|
||||
Route::get('create', 'PriceListController@create')->name('create');
|
||||
Route::get('edit/{id}', 'PriceListController@edit')->name('edit');
|
||||
Route::post('store', 'PriceListController@store')->name('store');
|
||||
Route::delete('destroy/{id?}', 'PriceListController@destroy')->name('destroy');
|
||||
Route::get('getPrices/{id?}', 'PriceListController@getPrice')->name('getPrices');
|
||||
|
||||
Route::get('modalCreate/{tariff_id?}', 'PriceListController@modalCreate')->name('modalCreate');
|
||||
Route::get('modalEdit/{id?}', 'PriceListController@modalEdit')->name('modalEdit');
|
||||
Route::post('storeAjax', 'PriceListController@storeAjax')->name('storeAjax');
|
||||
|
||||
});
|
||||
|
||||
11
routes/Admin/Shop/SaleChannels.php
Normal file
11
routes/Admin/Shop/SaleChannels.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('SaleChannels')->name('SaleChannels.')->group(function () {
|
||||
Route::get('', 'SaleChannelController@index')->name('index');
|
||||
Route::get('create', 'SaleChannelController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'SaleChannelController@destroy')->name('destroy');
|
||||
Route::post('update', 'SaleChannelController@update')->name('update');
|
||||
Route::post('store', 'SaleChannelController@store')->name('store');
|
||||
Route::get('edit/{id}', 'SaleChannelController@edit')->name('edit');
|
||||
|
||||
});
|
||||
12
routes/Admin/Shop/TariffUnities.php
Normal file
12
routes/Admin/Shop/TariffUnities.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('ArticleNatures')->name('ArticleNatures.')->group(function () {
|
||||
Route::get('', 'ArticleNatureController@index')->name('index');
|
||||
Route::get('create', 'ArticleNatureController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'ArticleNatureController@destroy')->name('destroy');
|
||||
Route::post('update', 'ArticleNatureController@update')->name('update');
|
||||
Route::post('store', 'ArticleNatureController@store')->name('store');
|
||||
Route::get('edit/{id}', 'ArticleNatureController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
14
routes/Admin/Shop/Tariffs.php
Normal file
14
routes/Admin/Shop/Tariffs.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Tariffs')->name('Tariffs.')->group(function () {
|
||||
Route::get('', 'TariffController@index')->name('index');
|
||||
Route::get('create', 'TariffController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'TariffController@destroy')->name('destroy');
|
||||
Route::post('update', 'TariffController@update')->name('update');
|
||||
Route::post('store', 'TariffController@store')->name('store');
|
||||
Route::get('edit/{id}', 'TariffController@edit')->name('edit');
|
||||
|
||||
Route::any('autocomplete/{q?}', 'TariffController@autocomplete')->name('autocomplete');
|
||||
|
||||
});
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
Route::prefix('Unities')->name('Unities.')->group(function () {
|
||||
Route::any('getOptionsByPackage', 'UnityController@getOptionsByPackage')->name('getOptionsByPackage');
|
||||
Route::get('', 'UnityController@index')->name('index');
|
||||
Route::get('create', 'UnityController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'UnityController@destroy')->name('destroy');
|
||||
Route::post('update', 'UnityController@update')->name('update');
|
||||
Route::post('store', 'UnityController@store')->name('store');
|
||||
Route::get('edit/{id}', 'UnityController@edit')->name('edit');
|
||||
Route::delete('destroy/{id?}', 'UnityController@destroy')->name('destroy');
|
||||
});
|
||||
|
||||
Route::resource('Unities', 'UnityController');
|
||||
14
routes/Admin/Shop/Variations.php
Normal file
14
routes/Admin/Shop/Variations.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('Variations')->name('Variations.')->group(function () {
|
||||
Route::get('', 'VariationController@index')->name('index');
|
||||
Route::get('create', 'VariationController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'VariationController@destroy')->name('destroy');
|
||||
Route::post('update', 'VariationController@update')->name('update');
|
||||
Route::post('store', 'VariationController@store')->name('store');
|
||||
Route::get('edit/{id}', 'VariationController@edit')->name('edit');
|
||||
|
||||
Route::any('autocomplete/{q?}', 'VariationController@autocomplete')->name('autocomplete');
|
||||
|
||||
});
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
<?php
|
||||
|
||||
Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->group(function () {
|
||||
Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
Route::get('dashboard', 'DashboardController@index')->name('dashboard');
|
||||
include __DIR__ . '/ArticleFamilies.php';
|
||||
include __DIR__ . '/ArticlePrices.php';
|
||||
include __DIR__ . '/ArticleNatures.php';
|
||||
include __DIR__ . '/Articles.php';
|
||||
include __DIR__ . '/Categories.php';
|
||||
include __DIR__ . '/Customers.php';
|
||||
include __DIR__ . '/Inventories.php';
|
||||
include __DIR__ . '/InventoryPlaces.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__ . '/PriceGenericCategories.php';
|
||||
include __DIR__ . '/PriceGenerics.php';
|
||||
include __DIR__ . '/PriceLists.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';
|
||||
});
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->group(function () {
|
||||
Route::get('', 'HomeController@index')->name('home');
|
||||
include( __DIR__ . '/Botanic/route.php');
|
||||
include( __DIR__ . '/Shop/route.php');
|
||||
});
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
Route::prefix('Botanic')->namespace('Botanic')->name('Botanic.')->group(function () {
|
||||
|
||||
include( __DIR__ . '/Admin/route.php');
|
||||
});
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('ArticleFamilies')->name('ArticleFamilies.')->group(function () {
|
||||
Route::get('', 'ArticleFamilyController@index')->name('index');
|
||||
Route::get('create', 'ArticleFamilyController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'ArticleFamilyController@destroy')->name('destroy');
|
||||
Route::post('update', 'ArticleFamilyController@update')->name('update');
|
||||
Route::post('store', 'ArticleFamilyController@store')->name('store');
|
||||
Route::get('edit/{id}', 'ArticleFamilyController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::resource('ArticlePrices', 'ArticlePriceController');
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::resource('Inventories', 'InventoryController');
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::resource('InventoryPlaces', 'InventoryPlaceController');
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('PriceGenericCategories')->name('PriceGenericCategories.')->group(function () {
|
||||
Route::get('', 'PriceGenericCategoryController@index')->name('index');
|
||||
Route::get('create', 'PriceGenericCategoryController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'PriceGenericCategoryController@destroy')->name('destroy');
|
||||
Route::post('update', 'PriceGenericCategoryController@update')->name('update');
|
||||
Route::post('store', 'PriceGenericCategoryController@store')->name('store');
|
||||
Route::get('edit/{id}', 'PriceGenericCategoryController@edit')->name('edit');
|
||||
|
||||
});
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
Route::prefix('PriceGenerics')->name('PriceGenerics.')->group(function () {
|
||||
Route::get('', 'PriceGenericController@index')->name('index');
|
||||
Route::get('create', 'PriceGenericController@create')->name('create');
|
||||
Route::delete('destroy/{id?}', 'PriceGenericController@destroy')->name('destroy');
|
||||
Route::post('update', 'PriceGenericController@update')->name('update');
|
||||
Route::post('store', 'PriceGenericController@store')->name('store');
|
||||
Route::get('edit/{id}', 'PriceGenericController@edit')->name('edit');
|
||||
|
||||
Route::get('getPrice/{id?}', 'PriceGenericController@getPrice')->name('getPrice');
|
||||
});
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
Route::prefix('Articles')->name('Articles.')->group(function () {
|
||||
Route::get('', 'ArticleController@index')->name('index');
|
||||
Route::get('bySection/{id}', 'ArticleController@bySection')->name('index');
|
||||
Route::get('show/{id}', 'ArticleController@show')->name('show');
|
||||
});
|
||||
|
||||
|
||||
@@ -6,6 +6,4 @@ Route::prefix('Shop')->namespace('Shop')->name('Shop.')->group(function () {
|
||||
include( __DIR__ . '/Orders.php');
|
||||
include( __DIR__ . '/Articles.php');
|
||||
include( __DIR__ . '/Categories.php');
|
||||
|
||||
include( __DIR__ . '/Admin/route.php');
|
||||
});
|
||||
|
||||
@@ -20,7 +20,3 @@ Route::get('home', 'Shop\HomeController@index')->name('home');
|
||||
include( __DIR__ . '/Admin/route.php');
|
||||
include( __DIR__ . '/Shop/route.php');
|
||||
include( __DIR__ . '/Botanic/route.php');
|
||||
|
||||
|
||||
|
||||
Route::get('cache', 'JS\CacheController@getCacheVersions')->name('cacheVersions');
|
||||
|
||||
Reference in New Issue
Block a user