@extends('accounts.nav') @section('head') @parent @stop @section('content') @parent @include('accounts.nav_advanced')
{{ Former::open()->addClass('warn-on-exit')->onchange('refreshPDF()') }} {{ Former::populate($account) }} {{ Former::populateField('hide_quantity', intval($account->hide_quantity)) }} {{ Former::populateField('hide_paid_to_date', intval($account->hide_paid_to_date)) }} {{ Former::legend('invoice_design') }} @if (!Utils::isPro() || InvoiceDesign::count() == COUNT_FREE_DESIGNS) {{ Former::select('invoice_design_id')->style('display:inline;width:120px')->fromQuery($invoiceDesigns, 'name', 'id')->addOption(trans('texts.more_designs') . '...', '-1') }} @else {{ Former::select('invoice_design_id')->style('display:inline;width:120px')->fromQuery($invoiceDesigns, 'name', 'id') }} @endif {{ Former::text('primary_color') }} {{ Former::text('secondary_color') }}

 

 

{{ Former::legend('invoice_options') }} {{ Former::checkbox('hide_quantity')->text(trans('texts.hide_quantity_help')) }} {{ Former::checkbox('hide_paid_to_date')->text(trans('texts.hide_paid_to_date_help')) }}

 

 

@if (Auth::user()->isPro()) {{ Former::actions( Button::lg_success_submit(trans('texts.save'))->append_with_icon('floppy-disk') ) }} @else @endif {{ Former::close() }}
@include('invoices.pdf', ['account' => Auth::user()->account, 'pdfHeight' => 800])
@stop