{% extends 'Common/baseAdminPannel.html.twig' %} {% block title %} {{ "Mostrar"|trans }} {{ entityName|trans }} {% endblock %} {% block subtitle %}{% endblock %} {% block body %}

Detalles del pagaré

{{ 'Contract'|trans }}: {{ entity.promissoryNote.contract.contractNumber }}
{{ 'Promissory note'|trans }}: {{ entity.promissoryNote.number }}
{{ 'Fecha de vencimiento' }}: {{ entity.promissoryNote.proposedPaymentDate|date('d-m-Y') }}
{{ 'Monto a pagar' }}: {{ entity.promissoryNote.amount|price }}
{{ 'Monto pagado' }}: {{ entity.promissoryNote.getTotalPayed|price }}
{% if entity.promissoryNote.getTotalPayed > 0 %} {% include 'backend/sales/promissoryNote/payments.html.twig' with { entity:entity.promissoryNote } %} {% endif %}

Datos de la solicitud

{{ 'Created by'|trans }}: {{ entity.createdBy.fullName }}
{{ 'Fecha de prórroga' }}: {{ entity.extensionDate|date('d-m-Y') }}
{{ 'Fecha del acuerdo' }}: {{ entity.interaction.date|date('d-m-Y') }}
{{ 'Status'|trans }}: {{ entity.status|trans }}
{{ 'Especificaciones del acuerdo' }}: {{ entity.interaction.commentary|raw }}
{% if entity.status == 'denied' %}
{{ 'Causa de denegación' }}: {{ entity.observations|raw }}
{% endif %}
{% if entity.caBeApproved and is_granted("SALE_EXTENSION_REQUEST_APPROVE") %} {% endif %} {% if entity.caBeDenied and is_granted("SALE_EXTENSION_REQUEST_DENY") %} {% endif %}
{% include 'backend/sales/promissoryNote/interactions.html.twig' with { entity:entity.promissoryNote } %}
{% endblock %}