{% extends 'Common/baseAdminPannel.html.twig' %} {% block title %} {{'New'|trans}} {{ entityName|trans }} {% if contract is defined %} {{ "| Contrato: "~contract.contractNumber }} {% endif %} {% endblock %} {% block body %} {% if contract is defined and contract.getNoPayedPromissoryNotes|length > 0 %}
Falta por pagar:
{% for pn in contract.getNoPayedPromissoryNotes %} {{ pn.searchLabel }} y faltan: {{ pn.getNoPayed|price }}
{% endfor %}
{% else %}
Todo está pagado
{% endif %} {{ form_start(form, {'attr':{'data-remote':'true', 'data-method':'POST', 'data-url':form.vars.action}}) }}
{{ form_row(form.paymentDate) }}
{{ form_row(form.amount) }}
{{ form_row(form.paymentMethod) }}
{{ form_row(form.receiptNumber) }}
{{ form_row(form.promissoryNoteConcessionairePayments) }}
{{ form_row(form.files) }}
{{ form_end(form) }} {% endblock %}