diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 92f203a35a0..8b108aa8885 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1623,7 +1623,7 @@ if ($_GET['action'] == 'create') print ''; print ''; print ''; - $desc=$html->textwithpicto($langs->trans("InvoiceProformat"),$langs->transnoentities("InvoiceProformatDesc"),1); + $desc=$html->textwithpicto($langs->trans("InvoiceProFormat"),$langs->transnoentities("InvoiceProFormatDesc"),1); print $desc; print ''."\n"; } diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 713f27740a6..786b3e656d5 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -2021,6 +2021,7 @@ class Facture extends CommonObject if ($this->type == 1) return $langs->trans("InvoiceReplacement"); if ($this->type == 2) return $langs->trans("InvoiceAvoir"); if ($this->type == 3) return $langs->trans("InvoiceDeposit"); + if ($this->type == 4) return $langs->trans("InvoiceProFormat"); return $langs->trans("Unknown"); }