@lang('messages.date'): {{ @format_date($purchase->transaction_date) }}
# | @lang('product.product_name') | @lang('product.sku') | @if($purchase->type == 'purchase_order')@lang( 'lang_v1.quantity_remaining' ) | @endif@if($purchase->type == 'purchase_order') @lang('lang_v1.order_quantity') @else @lang('purchase.purchase_quantity') @endif | @lang( 'lang_v1.unit_cost_before_discount' ) | @lang( 'lang_v1.discount_percent' ) | @lang('purchase.unit_cost_before_tax') | @lang('purchase.subtotal_before_tax') | @lang('sale.tax') | @lang('purchase.unit_cost_after_tax') | @if($purchase->type != 'purchase_order') @if(session('business.enable_lot_number'))@lang('lang_v1.lot_number') | @endif @if(session('business.enable_product_expiry'))@lang('product.mfg_date') | @lang('product.exp_date') | @endif @endif@lang('sale.subtotal') |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $purchase_line->product->name }} @if( $purchase_line->product->type == 'variable') - {{ $purchase_line->variations->product_variation->name}} - {{ $purchase_line->variations->name}} @endif | @if( $purchase_line->product->type == 'variable') {{ $purchase_line->variations->sub_sku}} @else {{ $purchase_line->product->sku }} @endif | @if($purchase->type == 'purchase_order'){{ $purchase_line->quantity - $purchase_line->po_quantity_purchased }} @if(!empty($purchase_line->sub_unit)) {{$purchase_line->sub_unit->short_name}} @else {{$purchase_line->product->unit->short_name}} @endif | @endif{{ $purchase_line->quantity }} @if(!empty($purchase_line->sub_unit)) {{$purchase_line->sub_unit->short_name}} @else {{$purchase_line->product->unit->short_name}} @endif
@if(!empty($purchase_line->product->second_unit) && $purchase_line->secondary_unit_quantity != 0)
{{ $purchase_line->secondary_unit_quantity }} {{$purchase_line->product->second_unit->short_name}} @endif |
{{ $purchase_line->pp_without_discount}} | {{ $purchase_line->discount_percent}} % | {{ $purchase_line->purchase_price }} | {{ $purchase_line->quantity * $purchase_line->purchase_price }} | {{ $purchase_line->item_tax }} @if(!empty($taxes[$purchase_line->tax_id])) ( {{ $taxes[$purchase_line->tax_id]}} ) @endif |
{{ $purchase_line->purchase_price_inc_tax }} | @if($purchase->type != 'purchase_order') @if(session('business.enable_lot_number')){{$purchase_line->lot_number}} | @endif @if(session('business.enable_product_expiry'))@if(!empty($purchase_line->mfg_date)) {{ @format_date($purchase_line->mfg_date) }} @endif | @if(!empty($purchase_line->exp_date)) {{ @format_date($purchase_line->exp_date) }} @endif | @endif @endif{{ $purchase_line->purchase_price_inc_tax * $purchase_line->quantity }} |
# | {{ __('messages.date') }} | {{ __('purchase.ref_no') }} | {{ __('sale.amount') }} | {{ __('sale.payment_mode') }} | {{ __('sale.payment_note') }} |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ @format_date($payment_line->paid_on) }} | {{ $payment_line->payment_ref_no }} | {{ $payment_line->amount }} | {{ $payment_methods[$payment_line->method] ?? '' }} | @if($payment_line->note) {{ ucfirst($payment_line->note) }} @else -- @endif |
@lang('purchase.no_payments') |
@lang('purchase.net_total_amount'): | {{ $total_before_tax }} | |
---|---|---|
@lang('purchase.discount'): | (-) @if($purchase->discount_type == 'percentage') ({{$purchase->discount_amount}} %) @endif | @if($purchase->discount_type == 'percentage') {{$purchase->discount_amount * $total_before_tax / 100}} @else {{$purchase->discount_amount}} @endif |
@lang('purchase.purchase_tax'): | (+) |
@if(!empty($purchase_taxes))
@foreach($purchase_taxes as $k => $v)
{{$k}} - {{ $v }} @endforeach @else 0.00 @endif |
@lang('purchase.additional_shipping_charges'): | (+) | {{ $purchase->shipping_charges }} |
{{ $purchase->additional_expense_key_1 }}: | (+) | {{ $purchase->additional_expense_value_1 }} |
{{ $purchase->additional_expense_key_2 }}: | (+) | {{ $purchase->additional_expense_value_2 }} |
{{ $purchase->additional_expense_key_3 }}: | (+) | {{ $purchase->additional_expense_value_3 }} |
{{ $purchase->additional_expense_key_4 }}: | (+) | {{ $purchase->additional_expense_value_4 }} |
@lang('purchase.purchase_total'): | {{ $purchase->final_total }} |
{{ $purchase->shipping_details ?? '' }}
@if(!empty($purchase->shipping_custom_field_1))
{{$custom_labels['purchase_shipping']['custom_field_1'] ?? ''}}: {{$purchase->shipping_custom_field_1}}
@endif
@if(!empty($purchase->shipping_custom_field_2))
{{$custom_labels['purchase_shipping']['custom_field_2'] ?? ''}}: {{$purchase->shipping_custom_field_2}}
@endif
@if(!empty($purchase->shipping_custom_field_3))
{{$custom_labels['purchase_shipping']['custom_field_3'] ?? ''}}: {{$purchase->shipping_custom_field_3}}
@endif
@if(!empty($purchase->shipping_custom_field_4))
{{$custom_labels['purchase_shipping']['custom_field_4'] ?? ''}}: {{$purchase->shipping_custom_field_4}}
@endif
@if(!empty($purchase->shipping_custom_field_5))
{{$custom_labels['purchase_shipping']['custom_field_5'] ?? ''}}: {{$purchase->shipping_custom_field_5}}
@endif
@if($purchase->additional_notes) {{ $purchase->additional_notes }} @else -- @endif