<div class="ancAvisControle">
  <div class="sub agent">
    <h4>Service de contrôle</h4>
    <div class="row spbrow">
      <div class="col-xs-4">
        <label data-for="{{labelKey}}.nom"> Nom du service </label>
      </div>
      <div class="col-xs-8">
        <div class="input-group">
          <input
            type="text"
            data-for=""
            class="form-control"
            ng-model="cdata.service_controle.nom"
            disabled
          />
          <span class="input-group-btn">
            <div
              class="btn btn-default"
              ng-click="prePickSpanc('spanc')"
              ng-disabled="controleClos"
            >
              <i class="fa fa-search"></i>
            </div>
            <div
              class="btn btn-default"
              ng-click="addSpanc('4')"
              ng-disabled="controleClos"
            >
              <i class="fa fa-plus"></i>
            </div>
            <div
              class="btn btn-default"
              ng-click="unlinkSpanc('spanc')"
              ng-disabled="controleClos"
            >
              <i class="fa fa-close"></i>
            </div>
            <div
              class="btn btn-default expandSelfElement cursorHelp"
              title="Ouvrir/fermer les informations du SPANC"
              ng-disabled="entrepriseNotSet('spanc')"
              ng-click="toggleDisplaySpanc()"
            >
              <i
                class="fa"
                ng-class="{'fa-expand':expand==1,'fa-compress':expand==0}"
              ></i>
            </div>
          </span>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-xs-12" ng-if="cdata.service_controle.nom && expand==1">
        <div class="row">
          <div class="col-xs-12">
            <div class="col-xs-4">
              <label data-for="cdata.service_controle.siret"> Siret </label>
            </div>
            <div class="col-xs-8">
              <div class="input-group">
                <input
                  type="text"
                  class="form-control"
                  ng-model="cdata.service_controle.siret"
                  ng-disabled="controleClos"
                />
              </div>
            </div>
          </div>
        </div>
        <anc-adresse
          res="cdata.service_controle"
          editable="!controleClos"
          show-title="true"
          show-contact="true"
          label-key="'cdata.service_controle'"
          complement-ville="true"
        ></anc-adresse>
      </div>
    </div>
  </div>
</div>
