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

{% trans from "Admin" %}Add new service{% 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 %}
{% set doReadonly = form.vars.value.blDeactivated=="0" %}
{% if "idService" in form|keys %}
{% block form_NONE_idService %} {% if doReadonly is defined and doReadonly and "idService" != "blStatus" and "idService" != "blDeactivated" and form["idService"] is defined %} {{ form_row(form['idService'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['idService']) }} {% endif %} {% endblock %}
{% endif %}
{% if "cdService" in form|keys %}
{% block form_NONE_cdService %} {% if doReadonly is defined and doReadonly and "cdService" != "blStatus" and "cdService" != "blDeactivated" and form["cdService"] is defined %} {{ form_row(form['cdService'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdService']) }} {% endif %} {% endblock %}
{% endif %}
{% if "cdCustomerRef" in form|keys %}
{% block form_NONE_cdCustomerRef %} {% if doReadonly is defined and doReadonly and "cdCustomerRef" != "blStatus" and "cdCustomerRef" != "blDeactivated" and form["cdCustomerRef"] is defined %} {{ form_row(form['cdCustomerRef'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['cdCustomerRef']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtCreate" in form|keys %}
{% block form_NONE_dtCreate %} {% if doReadonly is defined and doReadonly and "dtCreate" != "blStatus" and "dtCreate" != "blDeactivated" and form["dtCreate"] is defined %} {{ form_row(form['dtCreate'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtCreate']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtOrder" in form|keys %}
{% block form_NONE_dtOrder %} {% if doReadonly is defined and doReadonly and "dtOrder" != "blStatus" and "dtOrder" != "blDeactivated" and form["dtOrder"] is defined %} {{ form_row(form['dtOrder'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtOrder']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtDeliveryRequested" in form|keys %}
{% block form_NONE_dtDeliveryRequested %} {% if doReadonly is defined and doReadonly and "dtDeliveryRequested" != "blStatus" and "dtDeliveryRequested" != "blDeactivated" and form["dtDeliveryRequested"] is defined %} {{ form_row(form['dtDeliveryRequested'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtDeliveryRequested']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtDelivery" in form|keys %}
{% block form_NONE_dtDelivery %} {% if doReadonly is defined and doReadonly and "dtDelivery" != "blStatus" and "dtDelivery" != "blDeactivated" and form["dtDelivery"] is defined %} {{ form_row(form['dtDelivery'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtDelivery']) }} {% endif %} {% endblock %}
{% endif %}
{% if "lbComment" in form|keys %}
{% block form_NONE_lbComment %} {% if doReadonly is defined and doReadonly and "lbComment" != "blStatus" and "lbComment" != "blDeactivated" and form["lbComment"] is defined %} {{ form_row(form['lbComment'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['lbComment']) }} {% endif %} {% endblock %}
{% endif %}
{% if "blDeactivated" in form|keys %}
{% block form_NONE_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 "blValidated" in form|keys %}
{% block form_NONE_blValidated %} {% if doReadonly is defined and doReadonly and "blValidated" != "blStatus" and "blValidated" != "blDeactivated" and form["blValidated"] is defined %} {{ form_row(form['blValidated'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blValidated']) }} {% endif %} {% endblock %}
{% endif %}
{% if "blLlstatus" in form|keys %}
{% block form_NONE_blLlstatus %} {% if doReadonly is defined and doReadonly and "blLlstatus" != "blStatus" and "blLlstatus" != "blDeactivated" and form["blLlstatus"] is defined %} {{ form_row(form['blLlstatus'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blLlstatus']) }} {% endif %} {% endblock %}
{% endif %}
{% if "blBbstatus" in form|keys %}
{% block form_NONE_blBbstatus %} {% if doReadonly is defined and doReadonly and "blBbstatus" != "blStatus" and "blBbstatus" != "blDeactivated" and form["blBbstatus"] is defined %} {{ form_row(form['blBbstatus'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['blBbstatus']) }} {% 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 "dtInitUpdown" in form|keys %}
{% block form_NONE_dtInitUpdown %} {% if doReadonly is defined and doReadonly and "dtInitUpdown" != "blStatus" and "dtInitUpdown" != "blDeactivated" and form["dtInitUpdown"] is defined %} {{ form_row(form['dtInitUpdown'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtInitUpdown']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtRequestedUpdown" in form|keys %}
{% block form_NONE_dtRequestedUpdown %} {% if doReadonly is defined and doReadonly and "dtRequestedUpdown" != "blStatus" and "dtRequestedUpdown" != "blDeactivated" and form["dtRequestedUpdown"] is defined %} {{ form_row(form['dtRequestedUpdown'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtRequestedUpdown']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtRealUpdown" in form|keys %}
{% block form_NONE_dtRealUpdown %} {% if doReadonly is defined and doReadonly and "dtRealUpdown" != "blStatus" and "dtRealUpdown" != "blDeactivated" and form["dtRealUpdown"] is defined %} {{ form_row(form['dtRealUpdown'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtRealUpdown']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtRequestTerminate" in form|keys %}
{% block form_NONE_dtRequestTerminate %} {% if doReadonly is defined and doReadonly and "dtRequestTerminate" != "blStatus" and "dtRequestTerminate" != "blDeactivated" and form["dtRequestTerminate"] is defined %} {{ form_row(form['dtRequestTerminate'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtRequestTerminate']) }} {% 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 "nbOperation" in form|keys %}
{% block form_NONE_nbOperation %} {% if doReadonly is defined and doReadonly and "nbOperation" != "blStatus" and "nbOperation" != "blDeactivated" and form["nbOperation"] is defined %} {{ form_row(form['nbOperation'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['nbOperation']) }} {% endif %} {% endblock %}
{% endif %}
{% if "dtDeactivated" in form|keys %}
{% block form_NONE_dtDeactivated %} {% if doReadonly is defined and doReadonly and "dtDeactivated" != "blStatus" and "dtDeactivated" != "blDeactivated" and form["dtDeactivated"] is defined %} {{ form_row(form['dtDeactivated'],{'attr' : {'readonly':'readonly'}}) }} {% else %} {{ form_row(form['dtDeactivated']) }} {% 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 Service.getCollections() is defined and Service.idService %} {% for entobj in Service.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 %} {% if data is defined and data %} {% endif %} {% if Service.idService is defined and Service.idService is not null %} {% endif %}
{% endblock %}