@extends('layouts.app') @push('title') اعدادات الموقع @endpush @section('content')
{{ Form::open(['route' => 'settings.update', 'files'=>true])}}

اعدادات الموقع

{{Form::label('company_name', 'اسم اشلركة', ['class' => 'form-control-label'])}} {{ Form::text('company_name', setting('company_name'), ['class'=>"form-control"])}}
{{Form::label('company_email', 'البريد الاكتروني للشركة', ['class' => 'form-control-label'])}} {{ Form::text('company_email', setting('company_email'), ['class'=>"form-control"])}}
{{Form::label('company_phone', 'رقم هاتف الشركة', ['class' => 'form-control-label'])}} {{ Form::text('company_phone', setting('company_phone'), ['class'=>"form-control"])}}
{{Form::label('company_address', 'عنوان الشركة', ['class' => 'form-control-label'])}} {{ Form::text('company_address', setting('company_address'), ['class'=>"form-control"])}}
{{Form::label('company_city', 'المدينة', ['class' => 'form-control-label'])}} {{ Form::text('company_city', setting('company_city'), ['class'=>"form-control"])}}
{{Form::label('company_logo', 'شعار الموقع', ['class' => 'form-control-label'])}}
בחר شعار الموقع @if (setting('company_logo')) @else @endif
@if (setting('company_logo')) Image placeholder @endif

اعدادات العرض

{{Form::label('record_per_page', 'دد العناصر في كل صفحة', ['class' => 'form-control-label'])}} {{ Form::text('record_per_page', setting('record_per_page'), ['class'=>"form-control"])}}
{{Form::label('company_currency_symbol', 'رمز العملة', ['class' => 'form-control-label'])}} {{ Form::text('company_currency_symbol', setting('company_currency_symbol'), ['class'=>"form-control"])}}

اعدادات اخرى

{{ Form::label('default_role', 'ارسال اشعار الى الادمن عند تسجيل حساب جديد', ['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', 'الصلاحيات الافتراضية عند انشاء حساب جديد', ['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', 'الحد الأقصى لمحاولات تسجيل الدخول غير الصالحة', ['class' => 'form-control-label'])}} {{ Form::text('max_login_attempts', setting('max_login_attempts'), ['class'=>"form-control"])}}
{{Form::label('lockout_delay', 'قفل التامين (بالدقائق)', ['class' => 'form-control-label'])}} {{ Form::text('lockout_delay', setting('lockout_delay'), ['class'=>"form-control"])}}
{!! Form::submit('تحديث الاعدادات', ['class'=> 'btn btn-primary']) !!}
{{Form::close()}}
@endsection @push('scripts') @endpush