@extends('accounts.nav') @section('head') @parent @stop @section('content') @parent @include('accounts.nav_advanced') {!! Former::vertical_open()->addClass('col-md-10 col-md-offset-1 warn-on-exit') !!} {!! Former::populate($account) !!} @foreach ([ENTITY_INVOICE, ENTITY_QUOTE, ENTITY_PAYMENT, REMINDER1, REMINDER2, REMINDER3] as $type) @foreach (['subject', 'template'] as $field) {!! Former::populateField("email_{$field}_{$type}", $templates[$type][$field]) !!} @endforeach @endforeach {!! Former::populateField("enable_reminder1", intval($account->enable_reminder1)) !!} {!! Former::populateField("enable_reminder2", intval($account->enable_reminder2)) !!} {!! Former::populateField("enable_reminder3", intval($account->enable_reminder3)) !!}

{!! trans('texts.email_templates') !!}

@include('accounts.template', ['field' => 'invoice', 'active' => true]) @include('accounts.template', ['field' => 'quote']) @include('accounts.template', ['field' => 'payment'])

 

{!! trans('texts.reminder_emails') !!}

@include('accounts.template', ['field' => 'reminder1', 'isReminder' => true, 'active' => true]) @include('accounts.template', ['field' => 'reminder2', 'isReminder' => true]) @include('accounts.template', ['field' => 'reminder3', 'isReminder' => true])
@if (Auth::user()->isPro())
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
@else @endif {!! Former::close() !!} @stop