@extends('layouts.app') @section('title', __('lang_v1.receive_stock_transfer')) @section('content')

@lang('lang_v1.receive_stock_transfer') #{{ $sell_transfer->ref_no }}

@include('layouts.sub_menu.stockTransfer')

@lang('lang_v1.incoming_transfer')

@lang('lang_v1.location_from'): {{ $sell_transfer->location->name }}  →  @lang('lang_v1.location_to'): {{ $purchase_transfer->location->name }}   |   @lang('messages.date'): {{ @format_date($sell_transfer->transaction_date) }}

{!! Form::open([ 'url' => route('stock-transfers.accept', $sell_transfer->id), 'method' => 'post', 'id' => 'receive_transfer_form' ]) !!}

@lang('lang_v1.transferred_products')

@if($lot_n_exp_enabled) @endif @foreach($sell_transfer->sell_lines as $index => $sell_line) @if($lot_n_exp_enabled) @endif @endforeach
# @lang('sale.product')@lang('lang_v1.lot_n_expiry')@lang('lang_v1.expected_qty') @lang('lang_v1.actual_received_qty') @lang('lang_v1.discrepancy')
{{ $loop->iteration }} {{ $sell_line->product->name }} @if($sell_line->product->type == 'variable')
{{ $sell_line->variations->product_variation->name ?? '' }} – {{ $sell_line->variations->name ?? '' }} @endif
SKU: {{ $sell_line->variations->sub_sku ?? '' }}
@if(!empty($sell_line->lot_details)) @if(!empty($sell_line->lot_details->lot_number)) {{ $sell_line->lot_details->lot_number }} @endif @if(!empty($sell_line->lot_details->exp_date))
Exp: {{ @format_date($sell_line->lot_details->exp_date) }} @endif @else – @endif
{{ @format_quantity($sell_line->quantity) }} @if(!empty($sell_line->sub_unit)) {{ $sell_line->sub_unit->short_name }} @else {{ $sell_line->product->unit->short_name ?? '' }} @endif @lang('lang_v1.matched')

@lang('purchase.additional_notes')

{!! Form::label('receiver_notes', __('lang_v1.receiver_notes') . ':') !!} {!! Form::textarea('receiver_notes', null, [ 'class' => 'form-control', 'rows' => 3, 'placeholder' => __('lang_v1.receiver_notes_placeholder') ]) !!}
@lang('messages.back')    
{!! Form::close() !!}
@stop @section('javascript') @endsection