From 46d36478773870dab945dc326cb77bde2668282d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 26 Jul 2022 12:18:56 +0200 Subject: [PATCH] Merge --- htdocs/compta/bank/class/account.class.php | 2 +- htdocs/core/class/commonobject.class.php | 4 ++++ htdocs/core/class/html.form.class.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 7a7097ecb71..21a082e9491 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -2390,7 +2390,7 @@ class AccountLine extends CommonObject $result = ''; - $label = img_picto('', $this->picto).' '.$langs->trans("Transaction").':
'; + $label = img_picto('', $this->picto).' '.$langs->trans("BankTransactionLine").':
'; $label .= ''.$langs->trans("Ref").': '.$this->ref; $linkstart = ''; diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index ad31e42a625..a0b225b952b 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -588,6 +588,10 @@ abstract class CommonObject public $alreadypaid; + private $labelStatus; + private $labelStatusShort; + + /** * @var array List of child tables. To test if we can delete object. */ diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index dda61ae72d4..9c3aaa87cb0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -9387,7 +9387,7 @@ class Form $ret .= ''; // gravatar need md5 hash } else { if ($nophoto == 'company') { - $ret .= '
'.img_picto('', 'company').'
'; + $ret .= '
'.img_picto('', 'company').'
'; } else { $ret .= ''; }