diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 2cf78a053d3..2141e9f3eb4 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -1015,7 +1015,7 @@ class Form $obj = $this->db->fetch_object($resql); // Si traduction existe, on l'utilise, sinon on prend le libellé par défaut - $libelle=($langs->trans($obj->code)!=$obj->code?$langs->trans($obj->code):($obj->libelle!='-'?$obj->libelle:'')); + $libelle=($langs->trans("PaymentTypeShort".$obj->code)!=("PaymentTypeShort".$obj->code)?$langs->trans("PaymentTypeShort".$obj->code):($obj->libelle!='-'?$obj->libelle:'')); $this->cache_types_paiements_code[$obj->id]=$obj->code; $this->cache_types_paiements_libelle[$obj->id]=$libelle; $this->cache_types_paiements_type[$obj->id]=$obj->type; diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 1c69f96de78..bc9631251b7 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -149,6 +149,21 @@ PaymentConditionShort60D=60 days PaymentCondition60D=Payment after 60 days PaymentConditionShort60DENDMONTH=60 days end of month PaymentCondition60DENDMONTH=Payment after 60 days end of month +# PaymentType +PaymentTypeTYP=TIP +PaymentTypeShortTYP=TIP +PaymentTypeVIR=Bank withdraw +PaymentTypeShortVIR=Bank withdraw +PaymentTypePRE=Standing order +PaymentTypeShortPRE=Standing order +PaymentTypeLIQ=Cash +PaymentTypeShortLIQ=Cash +PaymentTypeVAD=On line payment +PaymentTypeShortVAD=On line payment +PaymentTypeCB=Credit card +PaymentTypeShortCB=Credit card +PaymentTypeCHQ=Cheque +PaymentTypeShortCHQ=Cheque BankDetails=Bank details BankCode=Bank code diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index b8318865a3c..6607f74fb3a 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -149,6 +149,21 @@ PaymentConditionShort60D=60 jours PaymentCondition60D=Règlement à 60 jours PaymentConditionShort60DENDMONTH=60 jours fin de mois PaymentCondition60DENDMONTH=Règlement à 60 jours fin de mois +# PaymentType +PaymentTypeTYP=TIP +PaymentTypeShortTYP=TIP +PaymentTypeVIR=Virement bancaire +PaymentTypeShortVIR=Virement +PaymentTypePRE=Prélèvement bancaire +PaymentTypeShortPRE=Prélèvement +PaymentTypeLIQ=Liquide +PaymentTypeShortLIQ=Liquide +PaymentTypeVAD=Paiement en ligne +PaymentTypeShortVAD=Paiement en ligne +PaymentTypeCB=Carte bancaire +PaymentTypeShortCB=Carte bancaire +PaymentTypeCHQ=Cheque +PaymentTypeShortCHQ=Cheque BankDetails=Coordonnées bancaires BankCode=Code banque