PHP Classes

File: resources/views/clients/edit.blade.php

Recommend this page to a friend!
  Classes of adriano123456   Budget System   resources/views/clients/edit.blade.php   Download  
File: resources/views/clients/edit.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Budget System
Elaborate budgets for purchases of products
Author: By
Last change:
Date: 4 months ago
Size: 12,411 bytes
 

Contents

Class file image Download
@extends('layouts.app') @section('title', 'Dashboard') @section('content') <div class="container-fluid" id="content"> @include('layouts.navigation') <div id="main"> <div class="container-fluid"> <div class="row-fluid"> <div class="span12"> <div class="box box-bordered box-color"> <div class="box-title"> <h3><i class="icon-th-list"></i> {{$title}}</h3> </div> <div class="box-content"> {{ Form::open(array('route' => ['clientes.update', $client->id], 'method' => 'put', 'class' => 'form-vertical')) }} @csrf <div class="row-fluid"> <div class="span3"> <div class="control-group"> {{Form::label('name', 'Nome/Razão Social*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('name', $client->name, ['id' => 'name','placeholder' => 'Insira o nome', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('responsavel', 'Responsável*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('responsavel', $client->responsavel, ['id' => 'responsavel','placeholder' => 'Insira o responsável', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('cpf_cnpj', 'CNPJ*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('cpf_cnpj', $client->cpf_cnpj, ['id' => 'cpf_cnpj','placeholder' => '00.000.000/0000-00', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('ie', 'I.E*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('ie', $client->ie, ['id' => 'ie','placeholder' => '000.000.000.000', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> </div> <div class="row-fluid"> <div class="span3"> <div class="control-group"> {{Form::label('telefone', 'Telefone*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('telefone', $client->telefone, ['id' => 'telefone','placeholder' => '(00) 0000-0000', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('telefone_com', 'Telefone comercial', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('telefone_com', $client->telefone_com, ['id' => 'telefone_com','placeholder' => '(00) 0000-0000', 'class' => 'input-block-level'])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('celular', 'Telefone celular', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('celular', $client->celular, ['id' => 'celular','placeholder' => '(00) 00000-0000', 'class' => 'input-block-level'])}} </div> </div> </div> <div class="span3"> <div class="control-group"> {{Form::label('email', 'E-mail', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('email', $client->email, ['id' => 'email','placeholder' => 'name@provider.domain', 'class' => 'input-block-level'])}} </div> </div> </div> </div> <hr> <div class="row-fluid"> <div class="span2"> <div class="control-group"> {{Form::label('ecepmail', 'CEP*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('cep', $client->cep, ['id' => 'cep','placeholder' => '00000000', 'class' => 'input-block-level', 'required' => true, 'max' => '9' ])}} </div> </div> </div> <div class="span8"> <div class="control-group"> <label for="endereco" class="control-label">Endereço* <samll><b><a href="javascript:void(0)" onClick="consultaCep()" id="a_cep">Auto completar</a></b></small></label> <div class="controls controls-row"> {{Form::text('endereco', $client->endereco, ['id' => 'endereco','placeholder' => 'Insira o endereço', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span2"> <div class="control-group"> {{Form::label('numero', 'Número*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('numero', $client->numero, ['id' => 'numero','placeholder' => '123', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> </div> <div class="row-fluid"> <div class="span2"> <div class="control-group"> {{Form::label('complemento', 'Complemento', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('complemento', $client->complemento, ['id' => 'complemento','placeholder' => '...', 'class' => 'input-block-level'])}} </div> </div> </div> <div class="span4"> <div class="control-group"> {{Form::label('bairro', 'Bairro*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('bairro', $client->bairro, ['id' => 'bairro','placeholder' => 'Insira o bairro', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span4"> <div class="control-group"> {{Form::label('cidade', 'Cidade*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::text('cidade', $client->cidade, ['id' => 'cidade','placeholder' => 'Insira a cidade', 'class' => 'input-block-level', 'required' => true])}} </div> </div> </div> <div class="span2"> <div class="control-group"> {{Form::label('estado', 'Estado*', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::select('estado', $estados, $client->estado, ['class' => 'select2-me input-block-level'])}} </div> </div> </div> </div> @if(Auth::user()->level > 1) <div class="row-fluid"> <div class="span6"> <div class="control-group"> {{Form::label('user_id', 'Representante', array('class' => 'control-label'))}} <div class="controls controls-row"> {{Form::select('user_id', $users, $client->user_id, ['class' => 'select2-me input-block-level'])}} </div> </div> </div> </div> @endif <div class="form-actions"> <button type="submit" class="btn btn-primary">Salvar</button> <a href="{{route('clientes.index')}}" class="btn">Cancelar</a> </div> {{ Form::close() }} </div> </div> </div> </div> </div> </div> </div> @include('clients.cep') @endsection