|
|
@@ -89,7 +89,7 @@ use NumberFormatter;
|
|
|
</td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
- $subtotal = bcadd($subtotal, $item->getAmount());
|
|
|
+ $subtotal = bcadd($subtotal, $item->getAmount(), 2);
|
|
|
}
|
|
|
$tax = bcmul($subtotal, $sale->tax_rate / 100, 2);
|
|
|
$total = bcadd($subtotal, $tax, 2);
|