@lang('messages.date'): {{ @format_date($purchase->transaction_date) }}
# | @lang('product.product_name') | @lang('purchase.purchase_quantity') | @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') | @lang('purchase.unit_selling_price') | @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@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 | {{ $purchase_line->quantity }} @if(!empty($purchase_line->sub_unit)) {{$purchase_line->sub_unit->short_name}} @else {{$purchase_line->product->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 }} | @php $sp = $purchase_line->variations->default_sell_price; if(!empty($purchase_line->sub_unit->base_unit_multiplier)) { $sp = $sp * $purchase_line->sub_unit->base_unit_multiplier; } @endphp{{$sp}} | @if(session('business.enable_lot_number')){{$purchase_line->lot_number}} | @endif @if(session('business.enable_product_expiry'))@if( !empty($purchase_line->product->expiry_period_type) ) @if(!empty($purchase_line->mfg_date)) {{ @format_date($purchase_line->mfg_date) }} @endif @else @lang('product.not_applicable') @endif | @if( !empty($purchase_line->product->expiry_period_type) ) @if(!empty($purchase_line->exp_date)) {{ @format_date($purchase_line->exp_date) }} @endif @else @lang('product.not_applicable') @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 }} |
@lang('purchase.purchase_total'): | {{ $purchase->final_total }} |
@if($purchase->shipping_details) {{ $purchase->shipping_details }} @else -- @endif
@if($purchase->additional_notes) {{ $purchase->additional_notes }} @else -- @endif