TakePOS price rounding

This commit is contained in:
javierybar 2020-01-24 09:22:46 +01:00 committed by GitHub
parent 12b4909c45
commit c46f255408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ if ($conf->global->TAKEPOS_CUSTOM_RECEIPT && $conf->global->TAKEPOS_SHOW_CUSTOME
else echo $line->description;?>
</td>
<td class="right"><?php echo $line->qty;?></td>
<td class="right"><?php echo $line->total_ttc/$line->qty;?></td>
<td class="right"><?php echo price(price2num($line->total_ttc, 'MT'), 1);?></td>
<td class="right"><?php echo price($line->total_ttc);?></td>
</tr>
<?php