{% extends 'base.html.twig' %} {% block title %}Cheque {{ cheque.numeroCheque }}{% endblock %} {% block content_header %}
Volver a pagos

Cheque {{ cheque.numeroCheque }}

{{ cheque.beneficiario }} ยท {{ cheque.moneda }} {{ cheque.monto|number_format(2, '.', ',') }}

{% if cheque.estado not in ['anulado', 'entregado'] %} Editar {% endif %}
{% if cheque.estado != 'entregado' and cheque.estado != 'anulado' %}
{% endif %}
{% endblock %} {% block content %}
Estado
{{ cheque.estado }}
Fecha
{{ cheque.fechaEmision|date('Y-m-d') }}
Pago
PAY-{{ '%05d'|format(cheque.pago.id) }}
Voucher
{% include 'components/_voucher_widget.html.twig' with {mode: 'compact', voucher: cheque.voucher, pagoId: cheque.pago.id} only %}
Banco
{{ cheque.banco.nombre }}
Cuenta
{{ cheque.cuentaBancaria.numero }}
{% if cheque.estado != 'anulado' %}
{% endif %}

Historial de impresion

{% for item in historial %} {% else %} {% endfor %}
Fecha Tipo Usuario IP Observacion
{{ item.fecha|date('Y-m-d H:i') }} {{ item.tipo }} {{ item.usuario ? item.usuario.nombre : '-' }} {{ item.ip ?? '-' }} {{ item.observacion ?? '-' }}
Sin impresiones registradas.
{% endblock %}