Skip to content

Commit

Permalink
MAscara colocada cpf tel cel e cep
Browse files Browse the repository at this point in the history
  • Loading branch information
josuerocha committed Dec 13, 2016
1 parent f07e45f commit 8f9694e
Show file tree
Hide file tree
Showing 13 changed files with 7,202 additions and 30 deletions.
6 changes: 2 additions & 4 deletions class/DAO/PerfilDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 64,10 @@ function ListAll(){
return $perfis;
}

function GetByCode($code){

function getByCode($code){
try{

$this->Connect();
$query = "select * from tbl_Perfil";
$query = "select * from tbl_Perfil where cod_Perfil = {$code}";
$result = $this->connection->query($query);
$this->Disconnect();

Expand Down
1 change: 1 addition & 0 deletions class/DAO/PessoaDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 148,7 @@ function getByEmail($email){

$pessoa = new Pessoa();
$pessoa->setCode($register['cod_Pessoa']);
$pessoa->setFKPerfil($register['tbl_Perfil_cod_Perfil']);
$pessoa->setNome($register['nome_Pessoa']);
$pessoa->setCPF($register['cpf_Pessoa']);
$pessoa->setTelefone($register['telefone_Pessoa']);
Expand Down
2 changes: 1 addition & 1 deletion class/DAO/TipoContaDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 58,7 @@ function ListAll(){
return $tipoContas;
}

function ListByCode($code){
function getByCode($code){
try{
$this->Connect();
$query = "select * from tbl_TipoConta where cod_TipoConta = {$code}";
Expand Down
5 changes: 3 additions & 2 deletions class/controller/PerfilController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 3,7 @@
require_once 'IControllerGeneral.php';

class PerfilController implements IControllerGeneral {

function Save($perfil) {
$perfilDAO = new PerfilDAO();
return $perfilDAO->Save($perfil);
Expand All @@ -18,9 19,9 @@ function ListAll(){
return $perfilDAO->ListAll();
}

function GetByCode($code){
function getByCode($code){
$perfilDAO = new PerfilDAO();
return $perfilDAO->GetByCode($code);
return $perfilDAO->getByCode($code);
}

function getByDescricao($descricao){
Expand Down
4 changes: 2 additions & 2 deletions class/controller/TipoContaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 18,9 @@ function ListAll(){
return $tipoContaDAO->ListAll();
}

function ListByCode($code){
function getByCode($code){
$tipoContaDAO = new TipoContaDAO();
return $tipoContaDAO->ListByCode($code);
return $tipoContaDAO->getByCode($code);
}
}
?>
6,758 changes: 6,755 additions & 3 deletions pages/assets/css/bootstrap.min.css

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions pages/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2286,10 2286,6 @@ list-style: none;
color:#3D84E6 !important;
}

#footerall {
position:absolute;
bottom:0;
width:100%;
height:60px; /* Height of the footer */
background:#6cf;
}
.search-input {
width: 20px;
}
Loading

0 comments on commit 8f9694e

Please sign in to comment.