@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', @format_datetime('now'), ['class' => 'form-control', 'readonly', 'required']) !!} {!! Form::label('ref_no', __('purchase.ref_no') . ':') !!} {!! Form::text('ref_no', null, ['class' => 'form-control']) !!} {!! 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', ]) !!} @endcomponent @component('components.widget', ['class' => 'box-solid']) {!! Form::text('search_product', null, [ 'class' => 'form-control', 'id' => 'search_product_for_srock_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 @lang('messages.save') @endcomponent {!! Form::close() !!} @stop @section('javascript') @endsection