@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.general_title') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

{{ trans('admin/settings/general.general_settings') }}

{{ trans('admin/settings/general.full_multiple_companies_support_text') }}
{!! $errors->first('full_multiple_companies_support', '') !!}

{{ trans('admin/settings/general.full_multiple_companies_support_help_text') }}

{{ trans('admin/settings/general.require_accept_signature') }}
{!! $errors->first('require_accept_signature', '') !!}

{{ trans('admin/settings/general.require_accept_signature_help_text') }}

{{ Form::label('email_domain', trans('general.email_domain')) }}
{{ Form::text('email_domain', Request::old('email_domain', $setting->email_domain), array('class' => 'form-control','placeholder' => 'example.com')) }} {{ trans('general.email_domain_help') }} {!! $errors->first('email_domain', '') !!}
{{ Form::label('email_format', trans('general.email_format')) }}
{!! Form::username_format('email_format', old('email_format', $setting->email_format), 'select2') !!} {!! $errors->first('email_format', '') !!}
{{ Form::label('username_format', trans('general.username_format')) }}
{!! Form::username_format('username_format', old('username_format', $setting->username_format), 'select2') !!} {!! $errors->first('username_format', '') !!}

{{ trans('admin/settings/general.username_format_help') }}

{{ trans('admin/settings/general.show_images_in_email') }}
{{ trans('admin/settings/general.load_remote') }}

{{ trans('admin/settings/general.load_remote_help_text') }}

{{ trans('admin/settings/general.unique_serial') }}

{{ trans('admin/settings/general.unique_serial_help_text') }}

{{ Form::label('per_page', trans('admin/settings/general.per_page')) }}
{{ Form::text('per_page', old('per_page', $setting->per_page), array('class' => 'form-control','placeholder' => '5', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('per_page', '') !!}
{{ Form::label('thumbnail_max_h', trans('admin/settings/general.thumbnail_max_h')) }}
{{ Form::text('thumbnail_max_h', Request::old('thumbnail_max_h', $setting->thumbnail_max_h), array('class' => 'form-control','placeholder' => '50', 'maxlength'=>'3', 'style'=>'width: 60px;')) }}

{{ trans('admin/settings/general.thumbnail_max_h_help') }}

{!! $errors->first('thumbnail_max_h', '') !!}
{{ Form::label('default_eula_text', trans('admin/settings/general.default_eula_text')) }}
{{ Form::textarea('default_eula_text', old('default_eula_text', $setting->default_eula_text), array('class' => 'form-control','placeholder' => 'Add your default EULA text')) }} {!! $errors->first('default_eula_text', '') !!}

{{ trans('admin/settings/general.default_eula_help_text') }}

{!! trans('admin/settings/general.eula_markdown') !!}

{{ Form::label('login_note', trans('admin/settings/general.login_note')) }}
@if (config('app.lock_passwords')) {!! $errors->first('login_note', '') !!}

{{ trans('general.feature_disabled') }}

@else {!! $errors->first('login_note', '') !!} @endif

{!! trans('admin/settings/general.login_note_help') !!}

{{ Form::label('login_note', 'Test Mail') }}

{{ trans('admin/settings/general.mail_test_help', array('replyto' => config('mail.reply_to.address'))) }}

{{ Form::label('dashboard_message', trans('admin/settings/general.dashboard_message')) }}
@if (config('app.lock_passwords')) {!! $errors->first('dashboard_message', '') !!}

{{ trans('general.feature_disabled') }}

@else {!! $errors->first('dashboard_message', '') !!} @endif

{{ trans('admin/settings/general.dashboard_message_help') }} {!! trans('general.github_markdown') !!}

{{ Form::label('show_archived_in_list', trans('admin/settings/general.show_archived_in_list')) }}
{!! $errors->first('show_archived_in_list', '') !!}
{{ Form::label('show_assigned_assets', trans('admin/settings/general.show_assigned_assets')) }}

{{ trans('admin/settings/general.show_assigned_assets_help') }}

{!! $errors->first('show_assigned_assets', ':message') !!}
{{ trans('admin/settings/general.show_in_model_list') }}
{{ Form::label('show_in_model_list', trans('general.pie_chart_type')) }}
{{ Form::select('dash_chart_type', array( 'name' => 'Status Label Name', 'type' => 'Status Label Type'), Request::old('dash_chart_type', $setting->dash_chart_type), ['class' =>'select2', 'style' => 'width: 80%']) }}
{{ Form::label('depreciation_method', trans('Depreciation method')) }}
{{ Form::select('depreciation_method', array( 'default' => 'Linear (default)', 'half_1' => 'Half-year convention, always applied', 'half_2' => 'Half-year convention, applied with condition', ), Request::old('username_format', $setting->depreciation_method), ['class' =>'select2', 'style' => 'width: 80%']) }}
{{ Form::label('privacy_policy_link', trans('admin/settings/general.privacy_policy_link')) }}
@if (config('app.lock_passwords')) {{ Form::text('privacy_policy_link', Request::old('privacy_policy_link', $setting->privacy_policy_link), array('class' => 'form-control disabled', 'disabled' => 'disabled')) }} @else {{ Form::text('privacy_policy_link', Request::old('privacy_policy_link', $setting->privacy_policy_link), array('class' => 'form-control')) }} @endif {{ trans('admin/settings/general.privacy_policy_link_help') }} {!! $errors->first('privacy_policy_link', '') !!} @if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@endif
{{ Form::close() }} @stop @section('moar_scripts') @stop