{{ Form::label( __('lbl.vendor_name') ) }}
{{ Form::text('vendor_name', $vendor['vendor_name'], ["maxlength"=>"30","class"=>"form-control","placeholder"=>__('lbl.vendor_name'),"id"=>"vendor_name","name"=>"vendor_name"]) }}
@if ($errors->has('vendor_name'))
@endif
{{ Form::label( __('lbl.contact_name') ) }}
{{ Form::text('contact_name', $vendor['contact_name'], ["maxlength"=>"20", "class"=>"form-control","placeholder"=>__('lbl.contact_name'),"id"=>"contact_name","name"=>"contact_name"]) }}
@if ($errors->has('contact_name'))
@endif
{{ Form::label( __('lbl.email') ) }}
{{ Form::text('vendor_email', $vendor['vendor_email'], ["maxlength"=>"40", "class"=>"form-control validEmail","placeholder"=>__('lbl.email'),"id"=>"vendor_email","name"=>"vendor_email"]) }}
@if ($errors->has('vendor_email'))
@endif
{{ Form::label(__('lbl.stores')) }}
{{ Form::select('warehouse_id',$warehouses,$vendor['warehouse_id'],["class"=>"form-control ","id"=>"warehouse_id","name"=>"warehouse_id"]) }}
@if ($errors->has('warehouse_id'))
@endif
{{ Form::label( __('lbl.main_number') ) }}
{{ Form::text('main_number', $vendor['main_number'], ["maxlength"=>"15", "class"=>"form-control phoneUS","placeholder"=>__('lbl.main_number'),"id"=>"main_number","name"=>"main_number"]) }}
{{ Form::label( __('lbl.fax') ) }}
{{ Form::text('fax', $vendor['fax'], ["maxlength"=>"15", "class"=>"form-control faxUS","placeholder"=>__('lbl.fax'),"id"=>"fax","name"=>"fax"]) }}
{{ Form::label( __('lbl.alt_phone') ) }}
{{ Form::text('alt_phone', $vendor['alt_phone'], ["maxlength"=>"10", "class"=>"form-control phoneUS","placeholder"=>__('lbl.alt_phone'),"id"=>"alt_phone","name"=>"alt_phone"]) }}
{{ Form::label("EDI Status") }}
{{ Form::select('edi_status',["1"=>"ON","0"=>"OFF"], ($vendor['edi_status'])?$vendor['edi_status']:"0",["class"=>"form-control ","id"=>"edi_status","name"=>"edi_status"]) }}
{{ Form::label("EDI ID")}}
{{ Form::text('edi_id', $vendor['edi_id'], ["class"=>"form-control","placeholder"=>"EDI ID","id"=>"edi_id","name"=>"edi_id"]) }}
{{ Form::label( __('lbl.account_number') ) }}
{{ Form::text('account_number', $vendor['account_number'], ["maxlength"=>"20", "class"=>"form-control ","placeholder"=>__('lbl.account_number'),"id"=>"account_number","name"=>"account_number"]) }}
{{ Form::label( __('lbl.fob') ) }}
{{ Form::text('fob', $vendor['fob'], ["maxlength"=>"15","class"=>"form-control","placeholder"=>__('lbl.fob'),"id"=>"fob","name"=>"fob"]) }}
{{ Form::label( __('lbl.mobile_number') ) }}
{{ Form::text('mobile_number', $vendor['mobile_number'], ["maxlength"=>"15","class"=>"form-control phoneUS","placeholder"=>__('lbl.mobile_number'),"id"=>"mobile_number","name"=>"mobile_number"]) }}
{{ Form::label( __('lbl.country') ) }}
{{ Form::text('country', $vendor['country'], ["maxlength"=>"30","class"=>"form-control","placeholder"=>__('lbl.country'),"id"=>"country","name"=>"country"]) }}
{{ Form::label( __('lbl.state') ) }}
{{ Form::text('state', $vendor['state'], ["maxlength"=>"20","class"=>"form-control","placeholder"=>__('lbl.state'),"id"=>"state","name"=>"state"]) }}
{{ Form::label( __('lbl.city') ) }}
{{ Form::text('city', $vendor['city'], ["maxlength"=>"20","class"=>"form-control","placeholder"=>__('lbl.city'),"id"=>"city","name"=>"city"]) }}
{{ Form::label( __('lbl.zip') ) }}
{{ Form::text('zip', $vendor['zip'], ["maxlength"=>'5', "class"=>"form-control numer_only","placeholder"=>__('lbl.zip'),"id"=>"zip","name"=>"zip"]) }}
{{ Form::label( __('lbl.tax_id') ) }}
{{ Form::text('tax_id', $vendor['tax_id'], ["maxlength"=>"12","class"=>"form-control ","placeholder"=>__('lbl.tax_id'),"id"=>"tax_id","name"=>"tax_id"]) }}
{{ Form::label(__('lbl.status')) }}
{{ Form::select('status', [""=>"---Select Status---", "1"=>"Active","0"=>"Inactive"], $vendor['status'],["class"=>"form-control ","id"=>"status","name"=>"status"]) }}
@if ($errors->has('status'))
@endif
{{ Form::label(__('lbl.shipping_terms')) }}
{{ Form::textarea('shipping_terms', $vendor['shipping_terms'], ["maxlength"=>"100", "class"=>"form-control","rows"=>2,"placeholder"=>__('lbl.shipping_terms'),"id"=>"shipping_terms","name"=>"shipping_terms"]) }}
{{ Form::label(__('lbl.address_1')) }}
{{ Form::textarea('address_line_1', $vendor['address_line_1'], ["maxlength"=>"40", "class"=>"form-control","rows"=>2,"placeholder"=>__('lbl.address_1'),"id"=>"address_line_1","name"=>"address_line_1"]) }}
{{ Form::label(__('lbl.address_2')) }}
{{ Form::textarea('address_line_2', $vendor['address_line_1'], ["maxlength"=>"40", "class"=>"form-control","rows"=>2,"placeholder"=>__('lbl.address_1'),"id"=>"address_line_2","name"=>"address_line_2"]) }}