@extends('layouts.report') @section('content')
{{ $invoice->customer->contact }}
@endif @if($invoice->customer->company_name){{ $invoice->customer->company_name }}
@endif @if($invoice->customer->address){{ $invoice->customer->address }}
@endif @if($invoice->customer->address_line1){{ $invoice->customer->address_line1 }}
@endif @if($invoice->customer->address_line2){{ $invoice->customer->address_line2 }}
@endif @if($invoice->customer->city){{ $invoice->customer->city }}
@endif @if($invoice->customer->postcode){{ $invoice->customer->postcode }}
@endif @if($invoice->customer->telephone){{ $invoice->customer->telephone }}
@endif @if($invoice->customer->email){{ $invoice->customer->email }}
@endif @endif{{$invoice->invoice_template->business->name }}
@endif @if ($invoice->invoice_template->business->address_line1){{ $invoice->invoice_template->business->address_line1 }}
@endif @if ($invoice->invoice_template->business->address_line2){{ $invoice->invoice_template->business->address_line2 }}
@endif @if ($invoice->invoice_template->business->city){{ $invoice->invoice_template->business->city }}
@endif @if($invoice->invoice_template->business->postcode){{ $invoice->invoice_template->business->postcode }}
@endif @if ($invoice->invoice_template->telephone && strlen($invoice->invoice_template->telephone) >= 6 && strlen($invoice->invoice_template->telephone) <= 18){{ $invoice->invoice_template->telephone }}
@endif @if ($invoice->invoice_template->email){{ $invoice->invoice_template->email }}
@endif @if ($invoice->invoice_template->with_vat && $invoice->invoice_template->vat)VAT Number: {{$invoice->invoice_template->vat}}
@endif @endifInvoice Date: {{ Helper::formatDate($invoice->date); }}
@if ($invoice->due_selection == 'Paid')Paid with thanks
@elseDue Date: {{ Helper::formatDate($invoice->due_on) }}
@endif| Product Name | Description | Quantity | Unit Price | @if ($invoice->invoice_template->with_vat)VAT(%) | @endifAmount |
|---|---|---|---|---|---|
| Empty Product | |||||
| {{ $detail->name }} | {{ $detail->description }} | {{ $detail->quantity }} | {{ Helper::formatAmount($detail->unit_price) }} | @if ($invoice->invoice_template->with_vat){{$detail->tax_rate}}% | @endif₤{{ Helper::formatAmount($detail->amount) }} |
| Sub-total: | @if ($invoice->invoice_template->with_vat)@endif | ₤{{ Helper::formatAmount($invoice->amount); }} | |||
| VAT: | ₤{{ Helper::formatAmount($invoice->vat); }} | ||||
| Total: | @if ($invoice->invoice_template->with_vat)@endif | ₤{{ Helper::formatAmount($invoice->total); }} |
Bank Detail:
@if(!!$invoice->invoice_template->bank_name)Bank Name: {{ $invoice->invoice_template->bank_name; }}
@endif @if ($invoice->invoice_template->sort_code)Sort-code: {{ $invoice->invoice_template->sort_code }}
@endif @if ($invoice->invoice_template->account_number)Account Number: {{ $invoice->invoice_template->account_number; }}
@endifNote
{{ $invoice->notes; }}