{% extends 'agent/_layout.html.twig' %} {% block title %}Transactions{% endblock %} {% block agent_content %}
{{ total }} record{{ total != 1 ? 's' : '' }}{% if search %} matching "{{ search }}"{% endif %}.
| Date | Type | From / Player | Amount | Status / Notes |
|---|---|---|---|---|
| {{ tx.date|date('M d, Y H:i') }} | {% if tx.type == 'deposit' %} Deposit {% elseif tx.type == 'withdrawal' %} Withdrawal {% elseif tx.type == 'commission' %} Commission {% elseif tx.type == 'adjustment' %} Adjustment {% elseif tx.type == 'bet' %} Bet {% elseif tx.type == 'win' %} Win {% endif %} |
{% if tx.player_name %}
{{ tx.player_name }}
{% if tx.mobile_number %}
{{ tx.mobile_number }} {% endif %} {% if tx.type == 'commission' and tx.race_id %} {% if tx.pair starts with 'HL-' %} Round #{{ tx.race_id }} · {{ tx.pair == 'HL-card1' ? 'Card 1' : 'Card 2' }} {% elseif tx.pair starts with 'CG-' %} Color: {{ tx.pair|slice(3) }} {% elseif tx.pair starts with 'PK-' %} Pachinko: {{ tx.pair|slice(3) }} {% elseif tx.pair starts with 'H2H-' %} Head2Head: {{ tx.pair|slice(4) }} {% elseif tx.pair starts with 'MN-' %} Mines: {{ tx.pair|slice(3) }} {% elseif tx.pair starts with 'FK-' %} Fruit King: {{ tx.pair|slice(3) }} {% elseif tx.pair starts with 'EZ-' %} EZDOS: Draw #{{ tx.race_id }} · {{ tx.pair|slice(3) }} {% elseif tx.pair starts with 'LR-' %} Live Racing: {{ tx.pair|slice(3)|replace({'_': ' '})|title }} {% else %} Race #{{ tx.race_id }}{% if tx.pair %} · {{ tx.pair }}{% endif %} {% endif %} {% endif %} {% else %} — {% endif %} |
₱{{ tx.amount|number_format(2) }} | {% if tx.status is not null and tx.status is not empty %} {{ tx.status|capitalize }} {% endif %} {% if tx.notes is not null and tx.notes is not empty %} {{ tx.notes }} {% endif %} {% if (tx.status is null or tx.status is empty) and (tx.notes is null or tx.notes is empty) %} — {% endif %} |
| No transactions found. | ||||
Page {{ currentPage }} of {{ totalPages }}