{{ $userName }}
{{ $ruc }}
Province: {{$userProvince}}
City: {{$userCity}}
Address: {{$userLine1}} {{$userLine2}}
Zip Code: {{$userZipCode}}
@if($userWebsite) {{$userWebsite}}
@endif {{ $userPhone }}
{{ $userEmail }}
@if($userLogo) @endif
Invoice To:

{{ $clientName }}
{{ $clientEmail }}
Province: {{$clientProvince}}
City: {{$clientCity}}
{{$clientLine1}}
{{$clientLine2}}
ZIP Code: {{$clientZipCode}}
{{ $clientPhone }}
INVOICE

{{ $invoiceNumber }}

Date of invoice: {{ $date }}



@foreach ($details as $item) @endforeach
DESCRIPTION PRICE QTY TOTAL(base) DISCOUNT SUBTOTAL TAX TOTAL
{{ $item['item'] }} ${{ $item['price'] }} {{ $item['quantity'] }} ${{ $item['totalBase'] }} {{ $item['discount'] }}% (${{ $item['detailedDiscount'] }}) ${{ $item['totalWithDiscount'] }} {{ $item['tax'] }}% (${{ $item['detailedTax'] }}) {{ $item['total'] }}
@if($notes)
{{ $notes }}
@endif
@foreach ($details as $item) @if ($item['discount']!=0) @endif @endforeach @foreach ($details as $item) @if ($item['tax']!=0) @endif @endforeach
Total(base) ${{ $totalBase }}
Discount {{ $item['discount'] }}% of (${{ $item['totalBase'] }}) - ${{ $item['detailedDiscount'] }}
Subtotal ${{ $subTotal1 }}
Tax {{ $item['tax'] }}% of (${{ $item['totalBase'] }}) + ${{ $item['detailedTax'] }}
Grand Total ${{ $grandTotal }}
@if ($footNote)

{{ $footNote }}
@endif