add session open/closed state to prevent modifications

This commit is contained in:
SowinskiBraeden committed 2026-03-21 00:10:52 -07:00
1 parent 7648bf6e6a
commit 5d10136ee4
6 files changed
+210 -17

No files matched your search

+4
View File
@@ -21,6 +21,7 @@
<thead>
<tr>
<th>Date</th>
<th>Status</th>
<th>Players</th>
<th>Total Buy-ins</th>
<th>Total Cash-outs</th>
@@ -31,6 +32,9 @@
{% for session in sessions %}
<tr>
<td><a href="{{ url_for('session_detail', session_date=session.session_date) }}">{{ session.session_date | pretty_date }}</a></td>
<td><span class="status-badge status-{{ session.status }}">
{{ session.status }}
</span></td>
<td>{{ session.entries|length }}</td>
<td>{{ session.total_buy_in_cents | money }}</td>
<td>{{ session.total_cash_out_cents | money }}</td>