| # | @lang('product.product_name') | @if(!empty($common_settings['enable_serial_number']))Product Serial | @endif@lang('sale.unit_price') | @lang('lang_v1.return_quantity') | @lang('lang_v1.return_subtotal') | |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $sell_line->product->name }} @if( $sell_line->product->type == 'variable') - {{ $sell_line->variations->product_variation->name}} - {{ $sell_line->variations->name}} @endif | @if(!empty($common_settings['enable_serial_number'])) @if($sell_line->product->enable_serial_number == "1")
@if (!empty(getSellsReturnProductSerial($sell_line->product->id, $sell->id)))
SN.
@php
$num_of_items = count(getSellsReturnProductSerial($sell_line->product->id, $sell->id));
$num_count = 0;
foreach (getSellsReturnProductSerial($sell_line->product->id, $sell->id) as $serial_number) {
echo "".$serial_number->serial_number."";
$num_count = $num_count + 1;
if ($num_count < $num_of_items){
if ($num_count % 4==0) {
echo " " ; }else{ echo ", " ; } } } @endphp @endif |
@else
No Serial | @endif @endif{{ $sell_line->unit_price_inc_tax }} | {{@format_quantity($sell_line->quantity_returned)}} {{$unit_name}} | @php $line_total = $sell_line->unit_price_inc_tax * $sell_line->quantity_returned; $total_before_tax += $line_total ; @endphp {{$line_total}} |
| @lang('purchase.net_total_amount'): | {{ $total_before_tax }} | |
|---|---|---|
| @lang('lang_v1.return_discount'): | (-) | @if($sell->return_parent->discount_type == 'percentage') @{{$sell->return_parent->discount_amount}}% - @endif {{ $total_discount }} |
| @lang('lang_v1.total_return_tax'): | (+) |
@if(!empty($sell_taxes))
@foreach($sell_taxes as $k => $v)
{{$k}} - {{ $v }} @endforeach @else 0.00 @endif |
| @lang('lang_v1.return_total'): | {{ $sell->return_parent->final_total }} |