@extends('layouts.app') @section('content')
{{ Form::open(['route' => 'settings.update', 'files'=>true])}}

General Settings

{{Form::label('company_name', 'Company Name', ['class' => 'form-control-label'])}} {{ Form::text('company_name', setting('company_name'), ['class'=>"form-control"])}}
{{Form::label('company_email', 'Company Email', ['class' => 'form-control-label'])}} {{ Form::text('company_email', setting('company_email'), ['class'=>"form-control"])}}
{{Form::label('company_phone', 'Company Phone', ['class' => 'form-control-label'])}} {{ Form::text('company_phone', setting('company_phone'), ['class'=>"form-control"])}}
{{Form::label('company_address', 'Company Address', ['class' => 'form-control-label'])}} {{ Form::text('company_address', setting('company_address'), ['class'=>"form-control"])}}
{{Form::label('company_city', 'City', ['class' => 'form-control-label'])}} {{ Form::text('company_city', setting('company_city'), ['class'=>"form-control"])}}
{{Form::label('company_logo', 'Company Logo', ['class' => 'form-control-label'])}}
Choose Logo @if (setting('company_logo')) @else @endif
@if (setting('company_logo')) Image placeholder @endif

Display Settings

{{Form::label('record_per_page', 'Record Per Page', ['class' => 'form-control-label'])}} {{ Form::text('record_per_page', setting('record_per_page'), ['class'=>"form-control"])}}
{{Form::label('company_currency_symbol', 'Currency Symbol', ['class' => 'form-control-label'])}} {{ Form::text('company_currency_symbol', setting('company_currency_symbol'), ['class'=>"form-control"])}}

Other Settings

{{ Form::label('default_role', 'User Registeration Admin Notification Email', ['class' => 'form-control-label']) }}
{!! Form::hidden('register_notification_email', 0) !!} {{ Form::label('register_notification_email', 'Activate', ['class' => 'custom-control-label form-control-label']) }}
{{ Form::label('default_role', 'Select default register role', ['class' => 'form-control-label']) }} {{ Form::select('default_role', $roles, setting('default_role', null), [ 'class'=> 'selectpicker form-control', 'placeholder' => 'Select role...']) }}
{{Form::label('max_login_attempts', 'Maximum invaild login attempts', ['class' => 'form-control-label'])}} {{ Form::text('max_login_attempts', setting('max_login_attempts'), ['class'=>"form-control"])}}
{{Form::label('lockout_delay', 'Lockout delay (minutes)', ['class' => 'form-control-label'])}} {{ Form::text('lockout_delay', setting('lockout_delay'), ['class'=>"form-control"])}}
{!! Form::submit('Update Settings', ['class'=> 'btn btn-primary']) !!}
{{Form::close()}}
@endsection @push('scripts') @endpush