@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('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('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::checkbox('email_collaborator',1) !!} {{Lang::get('lang.accept_email_collab')}}
{!! Form::checkbox('attachment',1) !!} {{Lang::get('lang.attachments')}}
@stop