{% extends 'Common/baseAdminPannel.html.twig' %} {% if edit_form is defined %} {% form_theme edit_form 'backend/form/transaction.twig' 'backend/form/initialPayment.twig' 'backend/form/beneficiaries.twig' 'backend/form/references.twig' 'backend/form/presents.twig' %} {% endif %} {% block title %} {{'Re-estructurando'|trans }} {{ 'contract'|trans }} {% endblock %} {% block subtitle %} Regresar al contrato {% endblock %} {% block body %} {% block content %} {% if error is defined %}
{{ error }}
{% else %} {{ form_start(edit_form, {'attr':{'data-remote':'true', 'data-method':'POST', 'data-url':edit_form.vars.action }}) }}
{{ form_row(edit_form.concept) }}
{{ form_row(edit_form.amount) }}
{% if edit_form.date is defined %}
{{ form_row(edit_form.date) }}
{% endif %}
{{ form_end(edit_form) }}


{% for key, t in initialTransactions %} {#{% if t.isPayed == false %}#} {% if key == 0 %} {% elseif t.movementType.name != initialTransactions[key-1].movementType.name %} {% endif %} {% include 'backend/sales/concessionairePayment/transactionRow.html.twig' with {edit_form: edit_form} %} {#{% endif %}#} {% endfor %}
No. Fecha Monto cargo Con descuento Monto abonos Monto pendiente Promesa Abono Acciones
{{ t.movementType.name|upper }}
{{ t.movementType.name|upper }}
{% endif %} {% endblock %} {% endblock %}