From cc72418ab99a4eb433195f9bcd6d43c53fc56f41 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 9 Jan 2022 14:22:42 +0100 Subject: [PATCH] Fix example --- htdocs/admin/limits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/limits.php b/htdocs/admin/limits.php index c16cde9bb09..1209f41c48e 100644 --- a/htdocs/admin/limits.php +++ b/htdocs/admin/limits.php @@ -211,7 +211,7 @@ if (empty($mysoc->country_code)) { print ''.$langs->trans("Format").': '.price(price2num(1234.56789, 'MT'), 0, $langs, 1, -1, -1, $currencycode)."
\n"; // Always show vat rates with vat 0 - $s = 2 / 7; $qty = 1; $vat = 0; + $s = 2 / 3; $qty = 1; $vat = 0; $tmparray = calcul_price_total(1, $qty * price2num($s, 'MU'), 0, $vat, 0, 0, 0, 'HT', 0, 0, $mysoc); print ''.$langs->trans("UnitPriceOfProduct").": ".price2num($s, 'MU'); print " x ".$langs->trans("Quantity").": ".$qty;