|
|
@@ -119,32 +119,29 @@ class PurchaseOrderClass extends BaseClass
|
|
|
$content .= '********************************<BR><BR>';
|
|
|
|
|
|
if (isset($orderInfo['itemPrice']) && $orderInfo['itemPrice'] > 0) {
|
|
|
- $content .= '商品金额:' . floatval($orderInfo['itemPrice']) . '<BR>';
|
|
|
+ $content .= '商品金额:' . floatval($orderInfo['itemPrice']) . '元<BR>';
|
|
|
}
|
|
|
if (isset($orderInfo['sendCost']) && $orderInfo['sendCost'] > 0) {
|
|
|
- $content .= ' 运费:' . floatval($orderInfo['sendCost']) . '<BR>';
|
|
|
+ $content .= ' 运费:' . floatval($orderInfo['sendCost']) . '元<BR>';
|
|
|
}
|
|
|
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) {
|
|
|
- $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) {
|
|
|
- $content .= '退款金额:' . floatval($orderInfo['tkPrice']) . '<BR>';
|
|
|
+ $content .= '退款金额:' . floatval($orderInfo['tkPrice']) . '元<BR>';
|
|
|
}
|
|
|
$content .= '<B>订单金额:' . floatval($orderInfo['realPrice']) . '</B><BR>';
|
|
|
if (isset($orderInfo['debt']) && $orderInfo['debt'] == 1) {
|
|
|
- $content .= '实付金额:0<BR>';
|
|
|
+ $content .= '实付金额:0元<BR>';
|
|
|
} else {
|
|
|
- $content .= '实付金额:' . floatval($orderInfo['realPrice']) . '<BR>';
|
|
|
+ $content .= '实付金额:' . floatval($orderInfo['realPrice']) . '元<BR>';
|
|
|
}
|
|
|
if ($debtAmount > 0) {
|
|
|
- $content .= '累计赊账:' . $debtCount . '笔 ' . floatval($debtAmount) . '<BR>';
|
|
|
+ $content .= '累计赊账:' . $debtCount . '笔 ' . floatval($debtAmount) . '元<BR>';
|
|
|
}
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
|