Commit 2f63c767 by 孙龙

订单详情

parent 17c857d1
...@@ -306,6 +306,9 @@ JS ...@@ -306,6 +306,9 @@ JS
$info["settlementInfo"]["order_total_amount"] = $info["settlementInfo"]["order_amount"] + $info["settlementInfo"]["order_freight_amount"]+$info["settlementInfo"]["order_pay_commission_amount"]; $info["settlementInfo"]["order_total_amount"] = $info["settlementInfo"]["order_amount"] + $info["settlementInfo"]["order_freight_amount"]+$info["settlementInfo"]["order_pay_commission_amount"];
$info["settlementInfo"]["order_total_amount_format"] = decimal_number_format_usd($info["settlementInfo"]["order_total_amount"]); $info["settlementInfo"]["order_total_amount_format"] = decimal_number_format_usd($info["settlementInfo"]["order_total_amount"]);
$info["settlementInfo"]["order_user_pay_type"] = $orderInfo["order_user_pay_type"];
$info["settlementInfo"]["order_user_pay_type_cn"] = Arr::get(Order::$ORDER_USER_PAY_TYPE,$orderInfo["order_user_pay_type"],"");
......
...@@ -37,6 +37,11 @@ class Order extends BaseModel ...@@ -37,6 +37,11 @@ class Order extends BaseModel
"交易成功"=>10, "交易成功"=>10,
]; ];
public static $ORDER_USER_PAY_TYPE=[
"Paypal"=>1,
"TT"=>2,
];
//查看权限 //查看权限
public static $ruleViewList = [ public static $ruleViewList = [
"sem_order_viewAllList", //查看所有 "sem_order_viewAllList", //查看所有
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment