{% extends 'agent/_layout.html.twig' %} {% block title %}{{ player.firstName }} {{ player.lastName }}{% endblock %} {% block agent_content %} ← Back to Player Monitor
{{ player.mobileNumber }}
{{ c.label }}
{{ c.value }}
| Date | Game | Ref # | Detail | Amount | Payout | Status |
|---|---|---|---|---|---|---|
| {{ row.createdAt|date('M d, Y H:i') }} | {% if row.game == 'vk' %} Video Karera {% elseif row.game == 'high-low' %} Pataasan {% elseif row.game == 'mines' %} Mines {% elseif row.game == 'fk' %} Fruit King {% elseif row.game == 'pk' %} Pachinko {% elseif row.game == 'sw' %} Spin & Win {% elseif row.game == 'pd' %} Pusoy Dos {% elseif row.game == 'lr' %} Live Racing {% elseif row.game == 'cg' %} Color Game {% endif %} | {{ row.refId ? '#' ~ row.refId : '—' }} |
{% if row.game == 'high-low' %}
{% if row.roundCards is not null %}
{% set cards = row.roundCards|split('|') %}
{% set winnerCard = row.roundResult in ['card1', 'card2'] ? attribute({card1: cards[0], card2: cards[1]}, row.roundResult) : null %}
Bet:
Card {{ row.description|slice(4) }}
{% if row.roundResult is not null %}
Result:
Card {{ row.roundResult|slice(4) }} ↑
{% if winnerCard %}
{% endif %}
{% endif %}
Bet:
Card {{ row.description|slice(4) }}
{% endif %}
{% elseif row.game == 'cg' %}
{% set dice = row.roundResult ? row.roundResult|split(',') : [] %}
{% set cgDiceBg = {'yellow':'#F4B942','white':'#F5F5F5','pink':'#FF3E9A','blue':'#3D87E8','red':'#E63946','green':'#3FB65D'} %}
{% set cgDiceFg = {'yellow':'#3a2606','white':'#1a1330','pink':'#ffffff','blue':'#ffffff','red':'#ffffff','green':'#ffffff'} %}
{{ row.description }}
{% if dice|length == 3 %}
{% elseif row.game == 'mines' %}
{{ row.description|replace({'_': ' '})|capitalize }} — {{ row.roundResult }} tile{{ row.roundResult == '1' ? '' : 's' }} revealed
{% elseif row.game == 'fk' %}
Bet: {{ row.description|capitalize }}{% if row.roundResult %} — Landed: {{ row.roundResult|capitalize }}{% endif %}
{% elseif row.game == 'pd' %}
{{ row.description }}{% if row.roundResult %} — finished {{ row.roundResult }}{% endif %}
{% elseif row.game == 'lr' %}
{{ row.description|title }}{% if row.legSummary %} — {{ row.legSummary }}{% endif %}{% if row.comboCount is not null and row.comboCount > 1 %} (×{{ row.comboCount }}){% endif %}
{% else %}
{{ row.description }}
{% endif %}
{% for d in dice %}
{{ d|slice(0, 1) }}
{% endfor %}
{% endif %}
|
₱{{ row.amount|number_format(2) }} | {% if (row.status == 'won' or row.status == 'mixed') and row.payout and row.payout > 0 %} ₱{{ row.payout|number_format(2) }} {% else %} — {% endif %} | {% if row.status == 'won' %}Won {% elseif row.status == 'lost' %}Lose {% elseif row.status == 'void' %}Void {% elseif row.status == 'mixed' %} {% set counts = row.statusCounts is not null ? row.statusCounts|json_decode : null %} {% set mixedParts = [] %} {% if counts %} {% if counts.pending > 0 %}{% set mixedParts = mixedParts|merge([counts.pending ~ ' pending']) %}{% endif %} {% if counts.won > 0 %}{% set mixedParts = mixedParts|merge([counts.won ~ ' won']) %}{% endif %} {% if counts.lost > 0 %}{% set mixedParts = mixedParts|merge([counts.lost ~ ' lose']) %}{% endif %} {% if counts.void > 0 %}{% set mixedParts = mixedParts|merge([counts.void ~ ' void']) %}{% endif %} {% endif %} {{ mixedParts|length > 0 ? mixedParts|join(', ') : 'Mixed' }} {% else %}Pending{% endif %} |
| No bets yet. | ||||||
| # | Amount | {{ tab == 'deposits' ? 'Ref. No.' : 'Bank' }} | Submitted | Status | Reviewed | |
|---|---|---|---|---|---|---|
| {{ row.id }} |
₱{{ row.amount|number_format(2) }}
{% if tab == 'deposits' and row.approvedAmount is not null %}
Approved: ₱{{ row.approvedAmount|number_format(2) }} {% endif %} |
{% if tab == 'deposits' %}
{{ row.transactionReference ?? '—' }} | {% else %}{{ row.bankName }} | {% endif %}{{ row.createdAt|date('M d, Y H:i') }} | {% if row.status == 'pending' %}Pending {% elseif row.status == 'approved' %}Approved {% else %}Rejected{% endif %} | {{ row.reviewedAt ? row.reviewedAt|date('M d, Y H:i') : '—' }} |
| No {{ tab }} yet. | ||||||
Page {{ currentPage }} of {{ totalPages }} · {{ total }} total