{{ Form::label( 'variation_name', trans('general.description'),['class' => 'col control-label']) }}
{{ Form::text('variation_name[]',@$products->standard['name'], ['class' => 'form-control box-size', 'placeholder' => trans('general.description')]) }}
{{ Form::label( 'price', trans('products.price'),['class' => 'col control-label']) }}
{{ Form::text('price[]', numberFormat(@$products->standard['price']), ['class' => 'form-control box-size', 'placeholder' => trans('products.price').'*','required'=>'required','onkeypress'=>"return isNumber(event)"]) }}
{{ Form::label( 'purchase_price', trans('products.purchase_price'),['class' => 'col control-label']) }}
{{ Form::text('purchase_price[]', numberFormat(@$products->standard['purchase_price']), ['class' => 'form-control box-size', 'placeholder' => trans('products.purchase_price'),'onkeypress'=>"return isNumber(event)"]) }}
{{ Form::label( 'qty', trans('products.qty'),['class' => 'col control-label']) }}
{{ Form::text('qty[]', numberFormat(@$products->standard['qty']), ['class' => 'form-control box-size', 'placeholder' => trans('products.qty'),'onkeypress'=>"return isNumber(event)"]) }}
{{ Form::label( 'productcategory_id', trans('products.warehouse_id'),['class' => 'col control-label']) }}
{{ Form::label( 'code', trans('products.code'),['class' => 'col control-label']) }}
{{ Form::text('code[]', @$products->standard['code'], ['class' => 'form-control box-size', 'placeholder' => trans('products.code')]) }}
{{ Form::label( 'barcode', trans('products.barcode'),['class' => 'col control-label']) }}
{{ Form::text('barcode[]', @$products->standard['barcode'], ['class' => 'form-control box-size', 'placeholder' => trans('products.barcode')]) }}
{{ Form::label( 'disrate', trans('products.disrate'),['class' => 'col control-label']) }}
{{ Form::text('disrate[]', numberFormat(@$products->standard['disrate']), ['class' => 'form-control box-size', 'placeholder' => trans('products.disrate'),'onkeypress'=>"return isNumber(event)"]) }}
{{ Form::label( 'alert', trans('products.alert'),['class' => 'col control-label']) }}
{{ Form::text('alert[]', numberFormat(@$products->standard['alert']), ['class' => 'form-control box-size', 'placeholder' => trans('products.alert'),'onkeypress'=>"return isNumber(event)"]) }}
{{ Form::label( 'expiry', trans('products.expiry'),['class' => 'col control-label']) }}
@if(@$products->standard['expiry']!='0000-00-00')
{{ Form::text('expiry[]', dateFormat(@$products->standard['expiry']), ['class' => 'form-control box-size', 'placeholder' => trans('products.expiry'),'data-toggle'=>'datepicker','autocomplete'=>'false']) }}
@else
{{ Form::hidden('expiry[]', '0000-00-00') }} Not Applicable
@endif
{{ Form::label( 'image', trans('products.image'),['class' => 'col control-label']) }}
{!! Form::file('image[]', array('class'=>'input' )) !!}