Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equipe cefet 241106 #824

Merged
merged 26 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f35cc35
renomeando pet_adocao
nilsonLazarin Nov 6, 2024
a438bea
[HTML de padrinhos]
angel-jgpv Nov 8, 2024
ccd2553
[HTML PADRINHO]
angel-jgpv Nov 8, 2024
29acd95
Nova forma de relatório
Davi220506 Nov 8, 2024
daa3810
[Padrinho.php - PadrinhoControle.php - PadrinhoDAO.php - pre_cadastro…
angel-jgpv Nov 13, 2024
a0954fc
[Padrinho.php - PadrinhoControle.php - PadrinhoDAO.php - pre_cadastro…
angel-jgpv Nov 13, 2024
d40b664
[Padrinho.php - PadrinhoControle.php - PadrinhoDAO.php - pre_cadastro…
angel-jgpv Nov 14, 2024
1cefd4b
[Padrinho.php - PadrinhoControle.php - PadrinhoDAO.php - pre_cadastro…
angel-jgpv Nov 14, 2024
3320d06
[Padrinho.php - PadrinhoControle.php - PadrinhoDAO.php - pre_cadastro…
angel-jgpv Nov 14, 2024
dba73c9
[Erro no pre_cadastro_padrinho.php - Display Campo
angel-jgpv Nov 14, 2024
83b5053
[Modificações: pre_cadastro_padrinho.php - cadastro_padrinho.php - Pa…
angel-jgpv Nov 21, 2024
68c89da
Relatório de produtos
Davi220506 Nov 22, 2024
ba55c17
[Erro corrigido em display
angel-jgpv Nov 22, 2024
4f7951a
[Inclusão de cadastro_padrinho.php - cadastro_padrinho_pessoa_existen…
angel-jgpv Nov 27, 2024
7f057bc
Erro de redirecionamento corrigido
angel-jgpv Nov 28, 2024
62a2332
Erro de conexão resolvido
angel-jgpv Nov 28, 2024
8854df6
Erro de display corrigido
angel-jgpv Nov 28, 2024
f668b34
teste
angel-jgpv Nov 28, 2024
3d68429
teste
angel-jgpv Nov 28, 2024
7c19b1e
[cadastro_padrinho.php]
angel-jgpv Nov 29, 2024
035237d
[Módulo Padrinho V1]
angel-jgpv Nov 29, 2024
84d8245
Relatório de produtos
Davi220506 Nov 29, 2024
3567113
Merge pull request #812 from nilsonLazarin/pet-241106
nilsonLazarin Nov 29, 2024
d4fa4f5
Merge pull request #811 from nilsonLazarin/matPat-241106
nilsonLazarin Nov 29, 2024
711dc11
Relatório de produtos.
Davi220506 Dec 4, 2024
ee624d3
Merge pull request #823 from nilsonLazarin/matPat-241106
nilsonLazarin Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BD/wegia001.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1696,9 +1696,9 @@ CREATE TABLE IF NOT EXISTS `wegia`.`pet` (
ENGINE = InnoDB;

-- ----------------------------------------------------------
-- Table `wegia`.`adocao`
-- Table `wegia`.`pet_adocao`
-- ----------------------------------------------------------
CREATE TABLE IF NOT EXISTS `wegia`.`adocao` (
CREATE TABLE IF NOT EXISTS `wegia`.`pet_adocao` (
`id_adocao` INT NOT NULL AUTO_INCREMENT,
`id_pessoa` INT(11) NOT NULL,
`id_pet` INT(11) NOT NULL,
Expand Down
42 changes: 42 additions & 0 deletions classes/pet/padrinho/Padrinho.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
require_once __DIR__ . '/../../Pessoa.php';

class Padrinho extends Pessoa
{
private $id_padrinho;
private $id_pessoa;

//Get e Set Padrinho
public function getId_padrinho()
{
return $this->id_padrinho;
}
public function setId_padrinho($id_padrinho)
{
$this->id_padrinho = $id_padrinho;
}

//Get e Set Pessoa
public function getId_pessoa()
{
return $this->id_pessoa;
}
public function setId_pessoa($id_pessoa)
{
$this->id_pessoa = $id_pessoa;
}

static public function getDataNascimentoMaxima()
{
$idadeMinima = 18;
$data = date('Y-m-d', strtotime("-$idadeMinima years"));
return $data;
}

static public function getDataNascimentoMinima()
{
$idadeMaxima = 100;
$data = date('Y-m-d', strtotime("-$idadeMaxima years"));
return $data;
}
}
Loading