{!! Form::label('name', trans('app.form.name') . '*', ['class' => 'with-help']) !!} {!! Form::text('name', null, ['class' => 'form-control makeSlug', 'placeholder' => trans('app.placeholder.name'), 'required']) !!}
{!! Form::label('active', trans('app.form.status') . '*', ['class' => 'with-help']) !!} {!! Form::select('active', ['1' => trans('app.active'), '0' => trans('app.inactive')], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
{!! Form::label('code', trans('app.form.code') . '*', ['class' => 'with-help']) !!}
{!! Form::text('code', null, ['class' => 'form-control code', 'placeholder' => trans('app.placeholder.code'), isset($coupon) ? 'disabled' : 'required']) !!}
{!! Form::label('value', trans('help.coupon_value') . '*', ['class' => 'with-help']) !!}
{!! Form::number('value', null, ['class' => 'form-control', 'step' => 'any', 'placeholder' => trans('app.placeholder.coupon_value'), 'required']) !!} {!! Form::select('type', ['amount' => get_formated_currency_symbol(), 'percent' => trans('app.percent')], null, ['class' => 'selectpicker']) !!}
{!! Form::label('quantity', trans('app.form.coupon_quantity') . '*', ['class' => 'with-help']) !!} {!! Form::number('quantity', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.quantity'), 'required']) !!}
{!! Form::label('min_order_amount', trans('app.form.coupon_min_order_amount'), ['class' => 'with-help']) !!}
@if (get_currency_prefix()) {{ get_currency_prefix() }} @endif {!! Form::number('min_order_amount', null, ['class' => 'form-control', 'step' => 'any', 'placeholder' => trans('app.placeholder.coupon_min_order_amount')]) !!} @if (get_currency_suffix()) {{ get_currency_suffix() }} @endif
{!! Form::label('quantity_per_customer', trans('app.form.coupon_quantity_per_customer'), ['class' => 'with-help']) !!} {!! Form::number('quantity_per_customer', !isset($coupon) ? 1 : null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.coupon_quantity_per_customer')]) !!}
{!! Form::label('description', trans('app.form.description')) !!} {!! Form::textarea('description', null, ['class' => 'form-control summernote-without-toolbar', 'placeholder' => trans('app.placeholder.description')]) !!}
{!! Form::checkbox('for_limited_shipping_zones', null, isset($coupon) && $coupon->forLimitedZone(), ['id' => 'for_limited_shipping_zones', 'class' => 'icheckbox_line']) !!} {!! Form::label('for_limited_shipping_zones', trans('app.form.limited_to_shipping_zone')) !!}
{!! Form::checkbox('for_limited_customer', null, isset($coupon) && $coupon->forLimitedCustomer(), ['id' => 'for_limited_customer', 'class' => 'icheckbox_line']) !!} {!! Form::label('for_limited_customer', trans('app.form.limited_to_customer')) !!}
{!! Form::label('zone_list[]', trans('app.form.shipping_zones') . '*', ['class' => 'with-help']) !!} {!! Form::select('zone_list[]', $shipping_zones, null, ['id' => 'zone_list_field', 'class' => 'form-control select2-normal', 'multiple' => 'multiple']) !!}
@include('admin.partials._search_customer_multiple')
{!! Form::label('starting_time', trans('app.form.starting_time') . '*', ['class' => 'with-help']) !!}
{!! Form::text('starting_time', null, ['class' => 'form-control datetimepicker', 'placeholder' => trans('app.placeholder.starting_time'), 'required']) !!}
{!! Form::label('ending_time', trans('app.form.ending_time') . '*', ['class' => 'with-help']) !!}
{!! Form::text('ending_time', null, ['class' => 'form-control datetimepicker', 'placeholder' => trans('app.placeholder.ending_time'), 'required']) !!}

* {{ trans('app.form.required_fields') }}