@if(session()->has('settings_saved')) @endif @if(session()->has('settings_not_saved')) @endif @include('includes.form_errors')
{!! Form::open(['method'=>'patch', 'action'=>'ManageAppSettingsController@updateBusiness', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']) !!}

@lang('Business Settings')

{!! Form::label('name', __('App Name:')) !!} {!! Form::text('name', config('app.name'), ['class'=>'form-control', 'placeholder'=>__('App Name'), 'required'])!!}
{!! Form::label('url', __('App URL / Site URL:')) !!} {!! Form::text('url', config('app.url'), ['class'=>'form-control', 'placeholder'=>__('App URL'), 'required'])!!}
{!! Form::label('timezone', __('Timezone:')) !!} {!! Form::select('timezone', $timezones, config('app.timezone'), ['class'=>'form-control', 'required'])!!}
{!! Form::label('currency', __('Currency:')) !!} {!! Form::select('currency', $currencies, config('currency.default'), ['class'=>'form-control', 'required'])!!}
{!! Form::label('language', __('Language:')) !!} {!! Form::select('language', $languages, config('app.locale'), ['class'=>'form-control', 'required'])!!}
{!! Form::label('currencyconverterapi_key', __('CurrencyConverterAPI Key:')) !!}
@lang('In case you are using payment methods which supports different currencies than currently set.') @lang('Click to get your API key')
{!! Form::text('currencyconverterapi_key', config('settings.currencyconverterapi_key'), ['class'=>'form-control', 'placeholder'=>__('Enter currency converter API key')])!!}
{!! Form::label('title', __('Meta Title:')) !!} {!! Form::text('title', config('custom.meta_title'), ['class'=>'form-control', 'placeholder'=>__('Enter meta title')]) !!}
{!! Form::label('description', __('Meta Description:')) !!} {!! Form::textarea('description', config('custom.meta_description'), ['rows'=>6, 'class'=>'form-control', 'placeholder'=>__('Enter meta description')]) !!}
{!! Form::label('keywords', __('Meta Keywords:')) !!} {!! Form::textarea('keywords', config('custom.meta_keywords'), ['rows'=>3, 'class'=>'form-control', 'placeholder'=>__('Enter meta keywords')]) !!}
{!! Form::label('google_analytics_script', __('Google Analytics Script:')) !!} {!! Form::textarea('google_analytics_script', config('analytics.google_analytics_script'), ['class'=>'form-control', 'placeholder'=>__('Enter Google Analytics Script')])!!}
{!! Form::submit(__('Save Settings'), ['class'=>'btn btn-primary col-xs-6 col-sm-6 pull-left', 'name'=>'submit_button']) !!}
{!! Form::close() !!}