|
|
@@ -535,20 +535,22 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
}
|
|
|
-
|
|
|
if (isset($respond['sendCost']) && $respond['sendCost'] > 0) {
|
|
|
$content .= ' 运费:' . floatval($respond['sendCost']) . '<BR>';
|
|
|
}
|
|
|
- $content .= '订单金额:' . floatval($respond['orderPrice']) . '<BR>';
|
|
|
+ if (isset($order->serviceFee) && $order->serviceFee > 0) {
|
|
|
+ $content .= ' 手续费:' . floatval($order->serviceFee) . '<BR>';
|
|
|
+ }
|
|
|
+ if (isset($order->labourCost) && $order->labourCost > 0) {
|
|
|
+ $content .= ' 人工包装费:' . floatval($order->labourCost) . '<BR>';
|
|
|
+ }
|
|
|
if (isset($respond['discountAmount']) && !empty($respond['discountAmount']) && $respond['discountAmount'] > 0) {
|
|
|
$content .= '优惠扣除:-' . floatval($respond['discountAmount']) . '<BR>';
|
|
|
}
|
|
|
-
|
|
|
+ $content .= '订单金额:' . floatval($respond['orderPrice']) . '<BR>';
|
|
|
if (isset($respond['refundPrice']) && $respond['refundPrice'] > 0) {
|
|
|
$content .= '退款金额:' . floatval($respond['refundPrice']) . '<BR>';
|
|
|
}
|
|
|
-
|
|
|
- $content .= '应付金额:' . floatval($respond['orderPrice']) . '<BR>';
|
|
|
if (isset($respond['debt']) && $respond['debt'] == 1) {
|
|
|
$content .= '实付金额:0<BR>';
|
|
|
} else {
|