Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
24abee34
Commit
24abee34
authored
Jan 30, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
where
parent
315d365d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Finance.php
application/index/controller/Finance.php
+3
-3
No files found.
application/index/controller/Finance.php
View file @
24abee34
...
...
@@ -2609,7 +2609,7 @@ class Finance extends Basic
$m_report
=
new
OReportModel
();
$m_agent_house
=
new
GHousesToAgents
();
$m_house
=
new
GHouses
();
$m_refund
=
new
ORefund
Log
Model
();
$m_refund
=
new
ORefundModel
();
foreach
(
$list
as
$k
=>
$v
)
{
if
(
$v
[
'source'
]
==
2
)
{
$source_id
=
$m_pay_adjustment
->
getFieldColumn
(
'id'
,
[
'new_paylog_id'
=>
$v
[
'id'
]]);
...
...
@@ -2618,8 +2618,8 @@ class Finance extends Basic
$list
[
$k
][
'source_id'
]
=
''
;
}
$num
=
$m_refund
->
get
Total
([
'order_id'
=>
$v
[
'order_
id'
],
'is_del'
=>
0
]);
if
(
$num
>
0
)
{
$num
=
$m_refund
->
get
Find
(
'id'
,[
'pay_log_id'
=>
$v
[
'
id'
],
'is_del'
=>
0
]);
if
(
$num
[
'id'
]
>
0
)
{
$list
[
$k
][
'is_refund'
]
=
1
;
}
else
{
$list
[
$k
][
'is_refund'
]
=
0
;
...
...
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