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
94c951a8
Commit
94c951a8
authored
Apr 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e4e44c18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Finance.php
application/index/controller/Finance.php
+4
-5
No files found.
application/index/controller/Finance.php
View file @
94c951a8
...
@@ -4215,14 +4215,13 @@ class Finance extends Basic
...
@@ -4215,14 +4215,13 @@ class Finance extends Basic
$agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
0
,
$income_start
,
$income_end
);
//未开业中介费
$agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
0
,
$income_start
,
$income_end
);
//未开业中介费
$case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
0
,
$income_start
,
$income_end
);
//未开业案场费
$case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
0
,
$income_start
,
$income_end
);
//未开业案场费
$agent_refund_fee
=
$this
->
sumPayLogRefundByType
(
4
,
0
,
0
,
$income_start
,
$income_end
);
//未开业中介费退款
$agent_refund_fee
=
$this
->
sumPayLogRefundByType
(
4
,
0
,
1
,
$income_start
,
$income_end
);
//未开业中介费退款
$case_refund_fee
=
$this
->
sumPayLogRefundByType
(
5
,
0
,
0
,
$income_start
,
$income_end
);
//未开业案场费退款
$case_refund_fee
=
$this
->
sumPayLogRefundByType
(
5
,
0
,
1
,
$income_start
,
$income_end
);
//未开业案场费退款
$data
[
'not_open_commission'
]
=
$agent_fee
+
$case_fee
-
$agent_refund_fee
-
$case_refund_fee
;
//未开业佣金
$data
[
'not_open_commission'
]
=
$agent_fee
+
$case_fee
-
$agent_refund_fee
-
$case_refund_fee
;
//未开业佣金
$open_agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
1
,
$income_start
,
$income_end
);
//开业中介费
$open_agent_fee
=
$this
->
sumPayLogBargainByType
(
91
,
1
,
$income_start
,
$income_end
);
//开业中介费
$open_case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
1
,
$income_start
,
$income_end
);
//开业案场费
$open_case_fee
=
$this
->
sumPayLogBargainByType
(
92
,
1
,
$income_start
,
$income_end
);
//开业案场费
$open_agent_refund
=
$this
->
sumPayLogRefundByType
(
4
,
1
,
0
,
$income_start
,
$income_end
);
//开业中介费退款
$open_agent_refund
=
$this
->
sumPayLogRefundByType
(
4
,
1
,
1
,
$income_start
,
$income_end
);
//开业中介费退款
$open_case_refund
=
$this
->
sumPayLogRefundByType
(
5
,
1
,
0
,
$income_start
,
$income_end
);
//开业案场费退款
$open_case_refund
=
$this
->
sumPayLogRefundByType
(
5
,
1
,
1
,
$income_start
,
$income_end
);
//开业案场费退款
$data
[
'open_commission'
]
=
$open_agent_fee
+
$open_case_fee
-
$open_agent_refund
-
$open_case_refund
;
//已开业佣金
$data
[
'open_commission'
]
=
$open_agent_fee
+
$open_case_fee
-
$open_agent_refund
-
$open_case_refund
;
//已开业佣金
//佣金总计:中介费入账+案场费入账-中介费退款-案场费退款
//佣金总计:中介费入账+案场费入账-中介费退款-案场费退款
...
...
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