fsd
This commit is contained in:
parent
53e74d631f
commit
11c40ff3cd
1 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,14 @@ CF_KEY = environ.get("CF_KEY", "").strip()
|
|||
CF_ZONE = environ.get("CF_ZONE", "").strip()
|
||||
CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/json"}
|
||||
|
||||
discounts = {
|
||||
69: 0.02,
|
||||
70: 0.04,
|
||||
71: 0.06,
|
||||
72: 0.08,
|
||||
73: 0.10,
|
||||
}
|
||||
|
||||
def ghost_price(v):
|
||||
if v.patron == 1: discount = 0.90
|
||||
elif v.patron == 2: discount = 0.85
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue