diff --git a/htdocs/telephonie/adsl/fiche.php b/htdocs/telephonie/adsl/fiche.php index 75fefd9f57f..66147731234 100644 --- a/htdocs/telephonie/adsl/fiche.php +++ b/htdocs/telephonie/adsl/fiche.php @@ -40,11 +40,13 @@ if ($_POST["action"] == 'add') $ligne->client = $_POST["client"]; $ligne->client_install = $_POST["client_install"]; $ligne->client_facture = $_POST["client_facture"]; + $ligne->contrat = $_POST["contrat"]; $ligne->fournisseur = $_POST["fournisseur"]; $ligne->commercial = $_POST["commercial"]; $ligne->type = $_POST["type"]; $ligne->note = $_POST["note"]; + if ( $ligne->create($user) == 0) { Header("Location: fiche.php?id=".$ligne->id); @@ -412,6 +414,7 @@ elseif ($_GET["action"] == 'create_line' && $_GET["client"] > 0) print "