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
25dbd934
Commit
25dbd934
authored
Jul 04, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告详情,清楚对应实收佣金和收佣日期
parent
4c0d2186
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
Finance.php
application/index/controller/Finance.php
+7
-5
No files found.
application/index/controller/Finance.php
View file @
25dbd934
...
...
@@ -286,10 +286,12 @@ class Finance extends Basic
$log_data
=
$add_real_arr
=
$update_real_arr
=
[];
$i
=
$j
=
0
;
foreach
(
$practical_fee_arr
as
$item
)
{
if
(
!
$item
[
'fee'
]
||
!
$item
[
'operation_date'
])
{
continue
;
}
if
(
$item
[
"fee_id"
]
>
0
)
{
if
(
empty
(
$item
[
'fee'
])
||
empty
(
$item
[
'operation_date'
]))
{
$update_real_arr
[
$i
][
'id'
]
=
$item
[
'fee_id'
];
$update_real_arr
[
$i
][
'is_del'
]
=
1
;
$log_data
[
$i
]
=
'[删除实收佣金:'
.
$item
[
'fee'
]
.
',收佣日期'
.
$item
[
'operation_date'
]
.
']'
;
//
$i
++
;
}
elseif
(
$item
[
"fee_id"
]
>
0
)
{
$update_real_arr
[
$i
][
'id'
]
=
$item
[
'fee_id'
];
$update_real_arr
[
$i
][
'bargain_id'
]
=
$bargain_id
;
$update_real_arr
[
$i
][
'operation_id'
]
=
$this
->
userId
;
...
...
@@ -302,7 +304,7 @@ class Finance extends Basic
$add_real_arr
[
$j
][
'operation_id'
]
=
$this
->
userId
;
$add_real_arr
[
$j
][
'money'
]
=
$item
[
'fee'
];
$add_real_arr
[
$j
][
'income_time'
]
=
$item
[
'operation_date'
];
$log_data
[
$j
]
=
'[新增实收佣金:'
.
$item
[
'fee'
]
.
',收佣日期'
.
$item
[
'operation_date'
]
.
']'
;
$log_data
[
$j
]
=
'[新增实收佣金:'
.
$item
[
'fee'
]
.
',收佣日期'
.
$item
[
'operation_date'
]
.
']'
;
$j
++
;
}
}
...
...
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