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

change

parent 0cb03d33
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class Facture extends Objet
),
"date_paiement" => array(
"label" => "Date de paiement",
"i" => -1
"i" => 8
),
"moyen_paiement" => array(
"label" => "Moyen de paiement",
......
......@@ -22,13 +22,17 @@ switch($action) {
include 'view/form.php';
break;
case "detailFacture":
$list = Facture::getList("Liste des Factures");
/*$list = Facture::getList("Liste des Factures");
$facture = new Facture();
$facture->select($_GET['id']);
$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';
break;
default:
......
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