@lang('lang_v1.sell_return') (@lang('sale.invoice_no'): {{ $sell->return_parent->invoice_no }})

@lang('lang_v1.sell_return_details'):

@lang('lang_v1.return_date'): {{@format_date($sell->return_parent->transaction_date)}}
@lang('contact.customer'): {{ $sell->contact->name }}
@lang('purchase.business_location'): {{ $sell->location->name }}

@lang('lang_v1.sell_details'):

@lang('sale.invoice_no'): {{ $sell->invoice_no }}
@lang('messages.date'): {{@format_date($sell->transaction_date)}}


@php $total_before_tax = 0; @endphp @foreach($sell->sell_lines as $sell_line) @if($sell_line->quantity_returned == 0) @continue @endif @php $unit_name = $sell_line->product->unit->short_name; if(!empty($sell_line->sub_unit)) { $unit_name = $sell_line->sub_unit->short_name; } @endphp @endforeach
# @lang('product.product_name') @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 {{ $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 }}
{{ __('repair::lang.activities') }}:
@includeIf('activity_log.activities', ['activity_type' => 'sell'])
@lang("messages.print")