{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}Add new address{% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}Add new address{% endtrans %}

{% endblock %}
{% set addselect= (isSelect is defined)?"isSelect="~isSelect:"" %} {% set addmotherid= (motherid is defined)?"&motherid="~motherid:"" %} {% set addmotherentity= (motherentity is defined)?"&motherentity="~motherentity:"" %}
{{ block('actionsmenu') }} {% block form_fieldset_NONE %}
{% if "lbAddress" in form|keys %}
{% block form_NONE_lbAddress %} {% if doReadonly is defined and doReadonly and "lbAddress" != "blStatus" and "lbAddress" != "blDeactivated" and form["lbAddress"] is defined %} {{ form_row(form['lbAddress'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbAddress']) }} {% endif %} {% endblock %}
{% endif %} {% if "idCountry" in form|keys %}
{% block form_NONE_idCountry %} {% if doReadonly is defined and doReadonly and "idCountry" != "blStatus" and "idCountry" != "blDeactivated" and form["idCountry"] is defined %} {{ form_row(form['idCountry'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idCountry']) }} {% endif %} {% endblock %}
{% endif %}
{% if "cdZipCode" in form|keys %}
{% block form_NONE_cdZipCode %} {% if doReadonly is defined and doReadonly and "cdZipCode" != "blStatus" and "cdZipCode" != "blDeactivated" and form["cdZipCode"] is defined %} {{ form_row(form['cdZipCode'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdZipCode']) }} {% endif %} {% endblock %}
{% endif %} {% if "idCity" in form|keys %}
{% block form_NONE_idCity %} {% if doReadonly is defined and doReadonly and "idCity" != "blStatus" and "idCity" != "blDeactivated" and form["idCity"] is defined %} {{ form_row(form['idCity'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idCity']) }} {% endif %} {% endblock %}
{% endif %} {% if "lbPhone" in form|keys %}
{% block form_NONE_lbPhone %} {% if doReadonly is defined and doReadonly and "lbPhone" != "blStatus" and "lbPhone" != "blDeactivated" and form["lbPhone"] is defined %} {{ form_row(form['lbPhone'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbPhone']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_NONE_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_NONE_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_NONE_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_NONE_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_NONE_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {% block form_tabs %} {% endblock %} {% block form %} {% if isSelect is defined and isSelect==1 and motherid is defined and motherid!=0 %} {% endif %} {% if isSelect is defined and isSelect==1 %} {% endif %} {{ form_errors(form) }} {{ form_rest(form) }} {% block form_buttons %} {% endblock %} {% endblock %} {% if AddressContact.getCollections() is defined and AddressContact.idAddressContact %} {% for entobj in AddressContact.getCollections() %} {% if entobj.idname is defined %} {% set entitie=entobj.idval %} {% else %} {% set entitie=entobj %} {% endif %} {% set headcol="" %} {% endfor %} {% endif %}
{% endblock %} {% block actionsmenu %}
{% block form_actions %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %} {% if isSelect is defined and isSelect==1 %} {% endif %}
{% endblock %}