@extends('header') @section('head') @parent @include('money_script') @foreach (Auth::user()->account->getFontFolders() as $font) @endforeach @stop @section('content') {!! Former::open()->addClass('form-inline')->onchange('refreshPDF()') !!} @if (count($versionsSelect)) {!! Former::select('version')->options($versionsSelect)->label(trans('select_version'))->style('background-color: white !important') !!} @endif {!! Button::primary(trans('texts.edit_' . $invoice->getEntityType()))->asLinkTo(URL::to('/' . $invoice->getEntityType() . 's/' . $invoice->public_id . '/edit'))->withAttributes(array('class' => 'pull-right')) !!} {!! Former::close() !!}
 
@if ( ! count($versionsSelect))
 
@endif @include('invoices.pdf', ['account' => Auth::user()->account, 'pdfHeight' => 800]) @if (Utils::hasFeature(FEATURE_DOCUMENTS) && $invoice->account->invoice_embed_documents) @foreach ($invoice->documents as $document) @if($document->isPDFEmbeddable()) @endif @endforeach @foreach ($invoice->expenses as $expense) @foreach ($expense->documents as $document) @if($document->isPDFEmbeddable()) @endif @endforeach @endforeach @endif @stop