Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2f63c767
authored
Nov 24, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
订单详情
parent
17c857d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
app/Admin/Controllers/OrderController.php
app/Models/Order.php
app/Admin/Controllers/OrderController.php
View file @
2f63c767
...
...
@@ -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_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"
],
""
);
...
...
app/Models/Order.php
View file @
2f63c767
...
...
@@ -37,6 +37,11 @@ class Order extends BaseModel
"交易成功"
=>
10
,
];
public
static
$ORDER_USER_PAY_TYPE
=
[
"Paypal"
=>
1
,
"TT"
=>
2
,
];
//查看权限
public
static
$ruleViewList
=
[
"sem_order_viewAllList"
,
//查看所有
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment