@extends('themes.default1.admin.layout.admin') @section('Settings') class="active" @stop @section('settings-bar') active @stop @section('email') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content') {!! Form::model($emails,['url' => 'postemail/'.$emails->id, 'method' => 'PATCH']) !!}

{{Lang::get('lang.email')}}

{!! Form::submit(Lang::get('lang.save'),['class'=>'btn btn-primary'])!!}
@if(Session::has('success'))
Success! {{Session::get('success')}}
@endif @if(Session::has('fails'))
Fail! {{Session::get('fails')}}
@endif
{{--
--}} {{--
--}} {{-- {!! Form::label('template',Lang::get('lang.default_template')) !!} --}} {{-- {!! $errors->first('template', ':message') !!} --}} {{-- {!!Form::select('template', $templates->lists('name','name'),null,['class'=>'form-control']) !!} --}} {{--
--}} {{--
--}}
{!! Form::label('sys_email',Lang::get('lang.default_system_email')) !!} {!! $errors->first('sys_email', ':message') !!} {!!Form::select('sys_email', [ 'Select an Email', 'Emails' => $emails1->lists('email_name','id')],null,['class'=>'form-control']) !!}
{{--
--}} {{--
--}} {{-- {!! Form::label('alert_email',Lang::get('lang.default_alert_email')) !!} --}} {{-- {!! $errors->first('alert_email', ':message') !!} --}} {{-- {!!Form::select('alert_email', $emails1->lists('email_address','email_address'),null,['class'=>'form-control']) !!} --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::label('alert_email',Lang::get('lang.default_MTA')) !!} --}} {{-- {!!Form::select('alert_email',['use PHP Mail function'],null,['class'=>'form-control']) !!} --}} {{--
--}} {{--
--}}
{!! Form::label('email_fetching',Lang::get('lang.email_fetch')) !!}
{!! Form::checkbox('email_fetching',1,true) !!} {{Lang::get('lang.fetch_auto-corn')}}
{!! Form::checkbox('notification_cron',1,true) !!} {{Lang::get('lang.cron_notification')}}
{!! Form::checkbox('all_emails',1,true) !!} {{Lang::get('lang.accept_all_email')}}
{{--
--}} {{--
--}} {{-- {!! Form::label('admin_email',Lang::get('lang.admin_email')) !!} --}} {{-- {!! $errors->first('admin_email', ':message') !!} --}} {{-- {!! Form::text('admin_email',null,['class' => 'form-control']) !!} --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::label('separator',Lang::get('lang.reply_separator')) !!} --}} {{-- {!! $errors->first('separator', ':message') !!} --}} {{-- {!! Form::text('separator',null,['class' => 'form-control']) !!} --}} {{--
--}} {{--
--}}
{!! Form::checkbox('email_collaborator',1) !!} {{Lang::get('lang.accept_email_collab')}}
{{--
--}} {{--
--}} {{--
--}} {{-- {!! Form::checkbox('strip',1,['class' => 'form-control']) !!} {{Lang::get('lang.strip_quoted_reply')}} --}} {{--
--}} {{--
--}} {{--
--}}
{!! Form::checkbox('attachment',1) !!} {{Lang::get('lang.attachments')}}
@stop