shish 4 лет назад
Родитель
Сommit
3eef65f99d
1 измененных файлов с 7 добавлено и 5 удалено
  1. 7 5
      biz-hd/order/classes/OrderClass.php

+ 7 - 5
biz-hd/order/classes/OrderClass.php

@@ -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 {