| # | @lang('product.product_name') | @lang('lang_v1.return_quantity') | @lang('Basic Cost') | @lang('Cost Price') | @lang('GST') | @lang('MRP') | @lang('lang_v1.return_subtotal') | |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $purchase_line->product->name }} @if( $purchase_line->product->type == 'variable') - {{ $purchase_line->variations->product_variation->name}} - {{ $purchase_line->variations->name}} @endif | {{@format_quantity($purchase_line->quantity_returned)}} {{$unit_name}} | {{ $purchase_line->pp_without_discount}} | {{ $purchase_line->purchase_price_inc_tax }} | {{---
{{ round(($purchase_line->purchase_price_inc_tax*100 /(100+$purchase_line->product->product_tax->amount))*$purchase_line->product->product_tax->amount*0.01 * $purchase_line->quantity_returned,2) }}
{{ $purchase_line->product->product_tax->name }} | ----}}
{{ $purchase_line->item_tax }} @if(!empty($taxes[$purchase_line->tax_id])) @if (array_key_exists($taxes[$purchase_line->tax_id], $taxDist)) @php $taxDist[$taxes[$purchase_line->tax_id]] = $taxDist[$taxes[$purchase_line->tax_id]] + ($purchase_line->item_tax * $purchase_line->quantity_returned); @endphp @else @php $taxDist[$taxes[$purchase_line->tax_id]] = $purchase_line->item_tax * $purchase_line->quantity_returned; @endphp @endif ( {{ $taxes[$purchase_line->tax_id]}} ) @endif {{ $purchase_line->product->product_tax->name }} |
{{ $purchase_line->variations->product_mrp}} | @php $total_quantity +=$purchase_line->quantity_returned; $line_total = $purchase_line->purchase_price_inc_tax * $purchase_line->quantity_returned; $total_before_tax += $line_total ; $total_basic_cost += $purchase_line->pp_without_discount * $purchase_line->quantity_returned; @endphp {{$line_total}} |
| Total Quantity : | {{ $total_quantity }} Pcs | |||||||
| @lang('Total Basic Cost'): | {{ $total_basic_cost }} | ||
|---|---|---|---|
|
@if(!empty($purchaseLines))
@foreach($purchaseLines as $v)
{{$v['key']}} @endforeach @endif CGST : SGST : |
@if(!empty($purchaseLines))
@foreach($purchaseLines as $v)
CGST : {{ round($v['value']/2,2) }}
SGST : {{ round($v['value']/2,2) }} @endforeach @else 0.00 @endif |
@if(!empty($purchaseLines))
@foreach($purchaseLines as $v)
{{ $v['value'] }} @endforeach @else 0.00 @endif {{$netTotalTaxAmount/2}} {{$netTotalTaxAmount/2}} |
|
| @lang('lang_v1.return_total'): | {{ $purchase->return_parent->final_total ?? $purchase->final_total }} | ||