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

+ 2 - 3
biz-hd/order/classes/OrderClass.php

@@ -535,8 +535,8 @@ class OrderClass extends BaseClass
         } else {
             $content .= '实付金额:' . floatval($respond['realPrice']) . '<BR>';
         }
-        if (isset($respond['remainDebtPrice']) && $respond['remainDebtPrice'] > 0) {
-            $content .= '待收尾款:' . floatval($respond['remainDebtPrice']) . '<BR>';
+        if (isset($order->remainDebtPrice) && $order->remainDebtPrice > 0) {
+            $content .= '尾款:' . floatval($order->remainDebtPrice) . '<BR>';
         }
 
         $shop = ShopClass::getById($shopId, true);
@@ -551,7 +551,6 @@ class OrderClass extends BaseClass
             }
         }
 
-
         $content .= '--------------------------------<BR>';
         $content .= '订单日期:' . $order->addTime . '<BR>';
         $content .= '订单编号:' . $respond['orderSn'] . '<BR>';