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
908e8bb6
Commit
908e8bb6
authored
Feb 12, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
fe7422e6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Finance.php
application/index/controller/Finance.php
+2
-2
account_statement.html
application/index/view/finance/account_statement.html
+2
-2
OBargainModel.php
application/model/OBargainModel.php
+2
-2
ORealIncome.php
application/model/ORealIncome.php
+1
-1
No files found.
application/index/controller/Finance.php
View file @
908e8bb6
...
...
@@ -137,7 +137,7 @@ class Finance extends Basic
$is_show
=
1
;
}
if
(
!
empty
(
$this
->
params
[
'is_pay_log'
]))
{
/*
if (!empty($this->params['is_pay_log'])) {
if ($this->params['is_pay_log'] == 1) {
$where[] = ['EXP', 'f.id is not null'];
} else {
...
...
@@ -145,7 +145,7 @@ class Finance extends Basic
}
$is_show = 1;
}
}
*/
$excel_title
=
'成交报告'
;
switch
(
$check_status
)
{
...
...
application/index/view/finance/account_statement.html
View file @
908e8bb6
...
...
@@ -202,11 +202,11 @@
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"bargain_id"
placeholder=
"成交报告id"
type=
"text"
value=
""
>
<div
class=
"clear"
></div>
<input
class=
"form-control btn2"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_user_ID"
placeholder=
"客户ID"
type=
"text"
value=
""
>
<select
class=
"form-control btn2"
id=
"isPayment"
>
<
!--<
select class="form-control btn2" id="isPayment">
<option value="">是否收款</option>
<option value="1">是</option>
<option value="2">否</option>
</select>
</select>
-->
<span
class=
"total-commission"
>
应收佣金总计:
<span
class=
"total-commission-should"
></span>
元
</span>
<span
class=
"total-commission"
>
已收佣金总计:
<span
class=
"total-commission-real"
></span>
元
</span>
<span
class=
"total-commission"
>
未收佣金总计:
<span
class=
"total-commission-no"
>
0
</span>
元
</span>
...
...
application/model/OBargainModel.php
View file @
908e8bb6
...
...
@@ -390,7 +390,7 @@ class OBargainModel extends Model
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'g_houses d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'o_partial_commission e'
,
'e.bargain_id = a.id'
,
'left'
)
->
join
(
'o_paylog f'
,
'a.id = f.bargain_id'
,
'left'
)
//
->join('o_paylog f', 'a.id = f.bargain_id', 'left')
->
where
(
$params
)
->
sum
(
$field
);
}
...
...
@@ -408,7 +408,7 @@ class OBargainModel extends Model
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'g_houses d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'o_partial_commission e'
,
'e.bargain_id = a.id'
,
'left'
)
->
join
(
'o_paylog f'
,
'a.id = f.bargain_id'
,
'left'
)
//
->join('o_paylog f', 'a.id = f.bargain_id', 'left')
->
where
(
$params
)
->
group
(
'a.id'
)
->
count
();
...
...
application/model/ORealIncome.php
View file @
908e8bb6
...
...
@@ -90,7 +90,7 @@ class ORealIncome extends BaseModel
->
join
(
'o_report b'
,
'a.report_id = b.id'
,
'left'
)
->
join
(
'o_order c'
,
'a.order_id = c.id'
,
'left'
)
->
join
(
'g_houses d'
,
'c.house_id = d.id'
,
'left'
)
->
join
(
'o_paylog f'
,
'a.id = f.bargain_id'
,
'left'
)
//
->join('o_paylog f', 'a.id = f.bargain_id', 'left')
->
where
(
$params
)
->
sum
(
$field
);
}
...
...
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