From c3ba8f7843461fe26a5c90a69c0eb5ddf19a109b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Sep 2020 02:13:27 +0200 Subject: [PATCH] Better translation --- htdocs/core/tpl/objectline_title.tpl.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/core/tpl/objectline_title.tpl.php b/htdocs/core/tpl/objectline_title.tpl.php index f04bfc50da8..88a8d69cdf7 100644 --- a/htdocs/core/tpl/objectline_title.tpl.php +++ b/htdocs/core/tpl/objectline_title.tpl.php @@ -59,7 +59,13 @@ if ($this->element == 'supplier_proposal' || $this->element == 'order_supplier' } // VAT -print ''.$langs->trans('VAT').''; +print ''; +if (! empty($conf->global->FACTURE_LOCAL_TAX1_OPTION) || !empty($conf->global->FACTURE_LOCAL_TAX1_OPTION)) { + print $langs->trans('Taxes'); +} else { + print $langs->trans('VAT'); +} +print ''; // Price HT print ''.$langs->trans('PriceUHT').'';