{% extends 'admin/base.html' %} {% block page_title %}User: {{ user.username }}{% endblock %} {% block admin_content %}
Avatar

{{ user.username }}

{% if user.is_admin %} Admin {% endif %} {% if user.is_active %} Active {% else %} Inactive {% endif %}
User ID #{{ user.id }}
Email {{ user.email or 'Not set' }}
Phone {{ user.phone or 'Not set' }}
Language {{ user.language|upper }}
Joined {{ user.created_at.strftime('%Y-%m-%d %H:%M') }}
Last Seen {{ user.last_seen.strftime('%Y-%m-%d %H:%M') if user.last_seen else 'Never' }}
Current Balance {{ "{:,.0f}".format(user.balance) }} XAF

Statistics

Total Games {{ user.total_games }}
Total Wagered {{ "{:,.0f}".format(user.total_wagered) }} XAF
Total Won {{ "{:,.0f}".format(user.total_won) }} XAF
Net Profit/Loss {% set net = user.total_won - user.total_wagered %} {{ "{:+,.0f}".format(net) }} XAF
Highest Win {{ user.highest_win_multiplier|round(2) }}x

Actions

{% if user.id != current_user.id %}
{% endif %}
{% for bet in bets %} {% else %} {% endfor %}
Round Amount Auto Cashout Cashed Out Multiplier Profit Time
#{{ bet.round_id }} {{ "{:,.0f}".format(bet.amount) }} XAF {{ bet.auto_cashout|round(2) if bet.auto_cashout else '-' }}x {% if bet.cashed_out %} Yes {% else %} No {% endif %} {{ bet.cashout_multiplier|round(2) if bet.cashout_multiplier else '-' }}x {{ "{:+,.0f}".format(bet.profit) }} XAF {{ bet.created_at.strftime('%Y-%m-%d %H:%M') }}
No bets found
{% for tx in transactions %} {% else %} {% endfor %}
ID Type Amount Balance After Method Description Status Time
#{{ tx.id }} {{ tx.type|capitalize }} {{ "{:,.0f}".format(tx.amount) }} XAF {{ "{:,.0f}".format(tx.balance_after) }} XAF {{ tx.payment_method or '-' }} {{ tx.description or '-' }} {{ tx.status }} {{ tx.created_at.strftime('%Y-%m-%d %H:%M') }}
No transactions found
{% endblock %}