{% extends "base.html" %} {% block content %}

Bet Details Bet ID: {{ bet.uuid[:8] }}...

Bet Controls
{% if bet.has_pending %} {% endif %}
Total: €{{ bet.total_amount|round(2) }}
Bet Details {{ bet.bet_count }} items
{% if bet.bet_details %}
{% for detail in bet.bet_details %} {% endfor %}
Match Outcome Amount Result Actions
Match #{{ detail.match.match_number }}
{{ detail.match.fighter1_township }} vs {{ detail.match.fighter2_township }}
{{ detail.outcome }} €{{ detail.amount|round(2) }} {% if detail.result == 'pending' %} Pending {% elif detail.result == 'win' %} Won {% elif detail.result == 'lost' %} Lost {% elif detail.result == 'cancelled' %} Cancelled {% endif %} {% if detail.result == 'pending' %} {% else %} No actions {% endif %}
{% else %}
No bet details found
{% endif %}
Bet Summary
Bet UUID
{{ bet.uuid }}
Created
{{ bet.bet_datetime.strftime('%Y-%m-%d %H:%M') }}
Fixture
{{ bet.fixture_id }}
Total Items
{{ bet.bet_count }}
Total Amount
€{{ bet.total_amount|round(2) }}
Status
{% if bet.has_pending %} Has Pending {% else %} Completed {% endif %}
Payment Status
{% if bet.paid %} Paid {% else %} Unpaid {% endif %}
Bet Verification
Loading...

Scan this QR code for bet verification

{% if not bet.paid %}
Payment Actions

Mark this bet as paid when payment is received from customer

{% endif %}
Results Summary
{{ results.pending }}
Pending
{{ results.won }}
Won
{{ results.lost }}
Lost
{{ results.cancelled }}
Cancelled

Winnings: €{{ results.winnings|round(2) }}
Session Info
User
{{ current_user.username }}
Role
{{ 'Admin' if current_user.is_admin else 'User' }}
Current Time
Loading...
{% endblock %} {% block scripts %} {% endblock %}