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
ea2459d6
Commit
ea2459d6
authored
Dec 17, 2018
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/1210-v3.0.2' into 1210-v3.0.2
parents
13d878ea
5925ed48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Finance.php
application/index/controller/Finance.php
+3
-4
No files found.
application/index/controller/Finance.php
View file @
ea2459d6
...
...
@@ -3073,7 +3073,6 @@ class Finance extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$where
[
'is_del'
]
=
0
;
if
(
!
empty
(
$this
->
params
[
'id'
]))
{
$where
[
'id'
]
=
$this
->
params
[
'id'
];
}
...
...
@@ -3115,7 +3114,7 @@ class Finance extends Basic
}
if
(
$this
->
params
[
'status'
]
>
-
1
)
{
$where
[
'status'
]
=
$this
->
params
[
'status'
]
==
2
?
2
:
[
'in'
,
'0,1'
];
$where
[
'status'
]
=
$this
->
params
[
'status'
]
==
2
?
2
:
[
'in'
,
'0,1
,2
'
];
}
$m_daily
=
new
ODaily
();
...
...
@@ -3252,11 +3251,11 @@ class Finance extends Basic
$agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
0
);
//未开业中介费
$case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
0
);
//未开业案场费
$data
[
'not_open_commission'
]
=
$agent_fee
+
$case_fee
;
//
中介费入账
$data
[
'not_open_commission'
]
=
$agent_fee
+
$case_fee
;
//
未开业佣金
$open_agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
1
);
//开业中介费
$open_case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
1
);
//开业案场费
$data
[
'open_commission'
]
=
$open_agent_fee
+
$open_case_fee
;
//
案场费入账
$data
[
'open_commission'
]
=
$open_agent_fee
+
$open_case_fee
;
//
已开业佣金
//佣金总计:中介费入账+案场费入账-中介费退款-案场费退款
$data
[
'total_commission'
]
=
$data
[
'not_open_commission'
]
+
$data
[
'open_commission'
];
...
...
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