notifications ready fx11

This commit is contained in:
merdan 2022-12-01 12:37:02 +05:00
parent f4e2bf9b78
commit eec0508967
3 changed files with 1 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class Categories extends CategoryController
$category = $this->categoryRepository->update($categoryRequest->all(), $id);
// Event::dispatch('catalog.category.update.after', $category);
Event::dispatch('catalog.category.update.after', $category);
session()->flash('success', trans('admin::app.response.update-success', ['name' => 'Category']));

View File

@ -77,7 +77,6 @@
<span class="control-error" v-if="errors.has('position')">@{{ errors.first('position') }}</span>
</div>
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.general.controls.after', ['category' => $category]) !!}
</div>
</accordian>
@ -85,7 +84,6 @@
<accordian :title="'{{ __('admin::app.catalog.categories.description-and-images') }}'" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.description_images.controls.before', ['category' => $category]) !!}
<div class="control-group" :class="[errors.has('display_mode') ? 'has-error' : '']">
<label for="display_mode" class="required">{{ __('admin::app.catalog.categories.display-mode') }}</label>

View File

@ -4,7 +4,6 @@ namespace Sarga\Shop\Models;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Laravel\Scout\Searchable;
use Sarga\Brand\Models\BrandProxy;
use Webkul\Category\Database\Factories\CategoryFactory;
use Webkul\Category\Models\Category as WCategory;