{% 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, '.', ',') }} |
Linked Invoices
Invoice No |
Inv Description |
Invoice Amount |
{% for invoice in Refund.RefundInvoices %}
{{ invoice.paymentInvoice.invoice.DocNo }} |
{{ invoice.paymentInvoice.invoice.description}} |
{{ d2_config('currency_symbol') }} {{ invoice.paymentInvoice.invoice.total|number_format(2, '.', ',') }} |
{% endfor %}
Refund Authorization
Action |
Date |
User |
{% for event in StatusEvents %}
{{ event.status }} |
{% if event.date %}{{ event.date|date('Y-m-d H:m:s') }}{% endif %} |
{{ event.user }} |
{% endfor %}
Log
User |
Payment |
Refund |
Date |
Changes |
{% for log in Log %}
{{ log.user }} |
{{ log.payment.code }} |
{{ log.refund.code }} |
{% if log.date %}{{ log.date|date('Y-m-d H:m:s') }}{% endif %} |
|
{% endfor %}
{% endblock content %}