@lang('cashvan::stock.van_stock')

@lang('lang_v1.location_from'):
{{ $location_details['sell']->name }} @if(!empty($location_details['sell']->landmark))
{{$location_details['sell']->landmark}} @endif @if(!empty($location_details['sell']->city) || !empty($location_details['sell']->state) || !empty($location_details['sell']->country))
{{implode(',', array_filter([$location_details['sell']->city, $location_details['sell']->state, $location_details['sell']->country]))}} @endif @if(!empty($sell_transfer->contact->tax_number))
@lang('contact.tax_no'): {{$sell_transfer->contact->tax_number}} @endif @if(!empty($location_details['sell']->mobile))
@lang('contact.mobile'): {{$location_details['sell']->mobile}} @endif @if(!empty($location_details['sell']->email))
Email: {{$location_details['sell']->email}} @endif
@lang('purchase.ref_no'): #{{ $sell_transfer->ref_no }}
@lang('messages.date'): {{ @format_date($sell_transfer->transaction_date) }}

@php $total = 0.00; @endphp @foreach($sell_transfer->sell_lines as $sell_lines) @if($sell_lines->product_name && $sell_lines->product_quantity > 0) @php $total += ($sell_lines->unit_price_inc_tax * $sell_lines->product_quantity); @endphp @endif @endforeach
# @lang('sale.product') @lang('sale.qty') @lang('unit.units') @lang('sale.subtotal')
{{ $loop->iteration }} {{ $sell_lines->product_name }} @if( $sell_lines->product_type == 'variable') - {{ $sell_lines->product_variation_name}} - {{ $sell_lines->variation_name}} @endif - {{ $sell_lines->variation_sku}} {{ @format_quantity($sell_lines->product_quantity) }} - {{$sell_lines->main_unit_name}} @if(!empty($sell_lines->unit_short_name)){{$sell_lines->product_quantity/$sell_lines->unit_multiplier}} {{$sell_lines->unit_short_name}}@else -- @endif {{ $sell_lines->unit_price_inc_tax * $sell_lines->product_quantity }}

@lang('purchase.net_total_amount'): {{ $total }}
{{ __('lang_v1.activities') }}:
@includeIf('activity_log.activities', ['activity_type' => 'sell'])