@section('page_title', __('Invoice')) @section('styles') {!! Minify::stylesheet([ '/css/pages/invoices.css', ])->withFullUrl() !!} @stop @include('template.head')
@if(isset($invoice->data))
  • {{__('Invoice')}} #{{$invoice->data['invoicePrefix'] ? $invoice->data['invoicePrefix']. '_' : '' }}{{$invoice->invoice_id}}
  • {{__('Invoice')}} {{__('Date')}} : {{ \Carbon\Carbon::parse($invoice->created_at)->format('D M Y')}}
  • {{__('Due')}} {{__('Date')}} : {{ \Carbon\Carbon::parse($invoice->created_at)->format('D M Y')}}
  • {{__('Invoiced To')}}
  • {{$invoice->data['billingDetails']['receiverFirstName']}} {{$invoice->data['billingDetails']['receiverLastName']}}
  • {{$invoice->data['billingDetails']['receiverBillingAddress']}}, {{$invoice->data['billingDetails']['receiverState']}}, {{$invoice->data['billingDetails']['receiverPostcode']}}
  • {{$invoice->data['billingDetails']['receiverCity']}}
  • {{$invoice->data['billingDetails']['receiverCountryName']}}
  • {{__('Invoice From')}}
  • {{$invoice->data['billingDetails']['senderName']}}
  • {{$invoice->data['billingDetails']['senderAddress']}} {{$invoice->data['billingDetails']['senderState']}} {{$invoice->data['billingDetails']['senderPostcode']}}
  • {{$invoice->data['billingDetails']['senderCity']}}
  • {{$invoice->data['billingDetails']['senderCountry']}}
  • {{__('VAT')}} {{__('Number')}} {{$invoice->data['billingDetails']['senderCompanyNumber']}}
{{----}} {{----}} @if(isset($invoice->data['taxes']) && isset($invoice->data['taxes']['data'])) @foreach($invoice->data['taxes']['data'] as $tax) @endforeach @endif
{{__('Description')}}Qty{{__('Total')}}
{{\App\Providers\InvoiceServiceProvider::getInvoiceDescriptionByTransaction($invoice->transaction)}} 1{{config('app.site.currency_symbol')}}{{$invoice->data['subtotal']}} {{config('app.site.currency_code')}}
{{__('Total taxes')}}: {{config('app.site.currency_symbol')}}{{ $invoice->data['taxesTotalAmount']}} {{config('app.site.currency_code')}}
{{$tax['taxName']}} ({{$tax['taxPercentage']}} %{{$tax['taxType'] === 'inclusive' ? ' incl.' : ''}}) ${{$tax['taxAmount']}} {{config('app.site.currency_code')}}
{{__('Total:')}} {{config('app.site.currency_symbol')}}{{$invoice->data['totalAmount']}} {{config('app.site.currency_code')}}

{{__("Back")}} {{__('Print')}}

@endif
@include('template.jsVars') @include('template.jsAssets')