@extends('admin.layout') @section('content')

{{ translate('BusinessSetting') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\BusinessSettingController@BusinessSetting', 'files' => true, 'class' => 'form_to_submit']) !!}

{{ translate('BusinessSetting') }}

{!! Form::select('system_default_currency', $currencies, \App\BusinessSetting::where('type', 'system_default_currency')->first()->value, ['class' => 'form-control select2', 'placeholder' => translate('System default currency')]) !!}
{!! Form::select('front_default_languages', $front_default_languages, \App\BusinessSetting::where('type', 'front_default_languages')->first()->value, ['class' => 'form-control select2', 'placeholder' => translate('Front default languages label')]) !!}
{!! Form::select('front_default_countries', $front_default_countries, \App\BusinessSetting::where('type', 'front_default_countries')->first()->value, ['class' => 'form-control select2', 'placeholder' => translate('Front default country label')]) !!}
{!! Form::text('vendor_commission', \App\BusinessSetting::where('type', 'vendor_commission')->first()->value, ['class' => 'form-control', 'placeholder' => translate('Vendor commission')]) !!}

{!! Form::checkbox('show_vendors', null, \App\BusinessSetting::where('type', 'show_vendors')->first()->value, ['id' => 'Checkbox_2']) !!}
{!! Form::checkbox('facebook_login', null, \App\BusinessSetting::where('type', 'facebook_login')->first()->value, ['id' => 'Checkbox_3']) !!}
{!! Form::checkbox('google_login', null, \App\BusinessSetting::where('type', 'google_login')->first()->value, ['id' => 'Checkbox_4']) !!}
{!! Form::checkbox('twitter_login', null, \App\BusinessSetting::where('type', 'twitter_login')->first()->value, ['id' => 'Checkbox_5']) !!}
{!! Form::Close() !!}
@endsection @section('script') @endsection