update order/colors in session details

This commit is contained in:
SowinskiBraeden committed 2026-03-21 12:52:16 -07:00
1 parent 6c508f4ef3
commit 61acc48ed3
1 file changed
+8 -8
+8 -8
View File
@@ -33,7 +33,7 @@
<article class="panel stat-card"> <article class="panel stat-card">
<span>Total remaining</span> <span>Total remaining</span>
<strong class="{{ 'negative' if session.total_remaining_cents > 0 else 'positive' }}"> <strong class="{{ 'negative' if session.total_remaining_cents > 0 else '' }}">
{{ session.total_remaining_cents | money }} {{ session.total_remaining_cents | money }}
</strong> </strong>
</article> </article>
@@ -54,10 +54,10 @@
<th>Player</th> <th>Player</th>
<th>Buy-in</th> <th>Buy-in</th>
<th>Cash-out</th> <th>Cash-out</th>
<th>Net</th>
<th>Status</th>
<th>Paid</th> <th>Paid</th>
<th>Remaining</th> <th>Remaining</th>
<th>Status</th>
<th>Net</th>
<th>Notes</th> <th>Notes</th>
</tr> </tr>
</thead> </thead>
@@ -71,17 +71,17 @@
</td> </td>
<td>{{ entry.buy_in_cents | money }}</td> <td>{{ entry.buy_in_cents | money }}</td>
<td>{{ entry.cash_out_cents | money }}</td> <td>{{ entry.cash_out_cents | money }}</td>
<td>{{ entry.paid_cents | money }}</td> <td class="{{ 'positive' if entry.net_cents > 0 else 'negative' if entry.net_cents < 0 else '' }}">
<td class="{{ 'negative' if entry.payout_remaining_cents > 0 else 'positive' }}"> {{ entry.net_cents | money }}
{{ entry.payout_remaining_cents | money }}
</td> </td>
<td> <td>
<span class="status-badge status-{{ entry.payout_status }}"> <span class="status-badge status-{{ entry.payout_status }}">
{{ entry.payout_status }} {{ entry.payout_status }}
</span> </span>
</td> </td>
<td class="{{ 'positive' if entry.net_cents > 0 else 'negative' if entry.net_cents < 0 else '' }}"> <td class="{{ 'positive' if entry.paid_cents > 0 else '' }}">{{ entry.paid_cents | money }}</td>
{{ entry.net_cents | money }} <td class="{{ 'negative' if entry.payout_remaining_cents > 0 else '' }}">
{{ entry.payout_remaining_cents | money }}
</td> </td>
<td> <td>
{% if entry.notes %} {% if entry.notes %}