Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
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
52088c1e
authored
Nov 23, 2022
by
SUDPTDUBLXEROFX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
深茂订单详情
parent
e8cf371d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Http/Services/OrderService.php
app/Http/Services/OrderService.php
View file @
52088c1e
...
...
@@ -434,6 +434,7 @@ class OrderService
$temp
=
[];
$return_amount_all
=
0
;
foreach
(
$returnItems
as
$k
=>
$v
){
$orderGoodsInfo
=
\Arr
::
get
(
$orderItemsArr
,
$v
[
"rec_id"
]);
$temp
[]
=
[
...
...
@@ -448,8 +449,9 @@ class OrderService
"after_sale_price"
=>
$v
[
"return_price"
],
// 售后单价
"return_amount"
=>
$v
[
"return_amount"
],
// 售后金额
];
$return_amount_all
+=
$v
[
"return_amount"
];
}
return
$temp
;
return
[
"return_amount_all"
=>
$return_amount_all
,
"items"
=>
$temp
]
;
}
}
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