@if($country->id == 0)
{!! Form::label('country','Country') !!} {!! Form::select('country' , $countries , optional($country)->country_id ?? '' , ['class' => 'form-control','placeholder' => 'Country','required'=>'true']) !!}
@endif
{!! Form::label('currency','Currency') !!} {!! Form::select('currency[]',$currencies , (!empty($country->currency_id)) ? json_decode($country->currency_id,true) : [] , ['class' => 'form-control currency_id','multiple','style' => 'width:100%']) !!}
{!! Form::label('zip_digits','Digits for Zipcode') !!} {!! Form::number('zip_digits' , optional($country)->zip_digits ?? 20 , ['class' => 'form-control']) !!}
{!! Form::checkbox('allowed_character' , 1 ,optional($country)->allowed_character ?? 1) !!} {!! Form::label('allowed_character','Allowed characters') !!}
@if($country->id > 0) @endif