@extends('layouts.app') @section('content')

Add New Company Back

{{ Form::open(array('url'=>'/sales/company/store'))}} @csrf
{{ Form::text('name','',['class'=>'form-control']) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::select('company_type_id_fk',array(''=>'Please select')+$company_types,'',['class'=>'form-control']) }} @if ($errors->has('company_type_id_fk')) {{ $errors->first('company_type_id_fk') }} @endif
{{ Form::select('industry_id_fk',array(''=>'Please select')+$industries,'',['class'=>'form-control']) }} @if ($errors->has('industry_id_fk')) {{ $errors->first('industry_id_fk') }} @endif
{{ Form::text('phone','',['class'=>'form-control']) }} @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
{{ Form::text('email','',['class'=>'form-control']) }} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ Form::text('website','',['class'=>'form-control']) }} @if ($errors->has('website')) {{ $errors->first('website') }} @endif
{{ Form::textarea('remarks','',['class'=>'form-control','rows'=>3,'cols'=>4]) }} @if ($errors->has('remarks')) {{ $errors->first('remarks') }} @endif
{{ Form::select('status',array('0'=>'Inactive','1'=>'Active'),'',['class'=>'form-control']) }} @if ($errors->has('source_id_fk')) {{ $errors->first('source_id_fk') }} @endif
{{ Form::submit('submit',array('class'=>'btn btn-primary')) }}
@endsection