Skip to content
Snippets Groups Projects
Commit 7e26f7ff authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents 875525e5 928fff22
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@ class Animal extends Objet
private $poids;
private $genre;
private $sterile;
private $date_naissance;
private $date_deces;
private $dateNaissance;
private $dateDeces;
private $taille;
private $code;
......
......@@ -3,7 +3,7 @@
class Espece extends Objet
{
private $nom;
private $prix_consult;
private $prixConsult;
public function nom()
{
......
......@@ -5,10 +5,10 @@ class Facture extends Objet
private $id;
private $employe;
private $animal;
private $date_edition;
private $date_paiement;
private $moyen_paiement;
private $prix_total;
private $dateEdition;
private $datePaiement;
private $moyenPaiement;
private $prixTotal;
public function id()
{
......
......@@ -4,7 +4,7 @@ class Race extends Objet
{
private $nom;
private $espece;
private $prix_intervention;
private $prixIntervention;
public function nom()
{
......
......@@ -15,7 +15,7 @@ switch($action) {
case "listeAnimal":
$listArray = Animal::getAll();
$listParams = array("title" => "Liste des animaux de la clinique",
"keys" => array("nom", "proprio", "race", "poids", "genre", "sterile", "date de naissance", "date de décès", "taille", "code d'identification"));
"keys" => array("nom", "proprio", "race", "poids", "genre", "sterile", "dateNaissance", "dateDeces", "taille", "code"));
include 'view/list.php';
break;
case "addAnimal":
......
......@@ -15,7 +15,7 @@ switch($action) {
case "listeFact":
$listArray = Employe::getAll();
$listParams = array("title" => "Liste des factures",
"keys" => array("id", "employe", "animal", "date_edition", "date_paiement", "moyen_paiement", "prix_total"));
"keys" => array("id", "employe", "animal", "dateEdition", "datePaiement", "moyenPaiement", "prixTotal"));
include 'view/list.php';
break;
case "addFact":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment