{% extends 'layouts/panel_layout.html.twig' %} {% block title %} Cuenta Corriente {% endblock %} {% block stylesheets %} {{ encore_entry_link_tags('cuenta_corriente_index') }} {% endblock %} {% block content %}
Total
Saldo F
Saldo N/F
{{ filtro.filtroFecha.vars.value }}
| Fecha | Descripción | Facturado | Debe | Haber | Saldo | Operación | |
|---|---|---|---|---|---|---|---|
|
{{ h.fecha | date('d-m-Y') }}
({{ h.hora | date('H:i:s') }}) |
{% if h.remito %}
REMITO N. {{ h.remito.codremito }} F. {{ h.remito.puntoFactura }} - {{ h.remito.numeroFactura }}
{% if (h.debe - h.pagado) > 0 %}
{% elseif h.descripcion %}
TOTAL: ${{ h.debe | abs | number_format(2) }} PAGADO: ${{ h.pagado | abs | number_format(2) }} {% endif %}
{{ h.descripcion }}
{% elseif h.ordenPagoProveedor|length > 0 %}
Órdenes de pago:
{% for op in h.ordenPagoProveedor %}
{{ op.getOrdenPagoProveedorIds()|join(', ') }}{% if not loop.last %}, {% endif %}
{% endfor %}
{% endif %}
|
{% if h.f %}F{% else %}N/F{% endif %} | {% if h.debe != 0 %} {% if (h.debe - h.pagado) > 0 %} {{ (h.debe - h.pagado) | abs | number_format(2) }} {% else %} {% if h.debe < 0 %}-{% endif %}{{ h.debe | abs | number_format(2) }} {% endif %} {% endif %} | {% if h.haber != 0 %} {% if h.haber < 0 %}-{% endif %}${{ h.haber | abs | number_format(2) }} {% endif %} | {% set total = total + h.debe - h.haber %}{% if h.saldo < 0 %}-{% endif %}${{ h.saldo | abs | number_format(2) }} | {% if is_granted('ROLE_ADMIN') %} {% if h.ordenPagoProveedor|length > 0 %} {% for op in h.ordenPagoProveedor %} {% endfor %} {# #} {% else %} {# #} {% endif %} {% endif %} |