Fix case typo
This commit is contained in:
12
routes/Shop/Admin/Customers.php
Normal file
12
routes/Shop/Admin/Customers.php
Normal 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');
|
||||
|
||||
});
|
||||
|
||||
4
routes/Shop/Admin/Inventories.php
Normal file
4
routes/Shop/Admin/Inventories.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('Inventories', 'InventoryController');
|
||||
|
||||
4
routes/Shop/Admin/InventoryPlaces.php
Normal file
4
routes/Shop/Admin/InventoryPlaces.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('InventoryPlaces', 'InventoryPlaceController');
|
||||
|
||||
4
routes/Shop/Admin/InvoiceItems.php
Normal file
4
routes/Shop/Admin/InvoiceItems.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('InvoiceItems', 'InvoiceItemController');
|
||||
|
||||
12
routes/Shop/Admin/Invoices.php
Normal file
12
routes/Shop/Admin/Invoices.php
Normal 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');
|
||||
|
||||
});
|
||||
|
||||
4
routes/Shop/Admin/OrderPayments.php
Normal file
4
routes/Shop/Admin/OrderPayments.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('OrderPayments', 'OrderPaymentController');
|
||||
|
||||
12
routes/Shop/Admin/Orders.php
Normal file
12
routes/Shop/Admin/Orders.php
Normal 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');
|
||||
|
||||
});
|
||||
|
||||
4
routes/Shop/Admin/ProductAttributes.php
Normal file
4
routes/Shop/Admin/ProductAttributes.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('ProductAttributes', 'ProductAttributeController');
|
||||
|
||||
4
routes/Shop/Admin/ProductPrices.php
Normal file
4
routes/Shop/Admin/ProductPrices.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
Route::resource('ProductPrices', 'ProductPriceController');
|
||||
|
||||
12
routes/Shop/Admin/Products.php
Normal file
12
routes/Shop/Admin/Products.php
Normal 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');
|
||||
|
||||
});
|
||||
|
||||
12
routes/Shop/Admin/Sections.php
Normal file
12
routes/Shop/Admin/Sections.php
Normal 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');
|
||||
|
||||
});
|
||||
|
||||
19
routes/Shop/Admin/route.php
Normal file
19
routes/Shop/Admin/route.php
Normal 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');
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user