diff --git a/class/lignefactureordonnance b/class/lignefactureordonnance index 22a89b313e244b22d84630c06ffecdee6ae60b69..b667992c8915fe4942e5b8f8c35813eabb10efe9 100644 --- a/class/lignefactureordonnance +++ b/class/lignefactureordonnance @@ -6,10 +6,19 @@ class LigneFactureOrdonnance extends LigneFacture "prestation" => array( "i" => -1 ), + "ordonnance" => array( + "t" => "ForeignField" + ), "produit" => array( "i" => -1 ), "quantite" => array( "i" => -1 + ), + "facture" => array( + "i" => -1 + ), + "remise" => array( + "i" => 10 )); } \ No newline at end of file diff --git a/class/lignefactureprestation.php b/class/lignefactureprestation.php index 14d32feff1e9da6b72658635a0c3156e7313fbbf..efbf18bf25a6a686c55cc5df618c88d308448328 100644 --- a/class/lignefactureprestation.php +++ b/class/lignefactureprestation.php @@ -9,8 +9,17 @@ class LigneFacturePrestation extends LigneFacture "produit" => array( "i" => -1 ), + "prestation" => array( + "t" => "ForeignField" + ), "quantite" => array( "i" => -1 + ), + "facture" => array( + "i" => -1 + ), + "remise" => array( + "i" => 10 )); } \ No newline at end of file diff --git a/class/lignefactureproduit.php b/class/lignefactureproduit.php index 1dba18d64c780aabfdd4ab016d043ca4ab45d2c3..a32aebbef8cd86e2e083eb84ea91b346f4de8ed4 100644 --- a/class/lignefactureproduit.php +++ b/class/lignefactureproduit.php @@ -6,7 +6,16 @@ class LigneFactureProduit extends LigneFacture "ordonnance" => array( "i" => -1 ), + "produit" => array( + "t" => "ForeignField" + ), "prestation" => array( "i" => -1 + ), + "facture" => array( + "i" => -1 + ), + "remise" => array( + "i" => 10 )); } \ No newline at end of file