diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 0ca2155feb1..9eb94b9c9ee 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1347,7 +1347,7 @@ if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'e print $hookmanager->resPrint; if (empty($_SESSION["basiclayout"]) || $_SESSION["basiclayout"] != 1) { - if ($conf->global->TAKEPOS_SHOW_SUBPRICE) { + if (getDolGlobalString("TAKEPOS_SHOW_SUBPRICE")) { print ''.$langs->trans('PriceUHT').''; } print ''.$langs->trans('ReductionShort').'';