Add categories for generic prices

This commit is contained in:
Ludovic CANDELLIER
2020-08-31 00:44:29 +02:00
parent 3b6108b449
commit c9198de890
26 changed files with 471 additions and 242 deletions

View File

@@ -1,12 +0,0 @@
<?php
Route::prefix('ArticlePriceGenerics')->name('ArticlePriceGenerics.')->group(function () {
Route::get('', 'ArticlePriceGenericController@index')->name('index');
Route::get('create', 'ArticlePriceGenericController@create')->name('create');
Route::delete('destroy', 'ArticlePriceGenericController@destroy')->name('destroy');
Route::post('update', 'ArticlePriceGenericController@update')->name('update');
Route::post('store', 'ArticlePriceGenericController@store')->name('store');
Route::get('edit/{id}', 'ArticlePriceGenericController@edit')->name('edit');
});

View File

@@ -0,0 +1,12 @@
<?php
Route::prefix('PriceGenerics')->name('PriceGenerics.')->group(function () {
Route::get('', 'PriceGenericController@index')->name('index');
Route::get('create', 'PriceGenericController@create')->name('create');
Route::delete('destroy', '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');
});

View File

@@ -2,22 +2,21 @@
Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->group(function () {
Route::get('dashboard', 'DashboardController@index')->name('dashboard');
include( __DIR__ . '/ArticleAttributeFamilies.php');
include( __DIR__ . '/ArticleAttributeValues.php');
include( __DIR__ . '/ArticleAttributes.php');
include( __DIR__ . '/ArticleFamilies.php');
include( __DIR__ . '/ArticlePriceGenerics.php');
include( __DIR__ . '/ArticlePrices.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__ . '/OrderPayments.php');
include( __DIR__ . '/Orders.php');
include( __DIR__ . '/Tags.php');
include( __DIR__ . '/TagGroups.php');
include __DIR__ . '/ArticleAttributeFamilies.php';
include __DIR__ . '/ArticleAttributeValues.php';
include __DIR__ . '/ArticleAttributes.php';
include __DIR__ . '/ArticleFamilies.php';
include __DIR__ . '/ArticlePrices.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__ . '/OrderPayments.php';
include __DIR__ . '/Orders.php';
include __DIR__ . '/PriceGenerics.php';
include __DIR__ . '/Tags.php';
include __DIR__ . '/TagGroups.php';
});