|
{% if wallet_withdrawal.status != "approved" %}
{% endif %}
|
{{ wallet_withdrawal.id }} |
{{ wallet_withdrawal.user ? wallet_withdrawal.user.firstname ~ ' ' ~ wallet_withdrawal.user.lastname : 'N/A' }}
|
{{ wallet_withdrawal.user.email ?? "N/A"}}
|
{{ wallet_withdrawal.amount ? wallet_withdrawal.amount|number_format(2,',','.')~'€' : '0,00€' }}
|
{{ wallet_withdrawal.getGetwayCharges ? wallet_withdrawal.getGetwayCharges|number_format(2,',','.')~'€' : '0,00€' }}
|
{{ wallet_withdrawal.getPaymentMethod ?? "N/A" }}
|
{% if wallet_withdrawal.status is empty %}
N/A
{% else %}
{% set badgeClass = '' %}
{% set statusText = wallet_withdrawal.status is not null ? wallet_withdrawal.status : 'N/A' %}
{% if statusText == 'approved' %}
{% set badgeClass = 'badge bg-success' %}
{% elseif statusText == 'rejected' %}
{% set badgeClass = 'badge bg-danger' %}
{% elseif statusText == 'pending' %}
{% set badgeClass = 'badge bg-warning' %}
{% endif %}
{{ statusText|upper }}
{% endif %}
|
{{ wallet_withdrawal.getCreatedAt ? wallet_withdrawal.getCreatedAt|date('Y-m-d H:i:s') : 'N/A' }}
|
|