@if(isset($zone))
{{ Form::model($zone, ['route' => ['backend.zone.update',$zone->id], 'method' => 'patch','class'=>'form-horizontal form-material','data-parsley-validate'=>'','autocomplete'=>'off','enctype'=>'multipart/form-data','id'=>'zoneForm']) }}
@php
$fromZone = explode(",",$zone->from_zone_id);
$toZone = explode(",",$zone->to_zone_id);
@endphp
@else
{{ Form::open(['route' => 'backend.zone.store','class' => 'form-horizontal form-material','data-parsley-validate' => '','method' => 'POST','autocomplete' => 'off','enctype' => 'multipart/form-data','id' => 'zoneForm']) }}
@php
$fromZone = [];
$toZone = [];
@endphp
@endif
Zone Discount Details
Details of Zone Discount
{{ Form::select('from_zone_id[]',$zoneMaster ,$fromZone,['class' => 'form-control select2','multiple'=>'multiple','id' => 'SelctFrom']) }}
@if (isset($errors) && $errors->first('from_zone_id'))
{{ $errors->first('from_zone_id') }}
@endif
{{--
--}}
{{ Form::select('to_zone_id[]', $zoneMaster, $toZone,['class' => 'form-control select2','multiple'=>'multiple','id' => 'SelctTo']) }}
@if (isset($errors) && $errors->first('to_zone_id'))
{{ $errors->first('to_zone_id') }}
@endif
{{ Form::hidden('to_zone_id[]', -2, ['disabled' => true,'id'=>'to_zone_id']) }}
{{ Form::text('ups_express', Input::old('ups_express'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_express'))
{{ $errors->first('ups_express') }}
@endif
{{ Form::text('ups_standard', Input::old('ups_standard'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_standard'))
{{ $errors->first('ups_standard') }}
@endif
{{ Form::text('ups_next_day_air', Input::old('ups_next_day_air'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_next_day_air'))
{{ $errors->first('ups_next_day_air') }}
@endif
{{ Form::text('ups_2nd_day_air', Input::old('ups_2nd_day_air'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_2nd_day_air'))
{{ $errors->first('ups_2nd_day_air') }}
@endif
{{ Form::text('ups_ground', Input::old('ups_ground'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_ground'))
{{ $errors->first('ups_ground') }}
@endif
{{ Form::text('ups_express_saver', Input::old('ups_express_saver'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_express_saver'))
{{ $errors->first('ups_express_saver') }}
@endif
{{ Form::text('ups_expedited', Input::old('ups_expedited'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_expedited'))
{{ $errors->first('ups_expedited') }}
@endif
{{ Form::text('ups_3_day_select', Input::old('ups_3_day_select'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_3_day_select'))
{{ $errors->first('ups_3_day_select') }}
@endif
{{ Form::text('ups_express_plus', Input::old('ups_express_plus'), ['class' => 'form-control ups_text','autofocus' => 'true']) }}
@if (isset($errors) && $errors->first('ups_express_plus'))
{{ $errors->first('ups_express_plus') }}
@endif
{{ Form::close() }}