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

{% trans from "Admin" %}Modify selected branch{% 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_Information %}
{% trans from "Admin" %}Information{% endtrans %} {% set doReadonly = form.vars.value.blDeactivated=="0" %}
{% if "lbBranch" in form|keys %}
{% block form_Information_lbBranch %} {% if doReadonly is defined and doReadonly and "lbBranch" != "blStatus" and "lbBranch" != "blDeactivated" and form["lbBranch"] is defined %} {{ form_row(form['lbBranch'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbBranch']) }} {% endif %} {% endblock %}
{% endif %} {% if "cdBranch" in form|keys %}
{% block form_Information_cdBranch %} {% if doReadonly is defined and doReadonly and "cdBranch" != "blStatus" and "cdBranch" != "blDeactivated" and form["cdBranch"] is defined %} {{ form_row(form['cdBranch'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdBranch']) }} {% endif %} {% endblock %}
{% endif %}
{% if "nbGmt" in form|keys %}
{% block form_Information_nbGmt %} {% if doReadonly is defined and doReadonly and "nbGmt" != "blStatus" and "nbGmt" != "blDeactivated" and form["nbGmt"] is defined %} {{ form_row(form['nbGmt'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['nbGmt']) }} {% endif %} {% endblock %}
{% endif %} {% if "nbDayInService" in form|keys %}
{% block form_Information_nbDayInService %} {% if doReadonly is defined and doReadonly and "nbDayInService" != "blStatus" and "nbDayInService" != "blDeactivated" and form["nbDayInService"] is defined %} {{ form_row(form['nbDayInService'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['nbDayInService']) }} {% endif %} {% endblock %}
{% endif %}
{% if "idBranchCluster" in form|keys %}
{% block form_Information_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 "blDeactivated" in form|keys %}
{% block form_Information_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 "dtEnd" in form|keys %}
{% block form_Information_dtEnd %} {% if doReadonly is defined and doReadonly and "dtEnd" != "blStatus" and "dtEnd" != "blDeactivated" and form["dtEnd"] is defined %} {{ form_row(form['dtEnd'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtEnd']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_Information_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_Information_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_Information_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_Information_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_Information_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {% block form_fieldset_Address %}
{% trans from "Admin" %}Address{% endtrans %}
{% if "idAddressSimple" in form|keys %}
{% block form_Address_idAddressSimple %} {% if doReadonly is defined and doReadonly and "idAddressSimple" != "blStatus" and "idAddressSimple" != "blDeactivated" and form["idAddressSimple"] is defined %} {{ form_row(form['idAddressSimple'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idAddressSimple']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_Address_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_Address_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_Address_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_Address_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_Address_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {% block form_fieldset_Periods %}
{% trans from "Admin" %}Periods{% endtrans %}
{% if "idBillingPeriodRef" in form|keys %}
{% block form_Periods_idBillingPeriodRef %} {% if doReadonly is defined and doReadonly and "idBillingPeriodRef" != "blStatus" and "idBillingPeriodRef" != "blDeactivated" and form["idBillingPeriodRef"] is defined %} {{ form_row(form['idBillingPeriodRef'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idBillingPeriodRef']) }} {% endif %} {% endblock %}
{% endif %}
{% if form['dtDeactivated'] is defined %}
{% block form_Periods_dtDeactivated %} {{ form_row(form['dtDeactivated']) }} {% endblock %}
{% endif %} {% if form['dtCreate'] is defined %}
{% block form_Periods_dtCreate %} {{ form_row(form['dtCreate']) }} {% endblock %}
{% endif %} {% if form['dtUpdate'] is defined %}
{% block form_Periods_dtUpdate %} {{ form_row(form['dtUpdate']) }} {% endblock %}
{% endif %} {% if form['idUserCreateBy'] is defined %}
{% block form_Periods_idUserCreateBy %} {{ form_row(form['idUserCreateBy']) }} {% endblock %}
{% endif %} {% if form['idUserUpdateBy'] is defined %}
{% block form_Periods_idUserUpdateBy %} {{ form_row(form['idUserUpdateBy']) }} {% endblock %}
{% endif %}
{% endblock %} {{ form_rest(form) }} {% block form_buttons %} {% endblock %} {% endblock %} {% if Branch.getCollections() is defined and Branch.idBranch %} {% for entobj in Branch.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 %}