Replace float with Decimal for price calculations

Fix Decimal precision issue

Fix Decimal precision issue

Fix Decimal precision issue

Fix old prices for tickets

Fix Decimal precision issue
This commit is contained in:
tcprod
2025-02-03 14:32:16 +01:00
parent 98c2d1570c
commit a419ee8885
24 changed files with 342 additions and 235 deletions
+2 -2
View File
@@ -28,14 +28,14 @@
[tickets]
[tickets."NORMAL"]
total_tickets=30
price=2500
price="25.00"
description="Normales Ticket"
additional_info="Berechtigt zur Nutzung eines regulären Platzes für die gesamte Dauer der LAN"
is_default=true
[tickets."LUXUS"]
total_tickets=10
price=3500
price="35.00"
description="Luxus Ticket"
additional_info="Berechtigt zur Nutzung eines verbesserten Platzes. Dieser ist mit einer höheren Internet-Bandbreite und einem Sitzkissen ausgestattet."
is_default=false