diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index a8c2ff747ad..280664ea421 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -374,7 +374,7 @@ if (empty($reshook)) $object->ref = $_POST['ref']; $object->ref_supplier = $_POST['ref_supplier']; $object->socid = $_POST['socid']; - $object->libelle = $_POST['libelle']; + $object->libelle = $_POST['label']; $object->date = $datefacture; $object->date_echeance = $datedue; $object->note_public = GETPOST('note_public'); @@ -1321,7 +1321,7 @@ if ($action == 'create') print ''; // Label - print ''.$langs->trans('Label').''; + print ''.$langs->trans('Label').''; // Date invoice print ''.$langs->trans('DateInvoice').''; @@ -1711,8 +1711,8 @@ else print ''; // Label - print ''.$form->editfieldkey("Label",'libelle',$object->label,$object,($user->rights->fournisseur->facture->creer)).''; - print ''.$form->editfieldval("Label",'libelle',$object->label,$object,($user->rights->fournisseur->facture->creer)).''; + print ''.$form->editfieldkey("Label",'label',$object->label,$object,($user->rights->fournisseur->facture->creer)).''; + print ''.$form->editfieldval("Label",'label',$object->label,$object,($user->rights->fournisseur->facture->creer)).''; /* * List of payments