Fix discount rendering in receiving receipt (#3114)

This commit is contained in:
Jeroen Peelaerts
2021-04-09 23:26:35 +02:00
committed by jekkos
parent dfd19c38f2
commit 46346a5b46

View File

@@ -100,7 +100,7 @@
elseif($item['discount_type'] == PERCENT)
{
?>
<td colspan="3" class="discount"><?php echo number_format($item['discount'], 0) . " " . $this->lang->line("sales_discount_included") ?></td>
<td colspan="3" class="discount"><?php echo to_decimals($item['discount']) . " " . $this->lang->line("sales_discount_included") ?></td>
<?php
}
?>