{#
 # This file is part of SolidInvoice package.
 #
 # (c) Pierre du Plessis <open-source@solidworx.co>
 #
 # This source file is subject to the MIT license that is bundled
 # with this source code in the file LICENSE.
 #}

{{ 'payment.description'|trans({}, 'email') }}

{% if payment.invoice is not empty %}
    {{ 'payment.details.invoice'|trans({}, 'email') }}: {{ payment.invoice.invoiceId }}
{% endif %}

{% if payment.client is not empty %}
    {{ 'payment.details.client'|trans({}, 'email') }}: {{ payment.client }}
{% endif %}

{{ 'payment.details.method'|trans({}, 'email') }}: {{ payment.method }}

{{ 'payment.details.currency'|trans({}, 'email') }}: {{ payment.currencyCode }}

{{ 'payment.details.amount'|trans({}, 'email') }}: {{ payment.totalAmount|formatCurrency(payment.currencyCode) }}

{{ 'payment.details.status'|trans({}, 'email') }}: {{ payment.status }}
