Purchase Details Date: {{ date( 'd/m/Y', strtotime( $purchase->transaction_date ) ) }}
Reference No: #{{ $purchase->ref_no }}
Location: {{ $purchase->location->name }}
Status: {{ ucfirst( $purchase->status ) }}
Payment Status: {{ ucfirst( $purchase->payment_status ) }}
Location: {{ $purchase->location->name }}
Status: {{ ucfirst( $purchase->status ) }}
Payment Status: {{ ucfirst( $purchase->payment_status ) }}
Supplier: {{ $purchase->contact->name }}
Business: {{ $purchase->contact->supplier_business_name }}
Business: {{ $purchase->contact->supplier_business_name }}
@php
$total_before_tax = 0.00;
@endphp
@foreach($purchase->purchase_lines as $purchase_line)
@php
$total_before_tax += ($purchase_line->quantity * $purchase_line->purchase_price);
@endphp
@endforeach
# | Product | Quantity | Unit Cost Price (Before Tax) | Subtotal (Before Tax) | Tax | Unit Cost Price (After Tax) | Unit Selling Price | Subtotal |
---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $purchase_line->product->name }} @if( $purchase_line->product->type == 'variable') - {{ $purchase_line->variations->product_variation->name}} - {{ $purchase_line->variations->name}} @endif | {{ $purchase_line->quantity }} | {{ $purchase_line->purchase_price }} | {{ $purchase_line->quantity * $purchase_line->purchase_price }} | {{ $purchase_line->item_tax }} @if($purchase_line->tax_id) ( {{ $taxes[$purchase_line->tax_id]}} ) @endif | {{ $purchase_line->purchase_price_inc_tax }} | {{ $purchase_line->variations->default_sell_price }} | {{ $purchase_line->purchase_price_inc_tax * $purchase_line->quantity }} |
Shipping details:
{{ $purchase->shipping_details }}
Notes:
{{ $purchase->additional_notes }}
@if( !empty( $purchase->shipping_charges ) )
@endif
Total Before Tax: | {{ $total_before_tax }} | |
---|---|---|
Total After Tax: | {{ $total_before_tax }} | |
Purchase Tax: | (+) | {{ $purchase->tax_amount }} |
Discount: | (-) | {{ $purchase->discount_amount }} |
Additional Shipping charges: | (+) | {{ $purchase->shipping_charges }} |
Purchase Total: | {{ $purchase->final_total }} |