@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url' => route('vendors.store'), 'method'=>'POST', 'name' => 'vendors', 'id' => 'vendors']) }}
{{ Form::label( __('lbl.vendor_name') ) }} {{ Form::text('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', '', ["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', '', ["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, 1,["class"=>"form-control ","id"=>"warehouse_id","name"=>"warehouse_id"]) }} @if ($errors->has('warehouse_id')) @endif
{{ Form::label( __('lbl.main_number') ) }} {{ Form::text('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', '', ["maxlength"=>"15", "class"=>"form-control faxUS","placeholder"=>__('lbl.fax'),"id"=>"fax","name"=>"fax"]) }}
{{ Form::label( __('lbl.alt_phone') ) }} {{ Form::text('alt_phone', '', ["maxlength"=>"15", "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"], "1",["class"=>"form-control ","id"=>"edi_status","name"=>"edi_status"]) }}
{{ Form::label("EDI ID")}} {{ Form::text('edi_id', '', ["class"=>"form-control","placeholder"=>"EDI ID","id"=>"edi_id","name"=>"edi_id"]) }}
{{ Form::label( __('lbl.account_number') ) }} {{ Form::text('account_number', '', ["maxlength"=>"20", "class"=>"form-control ","placeholder"=>__('lbl.account_number'),"id"=>"account_number","name"=>"account_number"]) }}
{{ Form::label( __('lbl.fob') ) }} {{ Form::text('fob', '', ["maxlength"=>"15","class"=>"form-control","placeholder"=>__('lbl.fob'),"id"=>"fob","name"=>"fob"]) }}
{{ Form::label( __('lbl.mobile_number') ) }} {{ Form::text('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', '', ["maxlength"=>"30", "class"=>"form-control","placeholder"=>__('lbl.country'),"id"=>"country","name"=>"country"]) }}
{{ Form::label( __('lbl.state') ) }} {{ Form::text('state', '', ["maxlength"=>"20", "class"=>"form-control","placeholder"=>__('lbl.state'),"id"=>"state","name"=>"state"]) }}
{{ Form::label( __('lbl.city') ) }} {{ Form::text('city', '', ["maxlength"=>"20", "class"=>"form-control","placeholder"=>__('lbl.city'),"id"=>"city","name"=>"city"]) }}
{{ Form::label( __('lbl.zip') ) }} {{ Form::text('zip', '', ["maxlength"=>"5","class"=>"form-control numer_only","placeholder"=>__('lbl.zip'),"id"=>"zip","name"=>"zip"]) }}
{{ Form::label( __('lbl.tax_id') ) }} {{ Form::text('tax_id', '', ["maxlength"=>"15","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"], 1,["class"=>"form-control ","id"=>"status","name"=>"status"]) }} @if ($errors->has('status')) @endif
{{ Form::label(__('lbl.shipping_terms')) }} {{ Form::textarea('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', '', ["maxlength"=>"100", "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', '', ["maxlength"=>"100", "class"=>"form-control","rows"=>2,"placeholder"=>__('lbl.address_2'),"id"=>"address_line_2","name"=>"address_line_2"]) }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/backend/vendors/add_edit.js']) !!} @stop