<div class="subAncPanel">
  <div
    class="panel-group"
    bs-collapse
    data-allow-multiple="true"
    data-start-collapsed="true"
  >
    <div class="panel panel-info">
      <div class="panel-body">
        <div>
          <anc-bac-service-controle
            entreprise-fti="entreprisesFti"
            cdata="cdata"
            controle-clos="ctrl_clos"
            label-key="cdata.service_controle"
          ></anc-bac-service-controle>
        </div>
        <div>
          <bac-avis-controle
            type-controle="currentControle.properties.type"
            cdata="cdata"
            ctrl-clos="ctrl_clos"
            label-key="'cdata.conformite'"
            controle-comment-config="controleCommentConfig"
            agent="currentControle.properties.agent"
          ></bac-avis-controle>
        </div>

        <div class="row avis_controleSpanc" ng-if="!ctrl_clos">
          <div class="col-xs-12 text-center">
            <hr />
            <div class="alert alert-danger" ng-if="incompleteForm()">
              Un ou plusieurs champ(s) défini(s) comme obligatoire(s) ne sont
              pas remplis.
              <br />Merci de parcourir votre formulaire pour les remplir.
            </div>
            <div
              class="btn btn-primary"
              ng-disabled="incompleteForm()"
              ng-hide="!allowChangementAvis"
              ng-click="pre_appliquerAvisControle()"
            >
              Valider
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
