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

Cadastrar cliente

Preencha os campos

{!! Form::open(['action' => ['Gestao\ClientController@postStoreClient'], 'method' => 'post']) !!} @if($fullForm)
{!! Form::label('tipo_documento', 'Tipo de Documento') !!} {!! Form::select('tipo_documento', ['0' => 'Selecione...', '1' => 'CPF', '2' => 'CNPJ'], null, ['class' => 'form-control']) !!} @if ($errors->has('tipo_documento')) {{ $errors->first('tipo_documento') }} @endif
{!! T::colWidth(8)->formInput('documento', 'CPF', true, 'Número do Documento.', ['class' => 'form-control inpt-documento']) !!}
@endif
{!! T::colWidth(6)->formInput('empresa', 'Empresa / Razão Social', true) !!} {!! T::colWidth(6)->formInput('nome', 'Nome Fantasia', false, '') !!}
{!! T::colWidth(4)->formInput('segmento', 'Segmento', false, 'Segmento do Cliente') !!} @if($fullForm) {!! T::colWidth(4)->formInput('site', 'Site', false, 'Site com http:// ou https://') !!} {!! T::colWidth(4)->formEmail('email', 'E-mail', false, 'E-mail do responsável') !!} @else {!! T::colWidth(2)->formSelect('type_lead', 'Tipo de lead', $typeLeads) !!} @endif
{!! T::colWidth(4)->formInput('telefone', 'Telefone', false, '', ['class' => 'form-control mask-telefone']) !!} {!! T::colWidth(4)->formInput('celular', 'Celular', false, '', ['class' => 'form-control mask-telefone']) !!} @if($fullForm) {!! T::colWidth(2)->formSelect('cliente_na_plataforma', 'Cliente na Plataforma?', ['0' => 'Inativo', '1' => 'Ativo']) !!} {!! T::colWidth(2)->formInput('id_plataforma', 'ID na Plataforma', false) !!} @endif
{!! T::colWidth(12)->formTextarea('obs', 'Observação') !!}
{!! T::colWidth(12)->formSubmit('Cadastrar') !!}
{!! Form::close() !!}
@endsection @section('scripts') @endsection