|
@@ -501,20 +501,20 @@ class Data extends Core
|
|
|
$d = array
|
|
|
(
|
|
|
'title' => $v['info']['name'] . $sku,
|
|
|
- 'price' => '¥' . $v['price'],
|
|
|
- 'num' => 'x' . $v['num'],
|
|
|
- 'total' => '¥' . $v['price']*$v['num'],
|
|
|
+ 'price' => '' . $v['price'],
|
|
|
+ 'num' => $v['num'],
|
|
|
+ 'total' => '' . $v['price']*$v['num'],
|
|
|
);
|
|
|
$goods[] = $d;
|
|
|
if ($v['status'] == 3) {
|
|
|
$tgoods[] = $d;
|
|
|
}
|
|
|
}
|
|
|
- $content = '--------------'.$main_config['name'].'------------<BR><BR>';
|
|
|
+ $content = '------------'.$main_config['name'].'------------<BR><BR>';
|
|
|
$content .= '<C>'.$config['method'][$order['method']].'</C><BR>';
|
|
|
$content .= '<CB>单号:'.$order['order_num'].'</CB><BR><BR>';
|
|
|
$content .= '门店名称:'.$shop['name'].'<BR>';
|
|
|
- $content .= '制单人:'.$user['name'].'<BR>';
|
|
|
+ $content .= '制 单 人:'.$user['name'].'<BR>';
|
|
|
$content .= '下单时间:'.$order['cdate'].'<BR>';
|
|
|
if ($order['fdate']) {
|
|
|
$content .= '完成时间:'.$order['fdate'].'<BR>';
|
|
@@ -524,25 +524,24 @@ class Data extends Core
|
|
|
$content .= Dever::load('mshop/lib/feieyun')->goods('订单商品', $goods);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
if ($order['card_code_id']) {
|
|
|
$card = Dever::db('goods/card_code')->find($order['card_code_id']);
|
|
|
if ($card) {
|
|
|
$content .= '礼品卡:'.$card['card'].'<BR>';
|
|
|
}
|
|
|
}
|
|
|
- $content .= '优惠:¥ '.$order['coupon_cash'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('优 惠:', $order['coupon_cash']).'<BR>';
|
|
|
if (isset($order['ps_cash']) && $order['ps_cash']) {
|
|
|
- $content .= '配送费:¥ '.$order['ps_cash'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('配送费:', $order['ps_cash']).' <BR>';
|
|
|
}
|
|
|
- $content .= '应付:¥ '.$order['price'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('应 付:', $order['price']).'<BR>';
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
- $content .= '微信支付:¥ '.$order['price'].'<BR>';
|
|
|
- $content .= '找零:'.$order['kou_cash'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr($order['pay_type_name'] . '支付:', $order['price']).'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('找 零:', $order['kou_cash']).'<BR>';
|
|
|
|
|
|
if ($tgoods) {
|
|
|
$content .= Dever::load('mshop/lib/feieyun')->goods('退款商品', $tgoods);
|
|
|
- $content .= '退款金额:¥ '.$order['coupon_cash'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('退款金额:', $order['coupon_cash']).'<BR>';
|
|
|
}
|
|
|
|
|
|
$content .= '--------------------------------<BR>';
|
|
@@ -557,14 +556,14 @@ class Data extends Core
|
|
|
}
|
|
|
|
|
|
if ($order['info']) {
|
|
|
- $content .= '备注:'.$order['info'].'<BR>';
|
|
|
+ $content .= Dever::load('mshop/lib/feieyun')->lr('备注:', $order['info']).'<BR>';
|
|
|
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
}
|
|
|
|
|
|
|
|
|
$content .= '<C>如遇任何问题请致电客服</C><BR>';
|
|
|
- $content .= '<C>电话:'.$factory_config['phone'].'</C><BR>';
|
|
|
+ $content .= '<C>电话:'.$manage_config['phone'].'</C><BR>';
|
|
|
$content .= '<C>'.$main_config['worktime'].'</C><BR>';
|
|
|
|
|
|
|