{% extends 'D2BillingBundle::layout.html.twig' %} {% block head_style_extra %} {% endblock head_style_extra %} {% block head_script_extra %} {% if Refund.payment.account %} {% else %} {% endif %} {% endblock head_script_extra %} {% block page_header %}
Back {% if is_granted('ROLE_ADMIN_REFUND_MANAGE') %} {% if Refund.status != 'Paid' %} {% endif %} {% endif %}
View Payment Refund.
{% endblock page_header %} {% block content %}
Account {{ Refund.payment.account.companyName }}
Payment No {{ Refund.payment.code }}
Refund No {{ Refund.code }}
Payment Description {{ Refund.payment.description }}
Date {% if Refund.date %}{{ Refund.date|date('Y-m-d') }}{% endif %}
Total Amount {{ d2_config('currency_symbol') }} {{ Refund.payment.amount|number_format(2, '.', ',') }}

Refund Settings

Created by {{ Refund.user }} Bank Details {{ Refund.bankDetails }}
Seek Approval From {{ Refund.aprovalStaff }}
Send payment request to {% if Refund.aprovalStaff %}{{ Refund.aprovalStaff }}{% endif %}
Customer email {{ Refund.payment.account.email }}
Customer fax {{ Refund.payment.account.fax }}

Linked Invoices

{% for invoice in Refund.RefundInvoices %} {% endfor %}
Invoice No Inv Description Invoice Amount
{{ invoice.paymentInvoice.invoice.DocNo }} {{ invoice.paymentInvoice.invoice.description}} {{ d2_config('currency_symbol') }} {{ invoice.paymentInvoice.invoice.total|number_format(2, '.', ',') }}

Refund Authorization

{% for event in StatusEvents %} {% endfor %}
Action Date User
{{ event.status }} {% if event.date %}{{ event.date|date('Y-m-d H:m:s') }}{% endif %} {{ event.user }}

Log

{% for log in Log %} {% endfor %}
User Payment Refund Date Changes
{{ log.user }} {{ log.payment.code }} {{ log.refund.code }} {% if log.date %}{{ log.date|date('Y-m-d H:m:s') }}{% endif %}
+ See more

{{ log.changes|raw }}
{% endblock content %}