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

{% trans from "Admin" %}Add service device{% 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 "lbUsername" in form|keys %}
{% block form_NONE_lbUsername %} {% if doReadonly is defined and doReadonly and "lbUsername" != "blStatus" and "lbUsername" != "blDeactivated" and form["lbUsername"] is defined %} {{ form_row(form['lbUsername'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbUsername']) }} {% endif %} {% endblock %}
{% endif %} {% if "cdServiceDevice" in form|keys %}
{% block form_NONE_cdServiceDevice %} {% if doReadonly is defined and doReadonly and "cdServiceDevice" != "blStatus" and "cdServiceDevice" != "blDeactivated" and form["cdServiceDevice"] is defined %} {{ form_row(form['cdServiceDevice'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdServiceDevice']) }} {% endif %} {% endblock %}
{% endif %} {% if "nbSerial" in form|keys %}
{% block form_NONE_nbSerial %} {% if doReadonly is defined and doReadonly and "nbSerial" != "blStatus" and "nbSerial" != "blDeactivated" and form["nbSerial"] is defined %} {{ form_row(form['nbSerial'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['nbSerial']) }} {% endif %} {% endblock %}
{% endif %} {% if "idBandwidth" in form|keys %}
{% block form_NONE_idBandwidth %} {% if doReadonly is defined and doReadonly and "idBandwidth" != "blStatus" and "idBandwidth" != "blDeactivated" and form["idBandwidth"] is defined %} {{ form_row(form['idBandwidth'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idBandwidth']) }} {% endif %} {% endblock %}
{% endif %} {% if "idServiceDeviceType" in form|keys %}
{% block form_NONE_idServiceDeviceType %} {% if doReadonly is defined and doReadonly and "idServiceDeviceType" != "blStatus" and "idServiceDeviceType" != "blDeactivated" and form["idServiceDeviceType"] is defined %} {{ form_row(form['idServiceDeviceType'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idServiceDeviceType']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtInit" in form|keys %}
{% block form_NONE_dtInit %} {% if doReadonly is defined and doReadonly and "dtInit" != "blStatus" and "dtInit" != "blDeactivated" and form["dtInit"] is defined %} {{ form_row(form['dtInit'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtInit']) }} {% endif %} {% endblock %}
{% endif %} {% if "dtRequested" in form|keys %}
{% block form_NONE_dtRequested %} {% if doReadonly is defined and doReadonly and "dtRequested" != "blStatus" and "dtRequested" != "blDeactivated" and form["dtRequested"] is defined %} {{ form_row(form['dtRequested'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtRequested']) }} {% endif %} {% endblock %}
{% endif %} {% if "dtInservice" in form|keys %}
{% block form_NONE_dtInservice %} {% if doReadonly is defined and doReadonly and "dtInservice" != "blStatus" and "dtInservice" != "blDeactivated" and form["dtInservice"] is defined %} {{ form_row(form['dtInservice'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtInservice']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtInitTerminate" in form|keys %}
{% block form_NONE_dtInitTerminate %} {% if doReadonly is defined and doReadonly and "dtInitTerminate" != "blStatus" and "dtInitTerminate" != "blDeactivated" and form["dtInitTerminate"] is defined %} {{ form_row(form['dtInitTerminate'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtInitTerminate']) }} {% endif %} {% endblock %}
{% endif %} {% if "dtRealTerminate" in form|keys %}
{% block form_NONE_dtRealTerminate %} {% if doReadonly is defined and doReadonly and "dtRealTerminate" != "blStatus" and "dtRealTerminate" != "blDeactivated" and form["dtRealTerminate"] is defined %} {{ form_row(form['dtRealTerminate'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtRealTerminate']) }} {% 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 ServiceDevice.getCollections() is defined and ServiceDevice.idServiceDevice %} {% for entobj in ServiceDevice.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 %}