@section('page_name') Invoice #{{ $invoice->id }} @stop @section('breadcrumbs') Customers {{ $customer->getCustomerName() }} Invoice #{{ $invoice->id }} @stop @section('page_header') @if (Invoice::max('id') != $invoice->id) @endif @if (Invoice::min('id') != $invoice->id) @endif @if(Invoice::max('id') == $invoice->id) @endif @stop @section('scripts') @stop @section('stylesheets') @stop @section('content')
Customer info
@if($customer->companyName != '') {{ $customer->companyName }}   @endif @if ($customer->contactName != '') {{ $customer->getContactPerson() }} @endif  (ID: {{ $customer->id }})
{{ $customer->getCustomerCreditRating->type }}
{{ trim(nl2br($customer->address)) }}
{{ $customer->postalCode }} {{ $customer->city }}, {{ $customer->region }}

{{ $customer->phone }}     {{ $customer->mobile }}
{{ $customer->email }}
CIF: {{ $customer->cifnif }}
Visit fee: € {{ $customer->assignedVisitFee }}
Invoice information
Invoice essentials

{{ $invoice->id }}
{{ $invoice->createdOn }}
Invoice entries
Quote # Description Extra costs Unit price Discount Qty Total
Comments
Placed on Placed by Comment
<% comment.placedOn %> <% comment.placedByInitials %> <% comment.comment %>
Totals
@if (Settings::setting('invoiceHasIrpf')) @else @endif
€ <% getSubTotal() | currency %>
IVA:
€ <% getVat() | currency %>
IRPF:
€ <% getIrpf() | currency %>
€ <% getTotal() | currency%>

@if (Settings::hasValidEmailSettings()) @else @endif

@stop