@extends('accounts.nav') @section('head') @parent @stop @section('content') @parent @include('accounts.nav_advanced') {!! Former::open()->addClass('warn-on-exit') !!} {{ Former::populate($account) }} {{ Former::populateField('custom_invoice_taxes1', intval($account->custom_invoice_taxes1)) }} {{ Former::populateField('custom_invoice_taxes2', intval($account->custom_invoice_taxes2)) }} {{ Former::populateField('share_counter', intval($account->share_counter)) }} {{ Former::populateField('pdf_email_attachment', intval($account->pdf_email_attachment)) }}

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

{!! Former::text('custom_invoice_label1')->label(trans('texts.field_label')) ->append(Former::checkbox('custom_invoice_taxes1')->raw() . trans('texts.charge_taxes')) !!} {!! Former::text('custom_invoice_label2')->label(trans('texts.field_label')) ->append(Former::checkbox('custom_invoice_taxes2')->raw() . ' ' . trans('texts.charge_taxes')) !!}

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

{!! Former::text('custom_client_label1')->label(trans('texts.field_label')) !!} {!! Former::text('custom_client_label2')->label(trans('texts.field_label')) !!}

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

{!! Former::text('custom_label1')->label(trans('texts.field_label')) !!} {!! Former::text('custom_value1')->label(trans('texts.field_value')) !!}

 

{!! Former::text('custom_label2')->label(trans('texts.field_label')) !!} {!! Former::text('custom_value2')->label(trans('texts.field_value')) !!}

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

{!! Former::text('invoice_number_prefix')->label(trans('texts.prefix')) !!} {!! Former::text('invoice_number_counter')->label(trans('texts.counter')) !!}

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

{!! Former::text('quote_number_prefix')->label(trans('texts.prefix')) !!} {!! Former::text('quote_number_counter')->label(trans('texts.counter')) ->append(Former::checkbox('share_counter')->raw()->onclick('setQuoteNumberEnabled()') . ' ' . trans('texts.share_invoice_counter')) !!}

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

{!! Former::checkbox('pdf_email_attachment')->text(trans('texts.enable')) !!}
@if (Auth::user()->isPro())
{!! Button::success(trans('texts.save'))->large()->submit()->appendIcon(Icon::create('floppy-disk')) !!}
@else @endif {!! Former::close() !!} @stop @section('onReady') $('#custom_invoice_label1').focus(); @stop