diff --git a/htdocs/takepos/receipt.php b/htdocs/takepos/receipt.php index 99579eeaf97..77d00f9b31f 100644 --- a/htdocs/takepos/receipt.php +++ b/htdocs/takepos/receipt.php @@ -256,14 +256,14 @@ if ($conf->global->TAKEPOS_SHOW_CUSTOMER) { // Now show local taxes if company uses them -if ($mysoc->useLocalTax(1) || price2num($object->total_localtax1, 'MU')) { ?> +if (price2num($object->total_localtax1, 'MU') || $mysoc->useLocalTax(1)) { ?> trans("TotalLT1").''.price($object->total_localtax1, 1, '', 1, - 1, - 1, $conf->currency)."\n"; } ?> -useLocalTax(2) || price2num($object->total_localtax2, 'MU')) { ?> +total_localtax2, 'MU') || $mysoc->useLocalTax(2)) { ?> trans("TotalLT2").''.price($object->total_localtax2, 1, '', 1, - 1, - 1, $conf->currency)."\n";