Commit 41bba063 by Aeolus

寒山寺手动退款改20

parent 76807cf9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment