{{ Form::label(__('lbl.umo')) }} {{ Form::text('uom', $proDetails['uom'], ["class"=>"form-control mxlen_5 digits","placeholder"=>__('lbl.umo'),"id"=>"uom","name"=>"uom","readonly"]) }} @if ($errors->has('uom'))
@endif
{{ Form::label(__('lbl.bin_value')) }} {{ Form::text('bin_value', $proDetails['bin_value'], ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.bin_value'),"id"=>"bin_value","name"=>"bin_value"]) }} @if ($errors->has('bin_value'))
@endif
{{ Form::label(__('lbl.threshold')) }} {{ Form::text('threshold', $proDetails['threshold'], ["class"=>"form-control mxlen_5 numer_only","placeholder"=>__('lbl.threshold'),"id"=>"threshold","name"=>"threshold"]) }} @if ($errors->has('threshold'))
@endif
{{ Form::label(__('lbl.primary_vendor')) }} {{ Form::select('primary_vendor', ($primary_vendor)?$primary_vendor:[], $proDetails['primary_vendor'],['class'=>'form-control select2 primaryVendor','id'=>'primary_vendor']) }} @if ($errors->has('primary_vendor'))
@endif
{{ Form::label(__('lbl.vendor_item_id')) }} {{ Form::text('vendor_item_id', $proDetails['vendor_item_id'], ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.vendor_item_id'),"id"=>"vendor_item_id","name"=>"vendor_item_id"])
}} @if ($errors->has('vendor_item_id'))
@endif
{{ Form::label(__('lbl.reorder_unit_type')) }} {{ Form::text('reorder_unit_type', $proDetails['reorder_unit_type'], ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.reorder_unit_type'),"id"=>"reorder_unit_type"]) }} @if($errors->has('reorder_unit_type'))
@endif
{{ Form::label(__('lbl.default_reorder_quantity')) }} {{ Form::text('default_reorder_quantity', $proDetails['default_reorder_quantity'], ["class"=>"form-control mxlen_5 numer_only","placeholder"=>__('lbl.default_reorder_quantity'),"id"=>"default_reorder_quantity"])
}} @if ($errors->has('default_reorder_quantity'))
@endif
{{ Form::label(__('lbl.default_reorder_price')) }} {{ Form::text('default_reorder_price', $proDetails['default_reorder_price'], ["class"=>"form-control mxlen_8 numer_float_only","onkeypress"=>"return validateFloatKeyPress(this,event);", "placeholder"=>__('lbl.default_reorder_price'),"id"=>"default_reorder_price"])
}} @if ($errors->has('default_reorder_price'))
@endif
@if(Helper::widgetAccess('show_inventory_min_max_alert'))
{{ Form::label('Min Inventory') }}
{{ Form::number('min_inventory', $proDetails['min_inventory'], ["class"=>"form-control mxlen_100","placeholder"=>'Min Inventory',"id"=>"min_inventory"]) }}
{{ Form::label('Max Inventory') }}
{{ Form::number('max_inventory', $proDetails['max_inventory'], ["class"=>"form-control mxlen_100","placeholder"=>'Max Inventory',"id"=>"max_inventory"]) }}
@endif
@if(!empty($proDetails['product_stock_units'])) @foreach($proDetails['product_stock_units']
as $key => $ppo)
{{ Form::label(__('lbl.name')) }} {{ Form::text('unit', $ppo->unit_name, [ "class"=>"form-control mxlen_8","placeholder"=>__('lbl.name'),"name"=>"unit_name[]"]) }}
{{ Form::label(__('lbl.conversion')) }} {{ Form::text('conversion', $ppo->conversion, [ "class"=>"form-control mxlen_6","placeholder"=>__('lbl.conversion'),"name"=>"conversion[]"]) }}
{{ Form::label(__('lbl.barcode')) }} {{ Form::text('barcode[]', $ppo->barcode, ["class"=>"form-control mxlen_10","placeholder"=>__('lbl.barcode'),"name"=>"barcode[]"]) }}
{{ Form::label(__('lbl.unit')) }} {{ Form::select('unit', $inventory_unit, $ppo->unit,['class'=>'form-control',"name"=>"unit[]"]) }}
@endforeach @endif