{{ Form::model($site, ['method' => 'POST','route' => ['sitesetup'],'enctype'=>'multipart/form-data','data-toggle'=>'validator']) }} {{ Form::hidden('id', null, array('placeholder' => 'id','class' => 'form-control')) }} {{ Form::hidden('page', $page, array('placeholder' => 'id','class' => 'form-control')) }}
@php $languages = []; $languagesname = []; if ($site) { $decodedData = json_decode($site->value, true); $languages = isset($decodedData['language_option']) ? $decodedData['language_option'] : []; } @endphp
{{ Form::select('default_currency',[], old('default_currency'), [ 'class' => 'select2js form-group country', 'id' => 'default_currency', 'data-placeholder' => __('messages.select_name',[ 'select' => __('messages.currency') ]), ]) }}
{{ Form::select('currency_position',['left' => __('messages.left') , 'right' => __('messages.right') ], isset($site->currency_position) ? $site->currency_position : 'left',[ 'class' =>'form-control select2js']) }}
@hasanyrole('admin')
{{ Form::label('google_map_keys',trans('messages.google_map_keys').' ',['class'=>'col-sm-6 form-control-label'], false ) }}
{{ Form::text('google_map_keys',old('google_map_keys'),['id'=>'google_map_keys','placeholder' => trans('messages.google_map_keys'),'class' =>'form-control']) }}
@endhasanyrole
{{ Form::text('latitude',old('latitude'),['id'=>'latitude','placeholder' => trans('messages.latitude'),'class' =>'form-control']) }}
{{ Form::text('longitude',old('longitude'),['id'=>'longitude','placeholder' => trans('messages.longitude'),'class' =>'form-control']) }}
{{ Form::select('distance_type',['km' => __('messages.km') , 'mile' => __('messages.mile') ], isset($site->distance_type) ? $site->distance_type : 'km',[ 'class' =>'form-control select2js']) }}
{{ Form::number('radious',old('radious'),['id'=>'radious','placeholder' => '50','class' =>'form-control']) }}
{{ Form::number('digitafter_decimal_point',old('digitafter_decimal_point'),['id'=>'digitafter_decimal_point','placeholder' => '1','class' =>'form-control']) }}
{{ Form::text('site_copyright', null, ['class'=>"form-control" , 'placeholder'=>__('messages.copyright_text')]) }}
android_app_links) ? 'checked' : '' }}>
{{ Form::label('playstore_url',trans('messages.playstore_url').' ',['class'=>'form-control-label'], false ) }} {{ Form::text('playstore_url',old('playstore_url'),['id'=>'playstore_url','placeholder' => trans('messages.playstore_url'),'class' =>'form-control']) }}
{{ Form::label('provider_playstore_url',trans('messages.provider_playstore_url').' ',['class'=>'form-control-label'], false ) }} {{ Form::text('provider_playstore_url',old('provider_playstore_url'),['id'=>'provider_playstore_url','placeholder' => trans('messages.provider_playstore_url'),'class' =>'form-control']) }}
ios_app_links) ? 'checked' : '' }}>
{{ Form::label('appstore_url',trans('messages.appstore_url').' ',['class'=>'form-control-label'], false ) }} {{ Form::text('appstore_url',old('appstore_url'),['id'=>'appstore_url','placeholder' => trans('messages.appstore_url'),'class' =>'form-control']) }}
{{ Form::label('provider_appstore_url',trans('messages.provider_appstore_url').' ',['class'=>'form-control-label'], false ) }} {{ Form::text('provider_appstore_url',old('provider_appstore_url'),['id'=>'provider_appstore_url','placeholder' => trans('messages.provider_appstore_url'),'class' =>'form-control']) }}
{{ Form::submit(__('messages.save'), ['class'=>"btn btn-md btn-primary float-md-right"]) }}
{{ Form::close() }}