Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent f75632b054
commit b879f11c99
608 changed files with 12235 additions and 7513 deletions

View File

@@ -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');

View 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');
});

View File

@@ -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');
});

View 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');
});

View 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');
});

View File

@@ -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');

View 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');
});

View 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');
});

View 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');
});

View 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');
});

View 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');
});

View File

@@ -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');

View 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');
});

View File

@@ -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';
});

View File

@@ -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');
});

View File

@@ -2,5 +2,4 @@
Route::prefix('Botanic')->namespace('Botanic')->name('Botanic.')->group(function () {
include( __DIR__ . '/Admin/route.php');
});

View File

@@ -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');
});

View File

@@ -1,4 +0,0 @@
<?php
Route::resource('ArticlePrices', 'ArticlePriceController');

View File

@@ -1,4 +0,0 @@
<?php
Route::resource('Inventories', 'InventoryController');

View File

@@ -1,4 +0,0 @@
<?php
Route::resource('InventoryPlaces', 'InventoryPlaceController');

View File

@@ -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');
});

View File

@@ -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');
});

View File

@@ -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');
});

View File

@@ -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');
});

View File

@@ -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');