{{ __('date') }}:
{{ dateFormat($purchase->date) }}
{{ __('reference') }}:
{{ $purchase->reference_no }}
{{ __('from') }}:
{{ $purchase->warehouse->name }}
{{ $purchase->warehouse->phone }}
{{ $purchase->warehouse->address }}
{{ __('to') }}:
{{ $purchase->supplier->name }}
{{ $purchase->supplier->email }}
{{ $purchase->supplier->phone }}
{{ __('sl') }} |
{{ __('product') }} |
{{ __('batch_no') }} |
{{ __('quantity') }} |
{{ __('purchase_cost') }} |
{{ __('tax') }} ({{ __('per_qty') }}) |
{{ __('sub_total') }} |
@foreach ($purchase->purchaseProducts as $productPurchase)
{{ $loop->iteration }}
|
{{ $productPurchase->product->name }}
@if (feature('barcodes'))
[{{ $productPurchase->product->code }}]
@endif
|
{{ $purchase->purchaseBatches()->where('product_id', $productPurchase->product->id)->first()->name ?? 'N/A' }}
|
{{ $productPurchase->qty }} |
{{ numberFormat($productPurchase->product->cost) }}
|
{{ numberFormat($productPurchase->tax) }}
|
{{ numberFormat($productPurchase->total) }}
|
@endforeach
{{ __('total') }}:
|
{{ numberFormat($purchase->total_cost) }} |
{{ __('order_tax') }}:
|
{{ numberFormat($purchase->order_tax) }} |
{{ __('order_discount') }}:
|
{{ numberFormat($purchase->order_discount) }}
|
{{ __('shipping_cost') }}:
|
{{ numberFormat($purchase->shipping_cost) }}
|
{{ __('grand_total') }}:
|
{{ numberFormat($purchase->grand_total) }} |
{{ __('paid_amount') }}:
|
{{ numberFormat($purchase->paid_amount) }} |
{{ __('due') }}:
|
{{ numberFormat($due_amount) }} |
{{ __('note') }}:
{!! $purchase->note !!}
{{ __('created_by') }}:
{{ $purchase->user->name }}
{{ $purchase->user->email }}