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

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

parents e632ce75 af0081dc
No related branches found
No related tags found
No related merge requests found
...@@ -22,16 +22,9 @@ switch($action) { ...@@ -22,16 +22,9 @@ switch($action) {
include 'view/form.php'; include 'view/form.php';
break; break;
case "detailFacture": case "detailFacture":
/*$list = Facture::getList("Liste des Factures"); // TODO: Ajouter bouton payer
$facture = new Facture(); // TODO: Ajouter résumé de la facture (client, prix etc... )
$facture->select($_GET['id']); // TODO: Ajouter 3 boutons: "Ajouter Prestation", "Ajouter Produit", "Ajouter Medicament/Ordonnance"
$formConf = $facture->getForm();
include 'view/formDetail.php';*/
$ligneFacture = new LigneFacture();
$formConf = $ligneFacture->getForm();
include 'view/form.php';
$list = LigneFacture::getList("Détails 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;
......
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