Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tour_business
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏强
tour_business
Commits
41bba063
Commit
41bba063
authored
Sep 16, 2020
by
Aeolus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
寒山寺手动退款改20
parent
76807cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Controller/RentController.py
+2
-2
No files found.
Controller/RentController.py
View file @
41bba063
...
...
@@ -230,7 +230,7 @@ def rent_refund():
rent
.
free_time
,
production_info
.
Machine
.
id
,
production_info
.
Machine
.
price_type
)
total
=
fee
[
'total'
]
if
fee
[
'total'
]
<
rent
.
deposit
else
rent
.
deposit
# 寒山寺agent_total把25修改为20,80%的比例
if
rent
.
spot_id
==
'48'
:
if
rent
.
spot_id
==
48
:
agent_total
=
total
*
0.8
else
:
agent_total
=
total
...
...
@@ -437,7 +437,7 @@ def rent_money_refund_new():
new_total
=
int
(
time_price
[
-
1
])
# 传入的收费标准参考["60分钟","75分钟",1500],["75分钟","1天",2500]
# 寒山寺agent_total把25修改为20,80%的比例
if
rent
.
spot_id
==
'48'
:
if
rent
.
spot_id
==
48
:
new_agent_total
=
new_total
*
0.8
else
:
new_agent_total
=
new_total
...
...
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