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
9a437a25
Commit
9a437a25
authored
Dec 20, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null
parent
7f64212f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Finance.php
application/index/controller/Finance.php
+3
-3
No files found.
application/index/controller/Finance.php
View file @
9a437a25
...
@@ -2774,8 +2774,9 @@ class Finance extends Basic
...
@@ -2774,8 +2774,9 @@ class Finance extends Basic
if
(
$pay_data
[
'type'
]
==
92
)
{
if
(
$pay_data
[
'type'
]
==
92
)
{
//案场费 对应业务员:盘方
//案场费 对应业务员:盘方
$current_agent_name
=
$m_agent_house
->
getHousesAgents
(
$pay_data
[
'house_id'
],
'b.name,b.store_id'
,
[
'a.type'
=>
2
]);
$current_agent_name
=
$m_agent_house
->
getHousesAgents
(
$pay_data
[
'house_id'
],
'b.name,b.store_id'
,
[
'a.type'
=>
2
]);
$pay_data
[
'current_agent_name'
]
=
$current_agent_name
[
'name'
];
$pay_data
[
'current_agent_name'
]
=
empty
(
$current_agent_name
[
'name'
])
?
''
:
$current_agent_name
[
'name'
];
$pay_data
[
'store_name'
]
=
$m_store
->
getStoreKeyById
(
'store_name'
,
[
'id'
=>
$current_agent_name
[
'store_id'
]]);
$store_name
=
$m_store
->
getStoreKeyById
(
'store_name'
,
[
'id'
=>
$current_agent_name
[
'store_id'
]]);
$pay_data
[
'store_name'
]
=
empty
(
$store_name
)
?
''
:
$store_name
;
}
}
if
(
$pay_data
[
'type'
]
==
10
||
$pay_data
[
'type'
]
==
30
||
$pay_data
[
'type'
]
==
91
)
{
if
(
$pay_data
[
'type'
]
==
10
||
$pay_data
[
'type'
]
==
30
||
$pay_data
[
'type'
]
==
91
)
{
...
@@ -2822,7 +2823,6 @@ class Finance extends Basic
...
@@ -2822,7 +2823,6 @@ class Finance extends Basic
$save_data
[
'id'
]
=
$this
->
params
[
'pay_id'
];
$save_data
[
'id'
]
=
$this
->
params
[
'pay_id'
];
$save_data
[
'income_time'
]
=
$this
->
params
[
'income_time'
];
$save_data
[
'income_time'
]
=
$this
->
params
[
'income_time'
];
$save_data
[
'real_money'
]
=
$this
->
params
[
'real_money'
];
$save_data
[
'real_money'
]
=
$this
->
params
[
'real_money'
];
$save_data
[
'house_number'
]
=
isset
(
$this
->
params
[
'house_number'
])
?
$this
->
params
[
'house_number'
]
:
''
;
$save_data
[
'transaction_fee'
]
=
$this
->
params
[
'transaction_fee'
];
$save_data
[
'transaction_fee'
]
=
$this
->
params
[
'transaction_fee'
];
$save_data
[
'pay_type'
]
=
$this
->
params
[
'pay_type'
];
$save_data
[
'pay_type'
]
=
$this
->
params
[
'pay_type'
];
$save_data
[
'last_transfer_time'
]
=
$this
->
params
[
'last_transfer_time'
];
$save_data
[
'last_transfer_time'
]
=
$this
->
params
[
'last_transfer_time'
];
...
...
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