Issue #4583 fixed
This commit is contained in:
parent
8e2083204b
commit
398fbdc7eb
|
|
@ -60,7 +60,7 @@
|
|||
<div class="control-group" :class="[errors.has('marketing_template_id') ? 'has-error' : '']">
|
||||
<label for="marketing_template_id" class="required">{{ __('admin::app.marketing.campaigns.email-template') }}</label>
|
||||
<select v-validate="'required'" class="control" id="marketing_template_id" name="marketing_template_id" data-vv-as=""{{ __('admin::app.marketing.campaigns.email-template') }}"">
|
||||
@foreach (app('Webkul\Marketing\Repositories\TemplateRepository')->all() as $template)
|
||||
@foreach (app('Webkul\Marketing\Repositories\TemplateRepository')->findWhere(['status' => 'active']) as $template)
|
||||
<option value="{{ $template->id }}" {{ old('marketing_template_id') == $template->id ? 'selected' : '' }}>
|
||||
{{ $template->name }}
|
||||
</option>
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
|
||||
</div>
|
||||
</accordian>
|
||||
|
||||
|
||||
{!! view_render_event('bagisto.admin.marketing.templates.create.after') !!}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
<label for="marketing_template_id" class="required">{{ __('admin::app.marketing.campaigns.email-template') }}</label>
|
||||
<?php $selectedOption = old('marketing_template_id') ?: $campaign->marketing_template_id ?>
|
||||
<select v-validate="'required'" class="control" id="marketing_template_id" name="marketing_template_id" data-vv-as=""{{ __('admin::app.marketing.campaigns.email-template') }}"">
|
||||
@foreach (app('Webkul\Marketing\Repositories\TemplateRepository')->all() as $template)
|
||||
@foreach (app('Webkul\Marketing\Repositories\TemplateRepository')->findWhere(['status' => 'active']) as $template)
|
||||
<option value="{{ $template->id }}" {{ $selectedOption == $template->id ? 'selected' : '' }}>
|
||||
{{ $template->name }}
|
||||
</option>
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
|
||||
</div>
|
||||
</accordian>
|
||||
|
||||
|
||||
{!! view_render_event('bagisto.admin.marketing.templates.create.after') !!}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue