{{ payment.date|date("d-m-Y H:i:s")}} {{ payment.type|trans }} {% if payment.status == 'approved' %} {{ payment.status |trans}} {% elseif payment.status == 'rejected' %} {{ payment.status |trans}} {% else %} {{ payment.status |trans}} {% endif %} {{ (payment.amount)|price }} {{ payment.balance|price }} {{ payment.createdBy.username|default('Sistema') }} {% if payment.payment.getType == 'service' %} {% if payment.status in ["approved", "invoiced"] %} {% if is_granted("RESERV_PAYMENT_CHANGE_VOUCHER") %} {% endif %} {% if is_granted("RESERV_PAYMENT_INVOICE") %} {% endif %} {% endif %} {% if payment.status not in ["pending", "rejected"] and is_granted("RESERV_INVOICE_REQUEST_TO_PROVIDER") %} {% endif %} {% if payment.payment.isRefund != true and (payment.payment.revalidatedBy is null or payment.payment.revalidatedBy.id == app.user.id) and payment.payment.getQuotation.assertServicesTariffs is null and is_granted("RESERV_PAYMENT_DELETE") %} {% endif %} {% endif %} {% if payment.payment.comment %} {{ 'Observaciones' }}: {{ payment.payment.comment|raw }}
{% endif %} {% if service.tariff.currency != 'MXN' and not (payment.payment.getType == 'client' and payment.payment.refund is not null ) %} {{ 'Currency change'|trans|capitalize }}: {{ payment.currencyChange?payment.currencyChange|price('MXN'):'' }} | {{ 'Foreign amount'|trans|capitalize }}: {{ payment.foreignAmount?payment.foreignAmount|price(service.tariff.currency):'' }} {% endif %} {% if payment.payment.cardCommission %} | {{ 'Card commission'|trans|capitalize }}: {{ payment.payment.cardCommission(service)|price() }} {% endif %} {% if payment.payment.paymentForm is defined and payment.payment.paymentForm %} | {{ 'Forma de pago' }}: {{ payment.payment.paymentForm.searchLabel }} {% if payment.payment.refund %} {% if payment.payment.refundingPursePayments is defined %} - {{ payment.payment.refundingPursePayments ? "Reembolsando pagos realizados con el monedero del cliente" : "Reembolsando pagos no realizados con el monedero del cliente" }} {% endif %} {% endif %} {% endif %}