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

@lang('lang_v1.add_stock_transfer')

{!! Form::open([ 'url' => action([\App\Http\Controllers\StockTransferController::class, 'store']), 'method' => 'post', 'id' => 'stock_transfer_form', ]) !!} @component('components.widget', ['class' => 'box-solid'])
{!! Form::label('transaction_date', __('messages.date') . ':*') !!}
{!! Form::text('transaction_date', Carbon\Carbon::now()->format('Y-m-d H:i:s'), ['class' => 'form-control datetimepicker', 'readonly', 'required']) !!}
{!! Form::label('dropoff_datetime', __('Dropoff Date & Time') . ':') !!}
{!! Form::text('dropoff_datetime', null, ['class' => 'form-control datetimepicker', 'readonly']) !!}
{!! Form::label('ref_no', __('purchase.ref_no') . ':*') !!} {!! Form::text('ref_no', null, ['class' => 'form-control', 'required']) !!}
{!! Form::label('status', __('sale.status') . ':*') !!} @show_tooltip(__('lang_v1.completed_status_help')) {!! Form::select('status', $statuses, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required', 'id' => 'status', ]) !!}
{!! Form::label('location_id', __('lang_v1.location_from') . ':*') !!} {!! Form::select('location_id', $business_locations, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required', 'id' => 'location_id', ]) !!}
{!! Form::label('transfer_location_id', __('lang_v1.location_to') . ':*') !!} {!! Form::select('transfer_location_id', $business_locations, null, [ 'class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required', 'id' => 'transfer_location_id', ]) !!}
{!! Form::label('vehicle', __('Vehicle') . ':') !!} {!! Form::text('vehicle', null, ['class' => 'form-control']) !!}
{!! Form::label('driver', __('Driver') . ':') !!} {!! Form::text('driver', null, ['class' => 'form-control']) !!}
{!! Form::label('mileage', __('Mileage (KM)') . ':') !!} {!! Form::number('mileage', null, ['class' => 'form-control', 'step' => 'any']) !!}
{!! Form::label('waiting_time', __('Waiting Time') . ':') !!} {!! Form::text('waiting_time', null, ['class' => 'form-control']) !!}
{!! Form::label('factory_dispatched_atc', __('Factory Dispatched ATC') . ':') !!} {!! Form::text('factory_dispatched_atc', null, ['class' => 'form-control']) !!}
{!! Form::label('depot_manager', __('Depot Manager') . ':') !!} {!! Form::text('depot_manager', null, ['class' => 'form-control']) !!}
{!! Form::label('depot', __('Depot') . ':') !!} {!! Form::text('depot', null, ['class' => 'form-control']) !!}
{!! Form::label('grade', __('Grade') . ':') !!} {!! Form::text('grade', null, ['class' => 'form-control']) !!}
{!! Form::label('region', __('Region') . ':') !!} {!! Form::select('region', [ 'North-East' => 'North-East', 'North-Central' => 'North-Central', 'North-West' => 'North-West' ], null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select')] ) !!}
{!! Form::label('waybill_no', __('Waybill No') . ':') !!} {!! Form::text('waybill_no', null, ['class' => 'form-control']) !!}
{!! Form::label('date_on_waybill', __('Date on Waybill') . ':') !!}
{!! Form::text('date_on_waybill', null, ['class' => 'form-control datepicker', 'readonly']) !!}
{!! Form::label('date_on_arrival', __('Date on Arrival') . ':') !!}
{!! Form::text('date_on_arrival', null, ['class' => 'form-control datepicker', 'readonly']) !!}
@endcomponent @component('components.widget', ['class' => 'box-solid'])
{!! Form::text('search_product', null, [ 'class' => 'form-control', 'id' => 'search_product_for_stock_adjustment', 'placeholder' => __('stock_adjustment.search_product'), 'disabled', ]) !!}
@lang('sale.product') @lang('sale.qty') @lang('sale.unit_price') @lang('sale.subtotal')
@lang('sale.total'): 0.00
@endcomponent @component('components.widget', ['class' => 'box-solid'])
{!! Form::label('shipping_charges', __('lang_v1.shipping_charges') . ':') !!} {!! Form::text('shipping_charges', 0, [ 'class' => 'form-control input_number', 'placeholder' => __('lang_v1.shipping_charges'), ]) !!}
{!! Form::label('additional_notes', __('purchase.additional_notes')) !!} {!! Form::textarea('additional_notes', null, ['class' => 'form-control', 'rows' => 3]) !!}
@lang('stock_adjustment.total_amount'): 0.00


@endcomponent {!! Form::close() !!}
@stop @section('javascript') @endsection @cannot('view_purchase_price') @endcannot