Skip to content
Snippets Groups Projects
Commit 8dfdbe8c authored by NF17 Etudiant's avatar NF17 Etudiant
Browse files

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

parents 4a1b15a9 5d64cba2
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ class Facture extends Objet ...@@ -22,7 +22,7 @@ class Facture extends Objet
), ),
"date_paiement" => array( "date_paiement" => array(
"label" => "Date de paiement", "label" => "Date de paiement",
"i" => -1 "i" => 8
), ),
"moyen_paiement" => array( "moyen_paiement" => array(
"label" => "Moyen de paiement", "label" => "Moyen de paiement",
......
...@@ -22,13 +22,17 @@ switch($action) { ...@@ -22,13 +22,17 @@ switch($action) {
include 'view/form.php'; include 'view/form.php';
break; break;
case "detailFacture": case "detailFacture":
$list = Facture::getList("Liste des Factures"); /*$list = Facture::getList("Liste des Factures");
$facture = new Facture(); $facture = new Facture();
$facture->select($_GET['id']); $facture->select($_GET['id']);
$formConf = $facture->getForm(); $formConf = $facture->getForm();
include 'view/formDetail.php'; include 'view/formDetail.php';*/
$ligneFacture = new LigneFacture();
$formConf = $ligneFacture->getForm();
include 'view/form.php';
$list = LigneFacture::getList("Détail de la facture", $_GET["id"]); $list = LigneFacture::getList("Détails de la facture", $_GET["id"]);
include 'view/list.php'; include 'view/list.php';
break; break;
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment