|
@@ -98,7 +98,7 @@
|
|
|
<td class="align-center"><?php
|
|
|
if(intval($order['goods_amount'] * 100 + 0.5) > 0) {
|
|
|
$discount = $order['pd_amount'] / $order['goods_amount'];
|
|
|
- $discount = $discount * 100;
|
|
|
+ $discount = intval($discount * 10000) / 100;
|
|
|
} else {
|
|
|
$discount = 0;
|
|
|
}
|