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
6e9b7673
Commit
6e9b7673
authored
Dec 21, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实收汇总成交报告搜索
parent
65308984
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
Finance.php
application/index/controller/Finance.php
+24
-0
commission_total.html
application/index/view/finance/commission_total.html
+1
-1
No files found.
application/index/controller/Finance.php
View file @
6e9b7673
...
...
@@ -1456,6 +1456,30 @@ class Finance extends Basic
}
/**收佣日期 end**/
if
(
!
empty
(
$this
->
params
[
'bargain_start_date'
])
&&
empty
(
$this
->
params
[
'bargain_end_date'
]))
{
$where
.=
" AND e.create_time > '
{
$this
->
params
[
'bargain_start_date'
]
}
00:00:00' AND c.operation_date > '
{
$this
->
params
[
'bargain_start_date'
]
}
'"
;
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]));
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
]
.
' 00:00:00'
;
}
if
(
!
empty
(
$this
->
params
[
'bargain_end_date'
])
&&
empty
(
$this
->
params
[
'bargain_start_date'
]))
{
$where
.=
" AND e.create_time < '
{
$this
->
params
[
'bargain_end_date'
]
}
23:59:59' AND c.operation_date > '
{
$this
->
params
[
'bargain_end_date'
]
}
'"
;
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_end_date'
]));
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
]
.
' 23:59:59'
;
}
if
(
!
empty
(
$this
->
params
[
'bargain_start_date'
])
&&
!
empty
(
$this
->
params
[
'bargain_end_date'
]))
{
$where
.=
" AND e.create_time BETWEEN '
{
$this
->
params
[
'bargain_start_date'
]
}
00:00:00' AND '
{
$this
->
params
[
'bargain_end_date'
]
}
23:59:59' "
;
$where
.=
" AND c.operation_date BETWEEN '
{
$this
->
params
[
'bargain_start_date'
]
}
' AND '
{
$this
->
params
[
'bargain_end_date'
]
}
'"
;
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]))
.
'-'
.
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_end_date'
]));
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
]
.
' 00:00:00'
;
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
]
.
' 23:59:59'
;
}
/**部门id**/
if
(
!
empty
(
$this
->
params
[
'district_id'
]))
{
$where
.=
" AND d.district_id=
{
$this
->
params
[
'district_id'
]
}
"
;
...
...
application/index/view/finance/commission_total.html
View file @
6e9b7673
...
...
@@ -147,7 +147,7 @@
<span
class=
"btn btn-info btn3 "
id=
"reset"
>
重置
</span>
<span
class=
"btn btn-info btn3 "
id=
"export"
>
导出excel
</span>
<span
style=
"margin-left: 5px;font-size: 16px;font-weight: 600;"
>
最终
实收总计:
<span
class=
"total-money"
></span>
元
实收总计:
<span
class=
"total-money"
></span>
元
</span>
<span
style=
"margin-left: 5px;font-size: 16px;font-weight: 600;"
>
税费总计:
<span
class=
"total-taxes"
></span>
元
...
...
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