@lang('lang_v1.stock_adjustment_details') (@lang('purchase.ref_no'): #{{ $stock_adjustment->ref_no }})

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

@lang('business.business'):
{{ $stock_adjustment->business->name }} {{ $stock_adjustment->location->name }} @if(!empty($stock_adjustment->location->landmark))
{{$stock_adjustment->location->landmark}} @endif @if(!empty($stock_adjustment->location->city) || !empty($stock_adjustment->location->state) || !empty($stock_adjustment->location->country))
{{implode(',', array_filter([$stock_adjustment->location->city, $stock_adjustment->location->state, $stock_adjustment->location->country]))}} @endif @if(!empty($stock_adjustment->location->mobile))
@lang('contact.mobile'): {{$stock_adjustment->location->mobile}} @endif @if(!empty($stock_adjustment->location->email))
@lang('business.email'): {{$stock_adjustment->location->email}} @endif
@lang('purchase.ref_no'): #{{ $stock_adjustment->ref_no }}
@lang('messages.date'): {{ @format_date($stock_adjustment->transaction_date) }}
@lang('stock_adjustment.adjustment_type'): {{ __('stock_adjustment.' . $stock_adjustment->adjustment_type) }}
@lang('stock_adjustment.reason_for_stock_adjustment'): {{ $stock_adjustment->additional_notes }}
@if(!empty($lot_n_exp_enabled)) @endif @foreach( $stock_adjustment->stock_adjustment_lines as $stock_adjustment_line ) @if(!empty($lot_n_exp_enabled)) @endif @endforeach
@lang('sale.product'){{ __('lang_v1.lot_n_expiry') }}@lang('sale.qty') @lang('sale.unit_price') @lang('sale.subtotal')
{{ $stock_adjustment_line->variation->full_name }} {{ $stock_adjustment_line->lot_details->lot_number ?? '--' }} @if( session()->get('business.enable_product_expiry') == 1 && !empty($stock_adjustment_line->lot_details->exp_date)) ({{@format_date($stock_adjustment_line->lot_details->exp_date)}}) @endif @php $unit = App\Unit::where('id', $stock_adjustment_line->variation->product->unit_id)->first(); @endphp {{@format_quantity($stock_adjustment_line->quantity)}} {{ $unit->short_name }} @if ($stock_adjustment_line->variation->product->use_multi_unit == 1) @if(!empty($stock_adjustment_line->variation->product->first_conversion_unit_id))
@php $first_quantity = $stock_adjustment_line->quantity / $stock_adjustment_line->variation->product->first_conversion_unit_rate; $first_unit = App\Unit::where('id', $stock_adjustment_line->variation->product->first_conversion_unit_id)->first(); @endphp {{ $first_quantity }} {{ $first_unit->actual_name }}({{ $first_unit->short_name }}) @endif @if(!empty($stock_adjustment_line->variation->product->second_conversion_unit_id))
@php $second_quantity = $stock_adjustment_line->quantity / ($stock_adjustment_line->variation->product->first_conversion_unit_rate *$stock_adjustment_line->variation->product->second_conversion_unit_rate); $second_unit = App\Unit::where('id', $stock_adjustment_line->variation->product->second_conversion_unit_id)->first(); @endphp {{ $second_quantity }} {{ $second_unit->actual_name }}({{ $second_unit->short_name }}) @endif @endif
{{@num_format($stock_adjustment_line->unit_price)}} {{@num_format($stock_adjustment_line->unit_price * $stock_adjustment_line->quantity)}}
@lang('stock_adjustment.total_amount'): {{ $stock_adjustment->final_total }}
@lang('stock_adjustment.total_amount_recovered'): {{ $stock_adjustment->total_amount_recovered }}
{{ __('lang_v1.activities') }}:
@includeIf('activity_log.activities')