Merge pull request #12921 from javierybar/develop

TakePOS price rounding in receipt
This commit is contained in:
Laurent Destailleur 2020-01-26 22:13:42 +01:00 committed by GitHub
commit ce981e558c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,8 +138,8 @@ 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($line->total_ttc);?></td>
<td class="right"><?php echo price(price2num($line->total_ttc / $line->qty, 'MT'), 1);?></td>
<td class="right"><?php echo price($line->total_ttc, 1);?></td>
</tr>
<?php
}