change homepages to contents, add new methods to deliveries and sale_channels by customer

This commit is contained in:
ludo
2023-12-09 23:55:50 +01:00
parent 2a429e4163
commit 25b78f3380
28 changed files with 185 additions and 153 deletions

View File

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

View File

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

View File

@@ -5,13 +5,13 @@ Route::middleware('auth')->prefix('Shop')->namespace('Shop')->name('Shop.')->gro
include_once __DIR__.'/ArticleNatures.php';
include_once __DIR__.'/Articles.php';
include_once __DIR__.'/Categories.php';
include_once __DIR__.'/Contents.php';
include_once __DIR__.'/Customers.php';
include_once __DIR__.'/CustomerAddresses.php';
include_once __DIR__.'/Deliveries.php';
include_once __DIR__.'/DeliveryPackages.php';
include_once __DIR__.'/DeliveryTypes.php';
include_once __DIR__.'/DeliveryTypeCalculations.php';
include_once __DIR__.'/Homepages.php';
include_once __DIR__.'/InvoiceItems.php';
include_once __DIR__.'/InvoicePayments.php';
include_once __DIR__.'/Invoices.php';