Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deny demo- user, telegram phone validation, reset telgram-id, health #183

Merged
merged 12 commits into from
May 27, 2024

Conversation

lexxai
Copy link
Collaborator

@lexxai lexxai commented May 27, 2024

Deny "demo-" user for registration, telegram phone validation, reset telegram-id on change telegram.

Validate phone, telegram-nickname by regex of forms and model.

Health now checks SQL live.

Calculate day/hour tariffs.

D: hours / 24.0=2.7916666666666665
*** parking_fee=1116.67, price_per_day=400.0, price_per_hour=None
D+H: hours=67, days=2, hours_of_day=19
*** parking_fee=1180.0, price_per_day=400.0, price_per_hour=20.0
D+H: hours=67, days=2, hours_of_day=19
*** parking_fee=1180.0, price_per_day=400.0, price_per_hour=20.0
H: hours=280
*** parking_fee=9800.0, price_per_day=None, price_per_hour=35.0
H: hours=280
*** parking_fee=9800.0, price_per_day=None, price_per_hour=35.0
H: hours=328
*** parking_fee=11480.0, price_per_day=None, price_per_hour=35.0
H: hours=454
*** parking_fee=15890.0, price_per_day=None, price_per_hour=35.0
D+H: hours=0, days=0, hours_of_day=0
*** parking_fee=0.0, price_per_day=400.0, price_per_hour=20.0

@RostislavB74 RostislavB74 merged commit 15268c9 into dev May 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants