@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.settings') }} @parent @stop {{-- Page content --}} @section('content')

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

@foreach ($settings as $setting) @if ($setting->full_multiple_companies_support == 1) @else @endif @if ($setting->alert_email) @else @endif @if ($setting->alerts_enabled == 1) @else @endif @if ($setting->header_color) @else @endif @if ($setting->auto_increment_assets == 1) @else @endif @if ($setting->load_remote == 1) @else @endif @if ($setting->qr_code == 1) @else @endif @if ($setting->default_eula_text!='') @else @endif @if ($setting->slack_endpoint!='') @else @endif @if ($setting->ldap_enabled == 1) @else @endif @if ($setting->ldap_enabled == 1) @endif @endforeach
{{ trans('admin/settings/general.site_name') }} {{ $setting->site_name }}
{{ trans('admin/settings/general.full_multiple_companies_support_text') }} {{ trans('general.yes') }}{{ trans('general.no') }}
{{ trans('admin/settings/general.default_currency') }} {{ $setting->default_currency }}
{{ trans('admin/settings/general.alert_email') }}{{ $setting->alert_email }}--
{{ trans('admin/settings/general.alerts_enabled') }}{{ trans('general.yes') }}{{ trans('general.no') }}
{{ trans('admin/settings/general.header_color') }}{{ $setting->header_color }}default
{{ trans('admin/settings/general.auto_increment_assets') }}{{ trans('general.yes') }}{{ trans('general.no') }}
{{ trans('admin/settings/general.load_remote_text') }}{{ trans('general.yes') }}{{ trans('general.no') }}
{{ trans('admin/settings/general.auto_increment_prefix') }} {{ $setting->auto_increment_prefix }}
{{ trans('admin/settings/general.per_page') }} {{ $setting->per_page }}
{{ trans('admin/settings/general.display_qr') }}{{ trans('general.yes') }} ({{ $setting->barcode_type }}) {{ $setting->qr_text }} {{ trans('general.no') }}
{{ trans('admin/settings/general.default_eula_text') }}{{ trans('general.yes') }}{{ trans('general.no') }}
{{ trans('admin/settings/general.slack_integration') }} {{ trans('general.yes') }} @if ($setting->slack_channel!='') {{ $setting->slack_channel }} @endif {{ trans('general.no') }}
{{ trans('admin/settings/general.ldap_integration') }} {{ $setting->ldap_server }}:{{ $setting->ldap_port }} @if ($setting->is_ad == '1') (Active Directory) @endif {{ trans('general.no') }}
Test LDAP Connection Test LDAP

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

{{ trans('admin/settings/general.snipe_version') }} {{ config('version.hash_version') }}
{{ trans('admin/settings/general.php') }} {{ phpversion() }}
{{ trans('admin/settings/general.laravel') }} {{ $setting->lar_ver() }}

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

{{ Form::open(['method' => 'POST', 'route' => ['purge'], 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{ Form::hidden('_token', csrf_token()) }}

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

{{ Form::label('confirm_purge', trans('admin/settings/general.confirm_purge')) }}
@if (config('app.lock_passwords')===true) {{ Form::text('confirm_purge', Input::old('confirm_purge'), array('class' => 'form-control', 'disabled'=>'disabled')) }} @else {{ Form::text('confirm_purge', Input::old('confirm_purge'), array('class' => 'form-control')) }} @endif {!! $errors->first('ldap_version', ':message') !!}
@section('moar_scripts') @stop @stop