remove brands

This commit is contained in:
Kerim 2023-04-21 02:19:43 +05:00
parent 8dd858b95b
commit af5628c2cc
3 changed files with 20 additions and 20 deletions

View File

@ -286,7 +286,7 @@ return [
Sarga\Shop\Providers\ShopServiceProvider::class,
Sarga\API\Providers\APIServiceProvider::class,
Sarga\Admin\Providers\AdminServiceProvider::class,
Sarga\Brand\Providers\BrandServiceProvider::class,
// Sarga\Brand\Providers\BrandServiceProvider::class,
Sarga\Payment\Providers\PaymentServiceProvider::class,
],

View File

@ -1,11 +1,11 @@
<?php
return [
[
'key' => 'catalog.brand',
'name' => 'brand::app.brands',
'route' => 'admin.catalog.brand.index',
'sort' => 5,
'icon-class' => '',
]
// [
// 'key' => 'catalog.brand',
// 'name' => 'brand::app.brands',
// 'route' => 'admin.catalog.brand.index',
// 'sort' => 5,
// 'icon-class' => '',
// ]
];

View File

@ -12,10 +12,10 @@ class BrandServiceProvider extends ServiceProvider
*/
public function boot(): void
{
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
$this->loadRoutesFrom(__DIR__ . '/../Routes/brand-routes.php');
$this->loadViewsFrom(__DIR__ . '/../Resources/views', 'brand');
$this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'brand');
// $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
// $this->loadRoutesFrom(__DIR__ . '/../Routes/brand-routes.php');
// $this->loadViewsFrom(__DIR__ . '/../Resources/views', 'brand');
// $this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'brand');
// Log::info('brandd service provider');
$this->app->register(EventServiceProvider::class);
// CategoryProxy::observe(CategoryObserver::class);
@ -23,14 +23,14 @@ class BrandServiceProvider extends ServiceProvider
public function register()
{
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/menu.php',
'menu.admin'
);
// $this->mergeConfigFrom(
// dirname(__DIR__) . '/Config/menu.php',
// 'menu.admin'
// );
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/concord.php',
'concord.modules'
);
// $this->mergeConfigFrom(
// dirname(__DIR__) . '/Config/concord.php',
// 'concord.modules'
// );
}
}