{% block CobroCasoType_label %}{% endblock %} {% block CobroCasoType_errors %}{% endblock %} {% block _CasoType_cobrosCaso_widget %} {% apply spaceless %} {% if prototype is defined %} {% set attr = attr|merge({'data-prototype': form_widget(prototype)}) %} {% set attr = attr|merge({'data-prototype-name': prototype.vars.name}) %} {% endif %} {% set attr = attr|merge({'data-allow-add': allow_add ? 1 : 0}) %} {% set attr = attr|merge({'data-allow-remove': allow_delete ? 1 : 0 }) %} {% set attr = attr|merge({'data-name-prefix': full_name}) %}
{{ form_errors(form) }} {% for cobro in form %} {{ form_widget(cobro) }} {% endfor %}
Concepto Forma de Pago Unidad Negocio Estado Fecha Recepción Fecha Acreditado Monto Acción
{% endapply %} {% endblock %} {% block CobroCasoType_widget %} {# {% if (form.estado.vars.value >= constant('App\\Entity\\CobroCaso::ESTADO_COBRADO')) %} {% set disabled = true %} {% else %} {% set disabled = false %} {% endif %} #} {% set disabled = false %} {% if disabled == true %} {% if (form.concepto.vars.value == constant('App\\Entity\\CobroCaso::CONCEPTO_CAPITAL')) %} {% endif %} {{ form_widget(form, {'attr': {'style': 'display:none'} }) }} {% else %} {{ form_widget(form.concepto, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.medioPago, {'attr': {'disabled': disabled} }) }} {% if (form.concepto.vars.value == constant('App\\Entity\\CobroCaso::CONCEPTO_CAPITAL')) %} {{ form_widget(form.cesionDeCheque, {'attr': {'disabled': disabled} }) }} {% endif %} {{ form_widget(form.unidadNegocio, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.estado, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.fechaRecibido, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.fechaAcreditado, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.monto, {'attr': {'disabled': disabled} }) }} {{ form_widget(form.caso) }} {% if not disabled %} {# {% if (form.estado.vars.value != constant('App\\Entity\\CobroCaso::ESTADO_RECIBIDO')) and form.medioPago.vars.value != constant('App\\Entity\\MedioDePago::TRANSFERENCIA') %} {% endif %} #}

Recibir

Cobrar {% endif %} {% endif %} {% endblock %}