Fix case typo

This commit is contained in:
Ludovic CANDELLIER
2020-04-15 15:40:57 +02:00
parent 54e7a3f5a1
commit 49afb9ca4c
28 changed files with 48 additions and 65 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,19 @@
<?php
Route::middleware('auth')->prefix('Admin')->namespace('Admin')->name('Admin.')->group(function () {
Route::get('dashboard', 'DashboardController@index')->name('dashboard');
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__ . '/ProductAttributes.php');
include( __DIR__ . '/ProductPrices.php');
include( __DIR__ . '/Products.php');
include( __DIR__ . '/Sections.php');
include( __DIR__ . '/../../Admin/Shop/route.php');
});