@lang('messages.location'): {{$purchase->location->name}}
@lang('purchase.ref_no'): {{$purchase->ref_no}}
@lang('lang_v1.required_by_date'): @if(!empty($purchase->delivery_date)){{@format_datetime($purchase->delivery_date)}}@endif
@lang('lang_v1.added_by'): {{$purchase->sales_person->user_full_name}}
@lang('sale.product') |
@lang('lang_v1.required_quantity') |
@lang( 'lang_v1.quantity_remaining' ) |
@foreach($purchase->purchase_lines as $purchase_line)
{{$purchase_line->product->name}}
@if($purchase_line->product->type == 'single')
({{$purchase_line->product->sku}})
@else
- {{$purchase_line->variations->product_variation->name}} - {{$purchase_line->variations->name}} ({{$purchase_line->variations->sub_sku}})
@endif
|
{{@format_quantity($purchase_line->quantity)}} {{$purchase_line->product->unit->short_name}}
@if(!empty($purchase_line->product->second_unit) && !empty($purchase_line->secondary_unit_quantity))
{{@format_quantity($purchase_line->secondary_unit_quantity)}} {{$purchase_line->product->second_unit->short_name}}
@endif
|
{{@format_quantity( $purchase_line->quantity - $purchase_line->po_quantity_purchased)}} {{$purchase_line->product->unit->short_name}} |
@endforeach