shish 3 lat temu
rodzic
commit
b9f5e77394
1 zmienionych plików z 9 dodań i 12 usunięć
  1. 9 12
      biz-ghs/order/classes/PurchaseOrderClass.php

+ 9 - 12
biz-ghs/order/classes/PurchaseOrderClass.php

@@ -119,32 +119,29 @@ class PurchaseOrderClass extends BaseClass
         $content .= '********************************<BR><BR>';
         $content .= '********************************<BR><BR>';
 
 
         if (isset($orderInfo['itemPrice']) && $orderInfo['itemPrice'] > 0) {
         if (isset($orderInfo['itemPrice']) && $orderInfo['itemPrice'] > 0) {
-            $content .= '商品金额:' . floatval($orderInfo['itemPrice']) . '<BR>';
+            $content .= '商品金额:' . floatval($orderInfo['itemPrice']) . '<BR>';
         }
         }
         if (isset($orderInfo['sendCost']) && $orderInfo['sendCost'] > 0) {
         if (isset($orderInfo['sendCost']) && $orderInfo['sendCost'] > 0) {
-            $content .= '    运费:' . floatval($orderInfo['sendCost']) . '<BR>';
+            $content .= '    运费:' . floatval($orderInfo['sendCost']) . '<BR>';
         }
         }
         if (isset($orderInfo['packCost']) && $orderInfo['packCost'] > 0) {
         if (isset($orderInfo['packCost']) && $orderInfo['packCost'] > 0) {
-            $content .= '  打包费:' . floatval($orderInfo['packCost']) . '<BR>';
+            $content .= '  打包费:' . floatval($orderInfo['packCost']) . '<BR>';
         }
         }
-        $content .= '合计金额:' . floatval($orderInfo['prePrice']) . '<BR>';
+        $content .= '合计金额:' . floatval($orderInfo['prePrice']) . '<BR>';
         if (isset($orderInfo['discountAmount']) && !empty($orderInfo['discountAmount']) && $orderInfo['discountAmount'] > 0) {
         if (isset($orderInfo['discountAmount']) && !empty($orderInfo['discountAmount']) && $orderInfo['discountAmount'] > 0) {
-            $content .= '优惠扣除:-' . floatval($orderInfo['discountAmount']) . '<BR>';
-        }
-        if (isset($orderInfo['book']) && $orderInfo['book'] == 1) {
-            $content .= '预付金额:' . floatval($orderInfo['bookPrice']) . '<BR>';
+            $content .= '优惠扣除:-' . floatval($orderInfo['discountAmount']) . '元<BR>';
         }
         }
         if (isset($orderInfo['tkPrice']) && $orderInfo['tkPrice'] > 0) {
         if (isset($orderInfo['tkPrice']) && $orderInfo['tkPrice'] > 0) {
-            $content .= '退款金额:' . floatval($orderInfo['tkPrice']) . '<BR>';
+            $content .= '退款金额:' . floatval($orderInfo['tkPrice']) . '元<BR>';
         }
         }
         $content .= '<B>订单金额:' . floatval($orderInfo['realPrice']) . '</B><BR>';
         $content .= '<B>订单金额:' . floatval($orderInfo['realPrice']) . '</B><BR>';
         if (isset($orderInfo['debt']) && $orderInfo['debt'] == 1) {
         if (isset($orderInfo['debt']) && $orderInfo['debt'] == 1) {
-            $content .= '实付金额:0<BR>';
+            $content .= '实付金额:0<BR>';
         } else {
         } else {
-            $content .= '实付金额:' . floatval($orderInfo['realPrice']) . '<BR>';
+            $content .= '实付金额:' . floatval($orderInfo['realPrice']) . '<BR>';
         }
         }
         if ($debtAmount > 0) {
         if ($debtAmount > 0) {
-            $content .= '累计赊账:' . $debtCount . '笔 ' . floatval($debtAmount) . '<BR>';
+            $content .= '累计赊账:' . $debtCount . '笔 ' . floatval($debtAmount) . '<BR>';
         }
         }
         $content .= '--------------------------------<BR>';
         $content .= '--------------------------------<BR>';