Date: {{$purchase['date']}}
Number: {{$purchase['Ref']}}
Status: {{$purchase['statut']}}
Payment Status: {{$purchase['payment_status']}}
Purchase : {{$purchase['Ref']}}
Supplier Info
Full Name : {{$purchase['supplier_name']}}
Phone : {{$purchase['supplier_phone']}}
Address : {{$purchase['supplier_adr']}}
Email : {{$purchase['supplier_email']}}
@if($purchase['supplier_tax'])
Tax Number : {{$purchase['supplier_tax']}}
@endif
Company Info
{{$setting['CompanyName']}}
Address : {{$setting['CompanyAdress']}}
Phone : {{$setting['CompanyPhone']}}
Email : {{$setting['email']}}
@foreach ($details as $detail) @endforeach
PRODUCT UNIT COST QUANTITY DISCOUNT TAX TOTAL
{{$detail['code']}} ({{$detail['name']}}) @if($detail['is_imei'] && $detail['imei_number'] !==null)

IMEI/SN : {{$detail['imei_number']}}

@endif
{{$detail['cost']}} {{$detail['quantity']}}/{{$detail['unit_purchase']}} {{$detail['DiscountNet']}} {{$detail['taxe']}} {{$detail['total']}}
Order Tax {{$purchase['TaxNet']}}
Discount {{$purchase['discount']}}
Shipping {{$purchase['shipping']}}
Total {{$symbol}} {{$purchase['GrandTotal']}}
Paid Amount {{$symbol}} {{$purchase['paid_amount']}}
Due {{$symbol}} {{$purchase['due']}}
@if($setting['is_invoice_footer'] && $setting['invoice_footer'] !==null)

{{$setting['invoice_footer']}}

@endif