{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}Modify selected worldwide group{% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}Modify selected worldwide group{% 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_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) }} {% block form_fieldset_WorldwideGroup %}
{% trans from "Admin" %}Worldwide Group{% endtrans %} {% set doReadonly = form.vars.value.blDeactivated=="0" %}
{% if "cdWorldwideGroup" in form|keys %}
{% block form_WorldwideGroup_cdWorldwideGroup %} {% if doReadonly is defined and doReadonly and "cdWorldwideGroup" != "blStatus" and "cdWorldwideGroup" != "blDeactivated" and form["cdWorldwideGroup"] is defined %} {{ form_row(form['cdWorldwideGroup'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdWorldwideGroup']) }} {% endif %} {% endblock %}
{% endif %} {% if "lbWorldwideGroup" in form|keys %}
{% block form_WorldwideGroup_lbWorldwideGroup %} {% if doReadonly is defined and doReadonly and "lbWorldwideGroup" != "blStatus" and "lbWorldwideGroup" != "blDeactivated" and form["lbWorldwideGroup"] is defined %} {{ form_row(form['lbWorldwideGroup'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbWorldwideGroup']) }} {% endif %} {% endblock %}
{% endif %}
{% if "blDeactivated" in form|keys %}
{% block form_WorldwideGroup_blDeactivated %} {% if doReadonly is defined and doReadonly and "blDeactivated" != "blStatus" and "blDeactivated" != "blDeactivated" and form["blDeactivated"] is defined %} {{ form_row(form['blDeactivated'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blDeactivated']) }} {% endif %} {% endblock %}
{% endif %} {% if "idUserGlobalAccountManager" in form|keys %}
{% block form_WorldwideGroup_idUserGlobalAccountManager %} {% if doReadonly is defined and doReadonly and "idUserGlobalAccountManager" != "blStatus" and "idUserGlobalAccountManager" != "blDeactivated" and form["idUserGlobalAccountManager"] is defined %} {{ form_row(form['idUserGlobalAccountManager'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idUserGlobalAccountManager']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_WorldwideGroup_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_WorldwideGroup_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_WorldwideGroup_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_WorldwideGroup_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_WorldwideGroup_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {% block form_fieldset_Clusters %}
{% trans from "Admin" %}Clusters{% endtrans %}
{% if "idBranchCluster" in form|keys %}
{% block form_Clusters_idBranchCluster %} {% if doReadonly is defined and doReadonly and "idBranchCluster" != "blStatus" and "idBranchCluster" != "blDeactivated" and form["idBranchCluster"] is defined %} {{ form_row(form['idBranchCluster'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idBranchCluster']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_Clusters_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_Clusters_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_Clusters_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_Clusters_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_Clusters_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {{ form_rest(form) }} {% block form_buttons %} {% endblock %} {% endblock %} {% if WorldwideGroup.getCollections() is defined and WorldwideGroup.idWorldwideGroup %} {% for entobj in WorldwideGroup.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 %}