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

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

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

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

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

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

{{ Form::label('alert_interval', trans('admin/settings/general.alert_interval')) }}
{{ Form::text('alert_interval', old('alert_interval', $setting->alert_interval), array('class' => 'form-control','placeholder' => '30', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('alert_interval', '') !!}
{{ Form::label('alert_threshold', trans('admin/settings/general.alert_inv_threshold')) }}
{{ Form::text('alert_threshold', old('alert_threshold', $setting->alert_threshold), array('class' => 'form-control','placeholder' => '5', 'maxlength'=>'3', 'style'=>'width: 60px;')) }} {!! $errors->first('alert_threshold', '') !!}
{{ Form::label('audit_interval', trans('admin/settings/general.audit_interval')) }}
{{ Form::text('audit_interval', old('audit_interval', $setting->audit_interval), array('class' => 'form-control','placeholder' => '12', 'maxlength'=>'3')) }} {{ trans('general.months') }}
{!! $errors->first('audit_interval', '') !!}

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

{{ Form::label('audit_warning_days', trans('admin/settings/general.audit_warning_days')) }}
{{ Form::text('audit_warning_days', old('audit_warning_days', $setting->audit_warning_days), array('class' => 'form-control','placeholder' => '14', 'maxlength'=>'3')) }} {{ trans('general.days') }}
{!! $errors->first('audit_warning_days', '') !!}

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

{{ Form::label('due_checkin_days', trans('admin/settings/general.due_checkin_days')) }}
{{ Form::text('due_checkin_days', old('due_checkin_days', $setting->due_checkin_days), array('class' => 'form-control','placeholder' => '14', 'maxlength'=>'3')) }} {{ trans('general.days') }}
{!! $errors->first('due_checkin_days', '') !!}

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

{{Form::close()}} @stop