{!! Form::open(array('url'=>'/inventory/product/add','id'=> 'product_form','files'=>true)) !!}
{{ csrf_field() }}
{!! Form::close() !!}
{!! Form::text('prod_name',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Name','id' => 'usr']) !!}
@if ($errors->has('prod_name'))
{{ $errors->first('prod_name') }}
@endif
{!! Form::textarea('prod_desc', null, ['placeholder'=>'Description', 'class'=>'form-control ne_w0']) !!}
@if ($errors->has('prod_desc'))
{{ $errors->first('prod_desc') }}
@endif
{!! Form::number('prod_price',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Price','id' => 'price']) !!}
@if ($errors->has('prod_price'))
{{ $errors->first('prod_price') }}
@endif
{!! Form::text('prod_sku',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Sku','id' => 'sku']) !!}
@if ($errors->has('prod_sku'))
{{ $errors->first('prod_sku') }}
@endif
{!! Form::text('prod_quantity',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Stock Quantity','id' => 'number']) !!}
@if ($errors->has('prod_quantity'))
{{ $errors->first('prod_quantity') }}
@endif
{!! Form::text('prod_weight',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Weight (Kg)','id' => 'weight']) !!}
@if ($errors->has('prod_weight'))
{{ $errors->first('prod_weight') }}
@endif
{!! Form::text('length',null, ['class' => 'form-control rounded rt-cl0 w-0', 'placeholder'=>'Length','id' => 'length']) !!}
{!! Form::text('width',null, ['class' => 'form-control rounded rt-cl0 w-0', 'placeholder'=>'Width','id' => 'width']) !!}
{!! Form::text('height',null, ['class' => 'form-control rounded rt-cl0 w-0', 'placeholder'=>'Height','id' => 'height']) !!}
@if ($errors->has('length'))
{{ $errors->first('length') }}
@endif
@if ($errors->has('width'))
{{ $errors->first('width') }}
@endif
@if ($errors->has('height'))
{{ $errors->first('height') }}
@endif
{!! Form::Number('prod_tax',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Tax (%)','id' => 'height']) !!}
@if ($errors->has('prod_tax'))
{{ $errors->first('prod_tax') }}
@endif
{!! Form::text('bin_no',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'Bin no product for warehouse pickup location','id' => 'usr']) !!}
@if ($errors->has('bin_no'))
{{ $errors->first('bin_no') }}
@endif
{!! Form::textarea('product_location', null, ['placeholder'=>'product location', 'class'=>'form-control ne_w0']) !!}
@if ($errors->has('product_location'))
{{ $errors->first('product_location') }}
@endif
{!! Form::text('upc_code',null, ['class' => 'form-control rounded c_w0', 'placeholder'=>'upc code','id' => 'price']) !!}
@if ($errors->has('upc_code'))
{{ $errors->first('upc_code') }}
@endif
@if(count($categorys) > 0)
@foreach($categorys as $category)
@endforeach
@else
@endif
No category found !!
Product Image: