From f4345a7335920427ee59cfe03126864dca4b7e16 Mon Sep 17 00:00:00 2001 From: Matthieu Guffroy <mattgu74@gmail.com> Date: Thu, 19 Jun 2014 02:16:06 +0200 Subject: [PATCH] add options sur factures --- controller/fact.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/fact.php b/controller/fact.php index 71eb6c3..40a08d4 100644 --- a/controller/fact.php +++ b/controller/fact.php @@ -24,19 +24,19 @@ switch($action) { case "addPresta": $ligne = new LigneFacturePrestation(); $ligne->setFacture($_GET['factId']); - $formConf = $facture->getForm(); + $formConf = $ligne->getForm(); include 'view/form.php'; break; case "addProduit": $ligne = new LigneFactureProduit(); $ligne->setFacture($_GET['factId']); - $formConf = $facture->getForm(); + $formConf = $ligne->getForm(); include 'view/form.php'; break; case "addOrd": $ligne = new LigneFactureOrdonnance(); $ligne->setFacture($_GET['factId']); - $formConf = $facture->getForm(); + $formConf = $ligne->getForm(); include 'view/form.php'; break; case "detailFacture": -- GitLab