{{ __('lbl.inventory') }}

{{ Form::label(__('lbl.require_serial_number')) }}
{{ Form::label(__('lbl.do_not_allow')) }}
{{ Form::label(__('lbl.default_inventory')) }}
{{ Form::label(__('lbl.track_in_inventory')) }}
{{ Form::label(__('lbl.reorder_to_par')) }}
{{ Form::label(__('lbl.tax_on_reorder')) }}
{{ Form::label(__('lbl.umo')) }} {{ Form::text('uom', '1', ["class"=>"form-control mxlen_5 digits","placeholder"=>__('lbl.umo'),"id"=>"uom"]) }} @if ($errors->has('uom')) @endif
{{ Form::label(__('lbl.bin_value')) }} {{ Form::text('bin_value', '', ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.bin_value'),"id"=>"bin_value"]) }}
{{ Form::label(__('lbl.threshold')) }} {{ Form::text('threshold', '', ["class"=>"form-control mxlen_5 numer_only","placeholder"=>__('lbl.threshold'),"id"=>"threshold"]) }}
{{ Form::label(__('lbl.primary_vendor')) }} {{ Form::select('primary_vendor', ($primary_vendor)?$primary_vendor:[], '',['class'=>'form-control primaryVendor select2','id'=>'primary_vendor']) }}
{{ Form::label(__('lbl.vendor_item_id')) }} {{ Form::text('vendor_item_id', '', ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.vendor_item_id'),"id"=>"vendor_item_id"]) }}
{{ Form::label(__('lbl.reorder_unit_type')) }} {{ Form::text('reorder_unit_type', '', ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.reorder_unit_type'),"id"=>"reorder_unit_type"]) }}
{{ Form::label(__('lbl.default_reorder_quantity')) }} {{ Form::text('default_reorder_quantity', '', ["class"=>"form-control mxlen_5 numer_only","placeholder"=>__('lbl.default_reorder_quantity'),"id"=>"default_reorder_quantity"]) }}
{{ Form::label(__('lbl.default_reorder_price')) }} {{ Form::text('default_reorder_price', '', ["class"=>"form-control mxlen_8 digits","onkeypress"=>"return validateFloatKeyPress(this,event);", "placeholder"=>__('lbl.default_reorder_price'),"id"=>"default_reorder_price"])}}
@if(Helper::widgetAccess('show_inventory_min_max_alert'))

Inventory Alert

{{ Form::label('Min Inventory') }} {{ Form::number('min_inventory', '', ["class"=>"form-control mxlen_100","placeholder"=>'Min Inventory',"id"=>"min_inventory"]) }}
{{ Form::label('Max Inventory') }} {{ Form::number('max_inventory', '', ["class"=>"form-control mxlen_100","placeholder"=>'Max Inventory',"id"=>"max_inventory"]) }}
@endif

{{ __('lbl.stock_units') }}

{{ Form::label(__('lbl.name')) }} {{ Form::text('unit', 'Unit', ["class"=>"form-control mxlen_8","placeholder"=>__('lbl.name'),"id"=>"unit_name","name"=>"unit_name[]"]) }}
{{ Form::label(__('lbl.conversion')) }} {{ Form::text('conversion', 1, ["class"=>"form-control mxlen_6","placeholder"=>__('lbl.conversion'),"id"=>"conversion","name"=>"conversion[]"]) }}
{{ Form::label(__('lbl.barcode')) }} {{ Form::text('barcode', '', ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.barcode'),"id"=>"barcode","name"=>"barcode[]"]) }}
{{ Form::label(__('lbl.unit')) }} {{ Form::select('unit', $inventory_unit, '',['class'=>'form-control','id'=>'unit',"name"=>"unit[]"]) }}
{{ Form::label(__('lbl.active')) }}
{{ Form::select('inv_active[]', ['YES'=>'YES','NO'=>'NO'], 'YES',['class'=>'form-control','id'=>'inv_active',"name"=>"inv_active[]"]) }}
{{ Form::label(__('lbl.primary')) }}
{{ Form::select('primary[]', ['YES'=>'YES','NO'=>'NO'], 'YES',['class'=>'form-control primary','id'=>'primary']) }}
{{ Form::label(__('lbl.action')) }}
{{ Form::button(' ', ["class"=>"btn btn-primary btn-sm clickbtncommon remove_stockitem ","id"=>"remove_stockitem","name"=>"remove_stockitem[]"]) }}