Back to Invoiceninja

Tp6

resources/views/templates/payments/tp6.html

5.13.211.1 KB
Original Source

|

| |

| |

| | $receipt_label $from_label $company.name | |

| |

| |

| | $receipt_label #$number | | {%set payment = payments|first %} {%if payment.transaction_reference %} | | Reference: {{ payment.transaction_reference }} | | {% endif %}

| |

| |

|

| $amount_paid_label | | $amount |

| |

| $date_label | | $payment.date |

| |

| $method_label | | {% if payments is defined and payments is not empty %} {% set payment = payments|first %} {{ payment.method }} {% endif %} |

|

| |

| |

| | Summary | | | |

| |

| | | |

| | | | {% set totalPrice = 0 %} {% if payments is defined and payments is not empty %} {% set first_payment = payments|first %} {% for payment in payments %} {% for pivot in payment.paymentables|filter(pivot => pivot.is_credit == '0') %} | {{ pivot.date }} | | | | | | | | $invoice_label #{{ pivot.invoice }}
| | {{ pivot.amount }} | | | | | | | | | {% set totalPrice = totalPrice + pivot.amount_raw %} {% endfor %} {% endfor %} | | | $amount_paid_label | | {{ totalPrice|format_currency(first_payment.currency) }} | {% endif %} | | |

| | | |

| |

| |

|