front chips logic

This commit is contained in:
SowinskiBraeden committed 2026-03-21 14:53:47 -07:00
1 parent 5a488daa8f
commit c4df0dbcbe
5 files changed
+102 -19

No files matched your search

+2 -1
View File
@@ -33,6 +33,7 @@ class EventRow(TypedDict):
VALID_EVENT_TYPES = {
"buyin",
"cashout",
"front",
"paid",
"note",
"session_open",
@@ -91,7 +92,7 @@ def append_event(
if normalized_type not in VALID_EVENT_TYPES:
raise ValueError(f"Unsupported event type: {event_type}")
if normalized_type == "note":
if normalized_type == {"note", "session_open", "session_close"}:
amount_cents = 0
event = EventRow(