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
4381b3fe
Commit
4381b3fe
authored
Mar 26, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transaction_fee 收款记录
parent
85869c07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Finance.php
application/index/controller/Finance.php
+3
-2
No files found.
application/index/controller/Finance.php
View file @
4381b3fe
...
@@ -3291,10 +3291,11 @@ class Finance extends Basic
...
@@ -3291,10 +3291,11 @@ class Finance extends Basic
$excel_data_
[]
=
$v
[
'income_time'
];
//入账日期
$excel_data_
[]
=
$v
[
'income_time'
];
//入账日期
$excel_data_
[]
=
$v
[
'agent_name'
];
//提交人
$excel_data_
[]
=
$v
[
'agent_name'
];
//提交人
$excel_data_
[]
=
$v
[
'name'
];
//对应业务员
$excel_data_
[]
=
$v
[
'name'
];
//对应业务员
$excel_data_
[]
=
$v
[
'store_name'
];
//所属门店
//
$excel_data_[] = $v['store_name'];//所属门店
$excel_data_
[]
=
$v
[
'type'
];
//类型
$excel_data_
[]
=
$v
[
'type'
];
//类型
$excel_data_
[]
=
$v
[
'money'
];
//收款金额
$excel_data_
[]
=
$v
[
'money'
];
//收款金额
$excel_data_
[]
=
$v
[
'real_money'
];
//实付金额
$excel_data_
[]
=
$v
[
'real_money'
];
//实付金额
$excel_data_
[]
=
$v
[
'transaction_fee'
];
//手续费
if
(
$v
[
'source'
]
==
2
)
{
//调整收款(调整ID:[%= it[item]['source_id'] %])
if
(
$v
[
'source'
]
==
2
)
{
//调整收款(调整ID:[%= it[item]['source_id'] %])
$excel_data_
[]
=
'调整收款(调整ID:'
.
$v
[
'source_id'
];
//来源
$excel_data_
[]
=
'调整收款(调整ID:'
.
$v
[
'source_id'
];
//来源
...
@@ -3317,7 +3318,7 @@ class Finance extends Basic
...
@@ -3317,7 +3318,7 @@ class Finance extends Basic
}
}
$export
=
new
ExportExcelUntil
();
$export
=
new
ExportExcelUntil
();
$title
=
[
'提交时间'
,
'收款ID'
,
'带看ID'
,
'成交报告ID'
,
'入账日期'
,
'提交人'
,
'对应业务员'
,
'
所属门店'
,
'类型'
,
'收款金额(元)'
,
'实付金额
'
,
'来源'
,
'状态'
];
$title
=
[
'提交时间'
,
'收款ID'
,
'带看ID'
,
'成交报告ID'
,
'入账日期'
,
'提交人'
,
'对应业务员'
,
'
类型'
,
'收款金额(元)'
,
'实付金额'
,
'手续费
'
,
'来源'
,
'状态'
];
$export
->
exportTable
(
'收款记录'
,
$excel_data
,
12
,
'收款记录'
,
$title
);
$export
->
exportTable
(
'收款记录'
,
$excel_data
,
12
,
'收款记录'
,
$title
);
}
}
...
...
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