Removed vue component string binding due unhandled escaping for other locales

This commit is contained in:
jitendra 2022-03-28 11:36:23 +05:30
parent e9543befb6
commit 67e4615961
56 changed files with 134 additions and 134 deletions

View File

@ -28,7 +28,7 @@
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.account.general') }}'" :active="true">
<accordian title="{{ __('admin::app.account.general') }}" :active="true">
<div slot="body">
<upload-profile-image></upload-profile-image>
@ -46,7 +46,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.account.change-password') }}'" :active="true">
<accordian title="{{ __('admin::app.account.change-password') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('password') ? 'has-error' : '']">
<label for="password">{{ __('admin::app.account.password') }}</label>
@ -62,7 +62,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.account.current-password') }}'" :active="true">
<accordian title="{{ __('admin::app.account.current-password') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('current_password') ? 'has-error' : '']">
<label for="current_password" class="required">{{ __('admin::app.account.current-password') }}</label>

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.general.before') !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.general.controls.before') !!}
@ -77,7 +77,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.label.before') !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.label') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.label') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.label.controls.before') !!}
@ -109,7 +109,7 @@
<div class="hide">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.options.before') !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.options') }}'" :active="true" :id="'options'">
<accordian title="{{ __('admin::app.catalog.attributes.options') }}" :active="true" :id="'options'">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.options.controls.before') !!}
@ -127,7 +127,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.validations.before') !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.validations') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.validations') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.options.controls.before') !!}
@ -169,7 +169,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.configuration.before') !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.configuration') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.configuration') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.create_form_accordian.configuration.controls.before') !!}

View File

@ -36,7 +36,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.general.before', ['attribute' => $attribute]) !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.general.controls.before', ['attribute' => $attribute]) !!}
@ -113,7 +113,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.attributes.before', ['attribute' => $attribute]) !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.label') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.label') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.attributes.controls.before', ['attribute' => $attribute]) !!}
@ -139,7 +139,7 @@
<div class="{{ in_array($attribute->type, ['select', 'multiselect', 'checkbox']) ?: 'hide' }}">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.options.before', ['attribute' => $attribute]) !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.options') }}'" :active="true" :id="'options'">
<accordian title="{{ __('admin::app.catalog.attributes.options') }}" :active="true" :id="'options'">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.options.controls.before', ['attribute' => $attribute]) !!}
@ -159,7 +159,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.validations.before', ['attribute' => $attribute]) !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.validations') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.validations') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.validations.controls.before', ['attribute' => $attribute]) !!}
@ -212,7 +212,7 @@
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.configuration.before', ['attribute' => $attribute]) !!}
<accordian :title="'{{ __('admin::app.catalog.attributes.configuration') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.attributes.configuration') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.attribute.edit_form_accordian.configuration.controls.before', ['attribute' => $attribute]) !!}

View File

@ -31,7 +31,7 @@
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.before') !!}
<accordian :title="'{{ __('admin::app.catalog.categories.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.general.controls.before') !!}
@ -68,7 +68,7 @@
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.before') !!}
<accordian :title="'{{ __('admin::app.catalog.categories.description-and-images') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.description-and-images') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.description_images.controls.before') !!}
@ -93,7 +93,7 @@
<div class="control-group {!! $errors->has('image.*') ? 'has-error' : '' !!}">
<label>{{ __('admin::app.catalog.categories.image') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="image" :multiple="false"></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="image" :multiple="false"></image-wrapper>
<span class="control-error" v-if="{!! $errors->has('image.*') !!}">
@foreach ($errors->get('image.*') as $key => $message)
@ -113,7 +113,7 @@
@if ($categories->count())
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.before') !!}
<accordian :title="'{{ __('admin::app.catalog.categories.parent-category') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.parent-category') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.controls.before') !!}
@ -128,7 +128,7 @@
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.parent_category.after') !!}
@endif
<accordian :title="'{{ __('admin::app.catalog.categories.filterable-attributes') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.filterable-attributes') }}" :active="true">
<div slot="body">
<?php $selectedaAtributes = old('attributes') ? old('attributes') : ['11'] ?>
@ -152,7 +152,7 @@
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.before') !!}
<accordian :title="'{{ __('admin::app.catalog.categories.seo') }}'" :active="true">
<accordian title="'{{ __('admin::app.catalog.categories.seo') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.create_form_accordian.seo.controls.before') !!}

View File

@ -58,7 +58,7 @@
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.general.before', ['category' => $category]) !!}
<accordian :title="'{{ __('admin::app.catalog.categories.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.general.controls.before', ['category' => $category]) !!}
@ -97,7 +97,7 @@
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.description_images.before', ['category' => $category]) !!}
<accordian :title="'{{ __('admin::app.catalog.categories.description-and-images') }}'" :active="true">
<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]) !!}
@ -122,7 +122,7 @@
<div class="control-group {!! $errors->has('image.*') ? 'has-error' : '' !!}">
<label>{{ __('admin::app.catalog.categories.image') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="image" :multiple="false" :images='"{{ $category->image_url }}"'></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="image" :multiple="false" :images='"{{ $category->image_url }}"'></image-wrapper>
<span class="control-error" v-if="{!! $errors->has('image.*') !!}">
@foreach ($errors->get('image.*') as $key => $message)
@ -140,7 +140,7 @@
@if ($categories->count())
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.parent_category.before', ['category' => $category]) !!}
<accordian :title="'{{ __('admin::app.catalog.categories.parent-category') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.parent-category') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.parent_category.controls.before', ['category' => $category]) !!}
@ -155,7 +155,7 @@
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.parent_category.after', ['category' => $category]) !!}
@endif
<accordian :title="'{{ __('admin::app.catalog.categories.filterable-attributes') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.filterable-attributes') }}" :active="true">
<div slot="body">
<?php $selectedaAtributes = old('attributes') ?? $category->filterableAttributes->pluck('id')->toArray() ?>
@ -179,7 +179,7 @@
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.seo.before', ['category' => $category]) !!}
<accordian :title="'{{ __('admin::app.catalog.categories.seo') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.categories.seo') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.category.edit_form_accordian.seo.controls.before', ['category' => $category]) !!}

View File

@ -31,7 +31,7 @@
{!! view_render_event('bagisto.admin.catalog.family.create_form_accordian.general.before') !!}
<accordian :title="'{{ __('admin::app.catalog.families.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.families.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.family.create_form_accordian.general.controls.before') !!}
@ -58,7 +58,7 @@
{!! view_render_event('bagisto.admin.catalog.family.create_form_accordian.groups.before') !!}
<accordian :title="'{{ __('admin::app.catalog.families.groups') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.families.groups') }}" :active="true">
<div slot="body">
<button type="button" style="margin-bottom : 20px" class="btn btn-md btn-primary" @click="showModal('addGroup')">

View File

@ -32,7 +32,7 @@
{!! view_render_event('bagisto.admin.catalog.family.edit_form_accordian.general.before', ['attributeFamily' => $attributeFamily]) !!}
<accordian :title="'{{ __('admin::app.catalog.families.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.families.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.family.edit_form_accordian.general.controls.before', ['attributeFamily' => $attributeFamily]) !!}
@ -59,7 +59,7 @@
{!! view_render_event('bagisto.admin.catalog.family.edit_form_accordian.groups.before', ['attributeFamily' => $attributeFamily]) !!}
<accordian :title="'{{ __('admin::app.catalog.families.groups') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.families.groups') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.family.edit_form_accordian.groups.controls.before', ['attributeFamily' => $attributeFamily]) !!}

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.bundle.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.bundle-items') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.bundle-items') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.bundle.controls.before', ['product' => $product]) !!}

View File

@ -2,7 +2,7 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.categories.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.categories') }}'" :active="false">
<accordian title="'{{ __('admin::app.catalog.products.categories') }}" :active="false">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.categories.controls.before', ['product' => $product]) !!}

View File

@ -6,7 +6,7 @@
])->pluck('channel')->unique()->toArray();
?>
<accordian :title="'{{ __('admin::app.catalog.products.channel') }}'" :active="false">
<accordian title="{{ __('admin::app.catalog.products.channel') }}" :active="false">
<div slot="body">
<div class="control-group multi-select" :class="[errors.has('channels[]') ? 'has-error' : '']">
<label for="channels" class="required">{{ __('admin::app.catalog.products.channel') }}</label>

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.downloadable.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.downloadable') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.downloadable') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.downloadable.links.controls.before', ['product' => $product]) !!}

View File

@ -17,7 +17,7 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.grouped_products.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.grouped-products') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.grouped-products') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.grouped_products.controls.before', ['product' => $product]) !!}

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.images.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.images') }}'" :active="false">
<accordian title="{{ __('admin::app.catalog.products.images') }}" :active="false">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.images.controls.before', ['product' => $product]) !!}

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.inventories.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.inventories') }}'" :active="false">
<accordian title="{{ __('admin::app.catalog.products.inventories') }}" :active="false">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.inventories.controls.before', ['product' => $product]) !!}

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.product_links.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.product-link') }}'" :active="false">
<accordian title="{{ __('admin::app.catalog.products.product-link') }}" :active="false">
<div slot="body">
<linked-products></linked-products>

View File

@ -26,7 +26,7 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.variations.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.variations') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.variations') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.variations.controls.before', ['product' => $product]) !!}

View File

@ -1,6 +1,6 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.videos.before', ['product' => $product]) !!}
<accordian :title="'{{ __('admin::app.catalog.products.videos') }}'" :active="false">
<accordian title="{{ __('admin::app.catalog.products.videos') }}" :active="false">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.videos.controls.before', ['product' => $product]) !!}

View File

@ -47,7 +47,7 @@
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.general.before') !!}
<accordian :title="'{{ __('admin::app.catalog.products.general') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.general') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.general.controls.before') !!}
@ -103,7 +103,7 @@
@if ($familyId)
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.configurable_attributes.before') !!}
<accordian :title="'{{ __('admin::app.catalog.products.configurable-attributes') }}'" :active="true">
<accordian title="{{ __('admin::app.catalog.products.configurable-attributes') }}" :active="true">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.create_form_accordian.configurable_attributes.controls.before') !!}

View File

@ -93,7 +93,7 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.' . $attributeGroup->name . '.before', ['product' => $product]) !!}
<accordian :title="'{{ __($attributeGroup->name) }}'"
<accordian title="{{ __($attributeGroup->name) }}"
:active="{{$index == 0 ? 'true' : 'false'}}">
<div slot="body">
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.' . $attributeGroup->name . '.controls.before', ['product' => $product]) !!}

View File

@ -31,7 +31,7 @@
{!! view_render_event('bagisto.admin.cms.pages.create_form_accordian.general.before') !!}
<accordian :title="'{{ __('admin::app.cms.pages.general') }}'" :active="true">
<accordian title="{{ __('admin::app.cms.pages.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('page_title') ? 'has-error' : '']">
<label for="page_title" class="required">{{ __('admin::app.cms.pages.page-title') }}</label>
@ -70,7 +70,7 @@
{!! view_render_event('bagisto.admin.cms.pages.create_form_accordian.seo.before') !!}
<accordian :title="'{{ __('admin::app.cms.pages.seo') }}'" :active="true">
<accordian title="{{ __('admin::app.cms.pages.seo') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="meta_title">{{ __('admin::app.cms.pages.meta_title') }}</label>

View File

@ -68,7 +68,7 @@
<div class="form-container">
@csrf()
<accordian :title="'{{ __('admin::app.cms.pages.general') }}'" :active="true">
<accordian :title="{{ __('admin::app.cms.pages.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('{{$locale}}[page_title]') ? 'has-error' : '']">
<label for="page_title" class="required">{{ __('admin::app.cms.pages.page-title') }}</label>
@ -104,7 +104,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.cms.pages.seo') }}'" :active="true">
<accordian title="{{ __('admin::app.cms.pages.seo') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="meta_title">{{ __('admin::app.cms.pages.meta_title') }}</label>

View File

@ -33,7 +33,7 @@
<input type="hidden" name="customer_id" value="{{ $customer->id }}">
<accordian :title="'{{ __('admin::app.customers.addresses.general') }}'" :active="true">
<accordian title="{{ __('admin::app.customers.addresses.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('company_name') ? 'has-error' : '']">

View File

@ -34,7 +34,7 @@
<input type="hidden" name="customer_id" value="{{ $address->customer_id }}">
<accordian :title="'{{ __('admin::app.customers.addresses.general') }}'" :active="true">
<accordian title="{{ __('admin::app.customers.addresses.general') }}" :active="true">
<div slot="body">
<?php $addresses = explode(PHP_EOL, $address->address1); ?>

View File

@ -31,7 +31,7 @@
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.account.general') }}'" :active="true">
<accordian title="'{{ __('admin::app.account.general') }}" :active="true">
<div slot="body">
<div class="control-group">

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.templates.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.campaigns.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.campaigns.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
@ -85,7 +85,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.marketing.campaigns.audience') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.campaigns.audience') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('channel_id') ? 'has-error' : '']">

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.templates.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.campaigns.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.campaigns.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
@ -88,7 +88,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.marketing.campaigns.audience') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.campaigns.audience') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('channel_id') ? 'has-error' : '']">

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.events.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.events.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.events.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.marketing.events.name') }}</label>

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.events.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.events.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.events.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.templates.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.templates.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.templates.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.marketing.templates.name') }}</label>

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.marketing.templates.create.before') !!}
<accordian :title="'{{ __('admin::app.marketing.templates.general') }}'" :active="true">
<accordian title="{{ __('admin::app.marketing.templates.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.marketing.templates.name') }}</label>

View File

@ -37,7 +37,7 @@
{!! view_render_event('bagisto.admin.promotions.cart-rules.create.before') !!}
<accordian :title="'{{ __('admin::app.promotions.cart-rules.rule-information') }}'" :active="true">
<accordian title="{{ __('admin::app.promotions.cart-rules.rule-information') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
@ -157,7 +157,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.cart-rules.conditions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.cart-rules.conditions') }}" :active="false">
<div slot="body">
<div class="control-group">
@ -184,7 +184,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.cart-rules.actions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.cart-rules.actions') }}" :active="false">
<div slot="body">
<div class="control-group" :class="[errors.has('action_type') ? 'has-error' : '']">

View File

@ -37,7 +37,7 @@
{!! view_render_event('bagisto.admin.promotions.cart-rules.create.before') !!}
<accordian :title="'{{ __('admin::app.promotions.cart-rules.rule-information') }}'" :active="true">
<accordian title="{{ __('admin::app.promotions.cart-rules.rule-information') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.promotions.cart-rules.name') }}</label>
@ -174,7 +174,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.cart-rules.conditions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.cart-rules.conditions') }}" :active="false">
<div slot="body">
<div class="control-group">
<label for="condition_type">{{ __('admin::app.promotions.cart-rules.condition-type') }}</label>
@ -199,7 +199,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.cart-rules.actions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.cart-rules.actions') }}" :active="false">
<div slot="body">
<div class="control-group" :class="[errors.has('action_type') ? 'has-error' : '']">
<label for="action_type" class="required">{{ __('admin::app.promotions.cart-rules.action-type') }}</label>
@ -307,7 +307,7 @@
{!! view_render_event('bagisto.admin.promotions.cart-rules.create.after') !!}
<accordian :title="'{{ __('admin::app.promotions.cart-rules.coupon-codes') }}'" :active="false" v-if="coupon_type && use_auto_generation">
<accordian title="{{ __('admin::app.promotions.cart-rules.coupon-codes') }}" :active="false" v-if="coupon_type && use_auto_generation">
<div slot="body">
<create-coupon-form></create-coupon-form>
</div>

View File

@ -37,7 +37,7 @@
{!! view_render_event('bagisto.admin.promotions.catalog-rules.create.before') !!}
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.rule-information') }}'" :active="true">
<accordian title="{{ __('admin::app.promotions.catalog-rules.rule-information') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.promotions.catalog-rules.name') }}</label>
@ -113,7 +113,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.conditions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.catalog-rules.conditions') }}" :active="false">
<div slot="body">
<div class="control-group">
<label for="condition_type">{{ __('admin::app.promotions.catalog-rules.condition-type') }}</label>
@ -138,7 +138,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.actions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.catalog-rules.actions') }}" :active="false">
<div slot="body">
<div class="control-group" :class="[errors.has('action_type') ? 'has-error' : '']">
<label for="action_type" class="required">{{ __('admin::app.promotions.catalog-rules.action-type') }}</label>

View File

@ -37,7 +37,7 @@
{!! view_render_event('bagisto.admin.promotions.catalog-rules.create.before') !!}
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.rule-information') }}'" :active="true">
<accordian title="{{ __('admin::app.promotions.catalog-rules.rule-information') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.promotions.catalog-rules.name') }}</label>
@ -120,7 +120,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.conditions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.catalog-rules.conditions') }}" :active="false">
<div slot="body">
<div class="control-group">
<label for="condition_type">{{ __('admin::app.promotions.catalog-rules.condition-type') }}</label>
@ -145,7 +145,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.promotions.catalog-rules.actions') }}'" :active="false">
<accordian title="{{ __('admin::app.promotions.catalog-rules.actions') }}" :active="false">
<div slot="body">
<div class="control-group" :class="[errors.has('action_type') ? 'has-error' : '']">
<label for="action_type" class="required">{{ __('admin::app.promotions.catalog-rules.action-type') }}</label>

View File

@ -28,7 +28,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
@ -111,7 +111,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -143,7 +143,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -221,7 +221,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<div class="table">

View File

@ -45,7 +45,7 @@
<tabs>
<tab name="{{ __('admin::app.sales.orders.info') }}" :selected="true">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -140,7 +140,7 @@
</accordian>
@if ($order->billing_address || $order->shipping_address)
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
@if ($order->billing_address)
@ -175,7 +175,7 @@
</accordian>
@endif
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<div class="table">
<div class="table-responsive">

View File

@ -61,7 +61,7 @@
<tab name="{{ __('admin::app.sales.orders.info') }}" :selected="true">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
@ -160,7 +160,7 @@
</accordian>
@if ($order->billing_address || $order->shipping_address)
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
@if($order->billing_address)
@ -195,7 +195,7 @@
</accordian>
@endif
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
@ -278,7 +278,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<div class="table">
<div class="table-responsive">

View File

@ -28,7 +28,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -111,7 +111,7 @@
</accordian>
@if ($order->billing_address || $order->shipping_address)
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
@ -147,7 +147,7 @@
</accordian>
@endif
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -209,7 +209,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<refund-items></refund-items>

View File

@ -25,7 +25,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -108,7 +108,7 @@
</accordian>
@if ($order->billing_address || $order->shipping_address)
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
@if ($order->billing_address)
@ -143,7 +143,7 @@
</accordian>
@endif
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -205,7 +205,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<div class="table">

View File

@ -28,7 +28,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -110,7 +110,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -142,7 +142,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -214,7 +214,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<order-item-list></order-item-list>

View File

@ -24,7 +24,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.orders.order-and-account') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.order-and-account') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -107,7 +107,7 @@
</accordian>
@if ($order->billing_address || $order->shipping_address)
<accordian :title="'{{ __('admin::app.sales.orders.address') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.address') }}" :active="true">
<div slot="body">
<div class="sale">
@if ($order->billing_address)
@ -142,7 +142,7 @@
</accordian>
@endif
<accordian :title="'{{ __('admin::app.sales.orders.payment-and-shipping') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.payment-and-shipping') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section">
@ -236,7 +236,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.orders.products-ordered') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.orders.products-ordered') }}" :active="true">
<div slot="body">
<div class="table">

View File

@ -22,7 +22,7 @@
<div class="page-content">
<div class="sale-container">
<accordian :title="'{{ __('admin::app.sales.transactions.transaction-data') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.transactions.transaction-data') }}" :active="true">
<div slot="body">
<div class="sale">
<div class="sale-section" style="width:100%">
@ -104,7 +104,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.sales.transactions.transaction-details') }}'" :active="true">
<accordian title="{{ __('admin::app.sales.transactions.transaction-details') }}" :active="true">
<div slot="body">
@php
$transData = json_decode(json_encode(json_decode($transaction['data'])), true);

View File

@ -31,7 +31,7 @@
{!! view_render_event('bagisto.admin.settings.channel.create.before') !!}
{{-- general --}}
<accordian :title="'{{ __('admin::app.settings.channels.general') }}'" :active="true">
<accordian title="'{{ __('admin::app.settings.channels.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
@ -86,7 +86,7 @@
</accordian>
{{-- currencies and locales --}}
<accordian :title="'{{ __('admin::app.settings.channels.currencies-and-locales') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.channels.currencies-and-locales') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('locales[]') ? 'has-error' : '']">
@ -141,7 +141,7 @@
</accordian>
{{-- design --}}
<accordian :title="'{{ __('admin::app.settings.channels.design') }}'" :active="true">
<accordian title="'{{ __('admin::app.settings.channels.design') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="theme">{{ __('admin::app.settings.channels.theme') }}</label>
@ -167,7 +167,7 @@
<div class="control-group">
<label>{{ __('admin::app.settings.channels.logo') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="logo" :multiple="false"></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="logo" :multiple="false"></image-wrapper>
<span class="control-info mt-10">{{ __('admin::app.settings.channels.logo-size') }}</span>
</div>
@ -175,7 +175,7 @@
<div class="control-group">
<label>{{ __('admin::app.settings.channels.favicon') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="logo" :multiple="false"></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="logo" :multiple="false"></image-wrapper>
<span class="control-info mt-10">{{ __('admin::app.settings.channels.favicon-size') }}</span>
</div>

View File

@ -46,7 +46,7 @@
{!! view_render_event('bagisto.admin.settings.channel.edit.before') !!}
{{-- general --}}
<accordian :title="'{{ __('admin::app.settings.channels.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.channels.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
@ -110,7 +110,7 @@
</accordian>
{{-- currencies and locales --}}
<accordian :title="'{{ __('admin::app.settings.channels.currencies-and-locales') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.channels.currencies-and-locales') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('locales[]') ? 'has-error' : '']">
@ -169,7 +169,7 @@
</accordian>
{{-- design --}}
<accordian :title="'{{ __('admin::app.settings.channels.design') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.channels.design') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="theme">{{ __('admin::app.settings.channels.theme') }}</label>
@ -204,7 +204,7 @@
<div class="control-group">
<label>{{ __('admin::app.settings.channels.logo') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="logo" :multiple="false" :images='"{{ $channel->logo_url }}"'></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="logo" :multiple="false" :images='"{{ $channel->logo_url }}"'></image-wrapper>
<span class="control-info mt-10">{{ __('admin::app.settings.channels.logo-size') }}</span>
</div>
@ -212,7 +212,7 @@
<div class="control-group">
<label>{{ __('admin::app.settings.channels.favicon') }}</label>
<image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="favicon" :multiple="false" :images='"{{ $channel->favicon_url }}"'></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}" input-name="favicon" :multiple="false" :images='"{{ $channel->favicon_url }}"'></image-wrapper>
<span class="control-info mt-10">{{ __('admin::app.settings.channels.favicon-size') }}</span>
</div>

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.settings.currencies.create.before') !!}
<accordian :title="'{{ __('admin::app.settings.currencies.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.currencies.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">

View File

@ -31,7 +31,7 @@
{!! view_render_event('bagisto.admin.settings.currencies.edit.before') !!}
<accordian :title="'{{ __('admin::app.settings.currencies.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.currencies.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">

View File

@ -30,7 +30,7 @@
{!! view_render_event('bagisto.admin.settings.inventory.create.before') !!}
<accordian :title="'{{ __('admin::app.settings.inventory_sources.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.inventory_sources.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
@ -80,7 +80,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.settings.inventory_sources.contact-info') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.inventory_sources.contact-info') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('contact_name') ? 'has-error' : '']">
@ -109,7 +109,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.settings.inventory_sources.address') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.inventory_sources.address') }}" :active="true">
<div slot="body">
@include ('admin::customers.country-state', ['countryCode' => old('country'), 'stateCode' => old('state')])

View File

@ -32,7 +32,7 @@
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.settings.inventory_sources.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.inventory_sources.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
@ -82,7 +82,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.settings.inventory_sources.contact-info') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.inventory_sources.contact-info') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('contact_name') ? 'has-error' : '']">
@ -111,7 +111,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.settings.inventory_sources.address') }}'" :active="true">
<accordian title="'{{ __('admin::app.settings.inventory_sources.address') }}" :active="true">
<div slot="body">
@include ('admin::customers.country-state', ['countryCode' => old('country') ?? $inventorySource->country, 'stateCode' => old('state') ?? $inventorySource->state])

View File

@ -29,7 +29,7 @@
{!! view_render_event('bagisto.admin.settings.locale.create.before') !!}
<accordian :title="'{{ __('admin::app.settings.locales.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.locales.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
<label for="code" class="required">{{ __('admin::app.settings.locales.code') }}</label>
@ -58,7 +58,7 @@
<image-wrapper
input-name="locale_image"
:multiple="false"
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}">
</image-wrapper>
<span class="control-info mt-10">{{ __('velocity::app.admin.meta-data.image-locale-resolution') }}</span>

View File

@ -31,7 +31,7 @@
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.settings.locales.general') }}'" :active="true">
<accordian title="{{ __('admin::app.settings.locales.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('code') ? 'has-error' : '']">
@ -71,13 +71,13 @@
input-name="locale_image"
:multiple="false"
:images='"{{ Storage:: url($locale->locale_image) }}"'
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}">
</image-wrapper>
@else
<image-wrapper
input-name="locale_image"
:multiple="false"
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
button-label="{{ __('admin::app.catalog.products.add-image-btn-title') }}">
</image-wrapper>
@endif

View File

@ -85,7 +85,7 @@
<label class="required">{{ __('admin::app.catalog.categories.image') }}</label>
<span class="control-info mt-10">{{ __('admin::app.settings.sliders.image-size') }}</span>
<image-wrapper :button-label="'{{ __('admin::app.settings.sliders.image') }}'" input-name="image" :multiple="false"></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.settings.sliders.image') }}" input-name="image" :multiple="false"></image-wrapper>
<span class="control-error" v-if="{!! $errors->has('image.*') !!}">
@foreach ($errors->get('image.*') as $key => $message)

View File

@ -88,7 +88,7 @@
<label class="required">{{ __('admin::app.catalog.categories.image') }}</label>
<span class="control-info mt-10">{{ __('admin::app.settings.sliders.image-size') }}</span>
<image-wrapper :button-label="'{{ __('admin::app.settings.sliders.image') }}'" input-name="image" :multiple="false" :images='"{{ Storage::url($slider->path) }}"'></image-wrapper>
<image-wrapper button-label="{{ __('admin::app.settings.sliders.image') }}" input-name="image" :multiple="false" :images='"{{ Storage::url($slider->path) }}"'></image-wrapper>
<span class="control-error" v-if="{!! $errors->has('image.*') !!}">
@foreach ($errors->get('image.*') as $key => $message)

View File

@ -28,7 +28,7 @@
<div class="form-container">
@csrf()
<accordian :title="'{{ __('admin::app.users.roles.general') }}'" :active="true">
<accordian title="{{ __('admin::app.users.roles.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.users.roles.name') }}</label>
@ -43,7 +43,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.users.roles.access-control') }}'" :active="true">
<accordian title="{{ __('admin::app.users.roles.access-control') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="permission_type">{{ __('admin::app.users.roles.permissions') }}</label>

View File

@ -30,7 +30,7 @@
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.users.roles.general') }}'" :active="true">
<accordian title="{{ __('admin::app.users.roles.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.users.roles.name') }}</label>
@ -45,7 +45,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.users.roles.access-control') }}'" :active="true">
<accordian title="{{ __('admin::app.users.roles.access-control') }}" :active="true">
<div slot="body">
<div class="control-group">
<label for="permission_type">{{ __('admin::app.users.roles.permissions') }}</label>

View File

@ -27,7 +27,7 @@
<div class="form-container">
@csrf()
<accordian :title="'{{ __('admin::app.users.users.general') }}'" :active="true">
<accordian title="{{ __('admin::app.users.users.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.users.users.name') }}</label>
@ -43,7 +43,7 @@
</div>
</accordian>
<accordian :title="'{{ __('Password') }}'" :active="true">
<accordian title="{{ __('Password') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('password') ? 'has-error' : '']">
<label for="password">{{ __('admin::app.users.users.password') }}</label>
@ -59,7 +59,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.users.users.status-and-role') }}'" :active="true">
<accordian title="{{ __('admin::app.users.users.status-and-role') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('role_id') ? 'has-error' : '']">
<label for="role" class="required">{{ __('admin::app.users.users.role') }}</label>

View File

@ -28,7 +28,7 @@
@csrf()
<input name="_method" type="hidden" value="PUT">
<accordian :title="'{{ __('admin::app.users.users.general') }}'" :active="true">
<accordian title="{{ __('admin::app.users.users.general') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('name') ? 'has-error' : '']">
<label for="name" class="required">{{ __('admin::app.users.users.name') }}</label>
@ -44,7 +44,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.users.users.password') }}'" :active="true">
<accordian title="{{ __('admin::app.users.users.password') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('password') ? 'has-error' : '']">
<label for="password">{{ __('admin::app.users.users.password') }}</label>
@ -60,7 +60,7 @@
</div>
</accordian>
<accordian :title="'{{ __('admin::app.users.users.status-and-role') }}'" :active="true">
<accordian title="{{ __('admin::app.users.users.status-and-role') }}" :active="true">
<div slot="body">
<div class="control-group" :class="[errors.has('role_id') ? 'has-error' : '']">
<label for="role" class="required">{{ __('admin::app.users.users.role') }}</label>