@extends('layouts.print') @section('content')

{{ __('Frontend/frontend.invoice', ['invoice_number' => $invoice->invoice_number]) }}

{{ __('Frontend/frontend.customer_name') }} {{ $invoice->customer_name }} {{ __('Frontend/frontend.customer_email') }} {{ $invoice->customer_email }}
{{ __('Frontend/frontend.customer_mobile') }} {{ $invoice->customer_mobile }} {{ __('Frontend/frontend.company_name') }} {{ $invoice->company_name }}
{{ __('Frontend/frontend.invoice_number') }} {{ $invoice->invoice_number }} {{ __('Frontend/frontend.invoice_date') }} {{ $invoice->invoice_date }}

{{ __('Frontend/frontend.invoice_details') }}

@foreach($invoice->details as $item) @endforeach
{{ __('Frontend/frontend.product_name') }} {{ __('Frontend/frontend.unit') }} {{ __('Frontend/frontend.quantity') }} {{ __('Frontend/frontend.unit_price') }} {{ __('Frontend/frontend.product_subtotal') }}
{{ $loop->iteration }} {{ $item->product_name }} {{ $item->unitText() }} {{ $item->quantity }} {{ $item->unit_price }} {{ $item->row_sub_total }}
{{ __('Frontend/frontend.sub_total') }} {{ $invoice->sub_total }}
{{ __('Frontend/frontend.discount') }} {{ $invoice->discountResult() }}
{{ __('Frontend/frontend.vat') }} {{ $invoice->vat_value }}
{{ __('Frontend/frontend.shipping') }} {{ $invoice->shippint }}
{{ __('Frontend/frontend.total_due') }} {{ $invoice->total_due }}

{!! __('Printed on') !!} : {{ date("d-m-Y") }}


@endsection @section('script') @endsection