Fix example
This commit is contained in:
parent
4ce77e62c6
commit
cc72418ab9
@ -211,7 +211,7 @@ if (empty($mysoc->country_code)) {
|
||||
print '<span class="opacitymedium">'.$langs->trans("Format").':</span> '.price(price2num(1234.56789, 'MT'), 0, $langs, 1, -1, -1, $currencycode)."<br>\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 '<span class="opacitymedium">'.$langs->trans("UnitPriceOfProduct").":</span> ".price2num($s, 'MU');
|
||||
print " x ".$langs->trans("Quantity").": ".$qty;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user