|
|
@@ -499,25 +499,25 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
|
|
|
if (isset($respond['sendCost']) && $respond['sendCost'] > 0) {
|
|
|
- $content .= ' 运费:' . $respond['sendCost'] . '<BR>';
|
|
|
+ $content .= ' 运费:' . floatval($respond['sendCost']) . '<BR>';
|
|
|
}
|
|
|
- $content .= '订单金额:' . $respond['orderPrice'] . '<BR>';
|
|
|
+ $content .= '订单金额:' . floatval($respond['orderPrice']) . '<BR>';
|
|
|
if (isset($respond['discountAmount']) && !empty($respond['discountAmount']) && $respond['discountAmount'] > 0) {
|
|
|
- $content .= '优惠扣除:' . $respond['discountAmount'] . '<BR>';
|
|
|
+ $content .= '优惠扣除:-' . floatval($respond['discountAmount']) . '<BR>';
|
|
|
}
|
|
|
|
|
|
if (isset($respond['refundPrice']) && $respond['refundPrice'] > 0) {
|
|
|
- $content .= '退款金额:' . $respond['refundPrice'] . '<BR>';
|
|
|
+ $content .= '退款金额:' . floatval($respond['refundPrice']) . '<BR>';
|
|
|
}
|
|
|
|
|
|
- $content .= '应付金额:' . $respond['orderPrice'] . '<BR>';
|
|
|
+ $content .= '应付金额:' . floatval($respond['orderPrice']) . '<BR>';
|
|
|
if (isset($respond['debt']) && $respond['debt'] == 1) {
|
|
|
- $content .= '实付金额:0.00<BR>';
|
|
|
+ $content .= '实付金额:0<BR>';
|
|
|
} else {
|
|
|
- $content .= '实付金额:' . $respond['realPrice'] . '<BR>';
|
|
|
+ $content .= '实付金额:' . floatval($respond['realPrice']) . '<BR>';
|
|
|
}
|
|
|
if ($debtAmount > 0) {
|
|
|
- $content .= '累计欠款:' . $debtAmount . '<BR>';
|
|
|
+ $content .= '累计欠款:' . floatval($debtAmount) . '<BR>';
|
|
|
}
|
|
|
|
|
|
|