WAP always 2 decimals

This commit is contained in:
fappels 2017-06-30 10:56:05 +02:00
parent 574590a598
commit 989084e4de
2 changed files with 24 additions and 24 deletions

View File

@ -43,4 +43,4 @@ NotTheGoodQualitySupplier=Wrong quality
ReputationForThisProduct=Reputation ReputationForThisProduct=Reputation
BuyerName=Buyer name BuyerName=Buyer name
AllProductServicePrices=All product / service prices AllProductServicePrices=All product / service prices
BuyingPriceNumShort=Nbr of Buying prices BuyingPriceNumShort=Supplier prices

View File

@ -846,10 +846,10 @@ else
// WAP // WAP
if (! empty($arrayfields['p.pmp']['checked'])) if (! empty($arrayfields['p.pmp']['checked']))
{ {
print '<td align="right">'; print '<td class="nowrap" align="right">';
if ($obj->tobuy) if ($obj->tobuy)
{ {
print price($product_static->pmp, 1, $langs, 1, 2, 1, 'auto'); print price($product_static->pmp, 1, $langs, 1, 2, 2, 'auto');
} }
print '</td>'; print '</td>';
} }