@extends('admin/layouts/Adminlayout') {{-- Page Title --}} @section('pagetitle')

Users

@endsection {{-- Page content --}} @section('content')
{{ Form::open(array('url' => 'admin/vendors/store','files'=>true,'id'=>'addVendor'),'POST') }}

@if ($errors->first('vendor_type')) {{ $errors->first('vendor_type', ':message') }} @endif
{{ Form::select('vendor_status', array(''=>'Select Status','Approved'=>'Approved','Declined'=>'Declined','Pending'=>'Pending','opt-out'=>'Opt-out'), null, array('class'=>'form-control','id'=>'vendor_status')) }} @if ($errors->first('vendor_status')) {{ $errors->first('vendor_status', ':message') }} @endif
{{ Form::text('company_name', null, array('id'=>'company_name','class'=>'form-control')) }} @if ($errors->first('company_name')) {{ $errors->first('company_name', ':message') }} @endif
{{ Form::text('contact_fname', null, array('id'=>'contact_fname','class'=>'form-control')) }} @if ($errors->first('contact_fname')) {{ $errors->first('contact_fname', ':message') }} @endif
{{ Form::text('contact_lname', null, array('id'=>'contact_lname','class'=>'form-control')) }} @if ($errors->first('contact_lname')) {{ $errors->first('contact_lname', ':message') }} @endif
{{ Form::text('phone', null, array('id'=>'phone','class'=>'form-control')) }} @if ($errors->first('phone')) {{ $errors->first('phone', ':message') }} @endif
{{ Form::text('fax', null, array('id'=>'fax','class'=>'form-control')) }} @if ($errors->first('fax')) {{ $errors->first('fax', ':message') }} @endif
{{ Form::text('cell', null, array('id'=>'cell','class'=>'form-control')) }} @if ($errors->first('cell')) {{ $errors->first('cell', ':message') }} @endif
{{ Form::text('federal_id', null, array('id'=>'federal_id','class'=>'form-control')) }} @if ($errors->first('federal_id')) {{ $errors->first('federal_id', ':message') }} @endif
Years
{{ Form::text('business_year', null, array('id'=>'business_year','class'=>'form-control')) }} @if ($errors->first('business_year')) {{ $errors->first('business_year', ':message') }} @endif
Months
{{ Form::select('business_months', array(''=>'Select Month',0,1,2,3,4,5,6,7,8,9,10,11), null, array('class'=>'form-control','id'=>'business_months')) }} @if ($errors->first('business_months')) {{ $errors->first('business_months', ':message') }} @endif
{{ Form::text('email', null, array('id'=>'email','class'=>'form-control')) }} @if ($errors->first('email')) {{ $errors->first('email', ':message') }} @endif
{{ Form::text('city', null, array('id'=>'city','class'=>'form-control')) }} @if ($errors->first('city')) {{ $errors->first('city', ':message') }} @endif
{{ Form::text('address',null, array('id'=>'address','class'=>'form-control')) }} @if ($errors->first('address')) {{ $errors->first('address', ':message') }} @endif
{{ Form::select('state', $info_state_arr, null, array('class'=>'form-control','id'=>'state')) }} @if ($errors->first('state')) {{ $errors->first('state', ':message') }} @endif
{{ Form::text('zip', null, array('id'=>'zip','class'=>'form-control')) }} @if ($errors->first('zip')) {{ $errors->first('zip', ':message') }} @endif
{{ Form::text('website_url',null, array('id'=>'website_url','class'=>'form-control')) }} @if ($errors->first('website_url')) {{ $errors->first('website_url', ':message') }} @endif
{{ Form::select('trade[]', $trades_arr, null, array('class'=>'form-control trades','id'=>'trade', 'data-rel'=>'chosen', 'multiple'=>'multiple','data-placeholder'=>'Choose Some Trades')) }} @if ($errors->first('trade')) {{ $errors->first('trade', ':message') }} @endif
{{ Form::text('trade_license', null, array('id'=>'trade_license','class'=>'form-control')) }} @if ($errors->first('trade_license')) {{ $errors->first('trade_license', ':message') }} @endif
{{ Form::select('company_state[]', $state_arr, null, array('class'=>'form-control company','id'=>'company_state','data-rel'=>'chosen', 'data-placeholder'=>'Select States','multiple'=>'multiple')) }} @if ($errors->first('company_state')) {{ $errors->first('company_state', ':message') }} @endif