<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-heading">
        <h6 class="panel-title">
          <a bs-collapse-toggle> Habitation </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="row spbrow">
            <div class="removeColMargin" ng-if="!formClient">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0;"
                ng-click="fillAdresseDossier()"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations du dossier
              </div>
            </div>
            <div class="col-xs-12">
              <anc-adresse
                res="cdata.info_generales.dossier"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="false"
                force-ville="true"
                hide-button="true"
                label-key="'cdata.info_generales.dossier'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>

          <div class="row">
            <div
              class="btn btn-xs btn-default pull-right"
              style="margin: 15px 15px 0 0;"
              ng-disabled="!currentReport.properties.parcelleHabitation"
              ng-click="fillParcelle('parcelleHabitation')"
              ng-if="!ctrl_clos&&!formClient"
            >
              Utiliser l'information du dossier
            </div>
            <div class="form-intermediate-title" data-ng-model="kis_separator">
              Référence cadastrale de l’habitation assainie
            </div>
            <div class="col-xs-6">
              <label data-for="cdata.info_generales.parcelleHabitation.section"
                >Section</label
              >
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.parcelleHabitation.section"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-6">
              <label data-for="cdata.info_generales.parcelleHabitation.numero"
                >Numéro
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.parcelleHabitation.numero"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>

          <div class="row">
            <div
              class="btn btn-xs btn-default pull-right"
              style="margin: 15px 15px 0 0;"
              ng-disabled="!currentReport.properties.parcelleFiliere"
              ng-click="fillParcelle('parcelleFiliere')"
              ng-if="!ctrl_clos&&!formClient"
            >
              Utiliser l'information du dossier
            </div>
            <div class="form-intermediate-title" data-ng-model="kis_separator">
              Référence cadastrale de l’implantation de l’installation
              d’assainissement
            </div>
            <div class="col-xs-6">
              <label data-for="cdata.info_generales.parcelleFiliere.section"
                >Section</label
              >
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.parcelleFiliere.section"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-6">
              <label data-for="cdata.info_generales.parcelleFiliere.numero"
                >Numéro
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.parcelleFiliere.numero"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="panel panel-info">
      <div class="panel-heading">
        <h6 class="panel-title">
          <a bs-collapse-toggle data-ng-model="kis_separator"
            >Coordonnées du propriétaire</a
          >
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="row">
            <div class="removeColMargin" ng-if="!formClient">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0;"
                ng-disabled="!currentReport.properties.proprietaires.length"
                ng-click="preFillPersonne('proprietaires')"
                ng-if="!ctrl_clos"
              >
                Utiliser les informations du propriétaire
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-6">
              <label
                data-for="cdata.info_generales.proprietaire.type_proprietaire"
              >
                Type
              </label>
              <div
                form-field
                fti="proprietaireFti"
                attname="'type_proprietaire'"
                data-ng-model="cdata.info_generales.proprietaire.type_proprietaire"
                res="cdata.info_generales.proprietaire"
                field-data="{disabled:ctrl_clos}"
              ></div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-2">
              <label
                data-for="cdata.info_generales.proprietaire.civilite"
                ng-class="{'ctrlFormRequired':formClient}"
              >
                Civilité
              </label>
              <anc-civilite
                editable="!ctrl_clos"
                res="cdata.info_generales.proprietaire.civilite"
              ></anc-civilite>
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.info_generales.proprietaire.nom">
                Nom
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.proprietaire.nom"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-3">
              <label data-for="cdata.info_generales.proprietaire.prenom">
                Prénom
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.proprietaire.prenom"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-3">
              <label data-for="cdata.info_generales.proprietaire.nom_conjoint">
                Complément nom ou conjoint
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.proprietaire.nom_conjoint"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>

          <div class="row spbrow">
            <div class="col-xs-4">
              <label
                data-for="cdata.info_generales.proprietaire.date_naissance"
              >
                Date de naissance
              </label>
              <div
                javautildate
                model-date-format="'no_hours'"
                gcatt="{name:'date_naissance'}"
                result="cdata.info_generales.proprietaire"
                ng-init="cdata.info_generales.proprietaire.date_naissance = cdata.info_generales.proprietaire.date_naissance ? cdata.info_generales.proprietaire.date_naissance : {}"
                data-ng-model="cdata.info_generales.proprietaire.date_naissance"
                data-type="date"
                model-date-format="'no_hours'"
                field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true}"
              ></div>
            </div>
            <div class="col-xs-4">
              <label
                data-for="cdata.info_generales.proprietaire.lieu_naissance"
              >
                Lieu de naissance
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.proprietaire.lieu_naissance"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.info_generales.proprietaire.siret">
                Siret
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.proprietaire.siret"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>

          <div class="row spbrow">
            <div class="col-xs-6">
              <label data-for="cdata.datesDossier.debut_proprietaire">
                Date de début
              </label>
              <div
                javautildate
                model-date-format="'no_hours'"
                gcatt="{name:'debut_proprietaire'}"
                type="text"
                result="cdata.datesDossier"
                data-type="date"
                data-ng-model="cdata.datesDossier.debut_proprietaire"
                field-data="{disabled:ctrl_clos}"
              ></div>
            </div>
            <div class="col-xs-6">
              <label data-for="cdata.datesDossier.fin_proprietaire">
                Date de fin
              </label>
              <div
                javautildate
                model-date-format="'no_hours'"
                gcatt="{name: 'fin_proprietaire'}"
                type="text"
                result="cdata.datesDossier"
                data-type="date"
                data-ng-model="cdata.datesDossier.fin_proprietaire"
                field-data="{disabled:ctrl_clos}"
              ></div>
            </div>
          </div>

          <div class="row spbrow">
            <div class="col-xs-12">
              <div class="removeColMargin" ng-if="!formClient">
                <div
                  class="btn btn-xs btn-default pull-right"
                  style="margin: 15px 15px 0 0;"
                  ng-init="hasSomethingInAdress()"
                  ng-disabled="disableCopyAdress"
                  ng-click="fillAdresseProp()"
                  ng-if="!ctrl_clos"
                >
                  Utiliser l'adresse du dossier
                </div>
              </div>
              <anc-adresse
                res="cdata.info_generales.proprietaire"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="true"
                label-key="'cdata.info_generales.proprietaire'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="panel panel-info">
      <div class="panel-heading">
        <h6 class="panel-title">
          <a bs-collapse-toggle data-ng-model="kis_separator"> Occupant </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="row spbrow">
            <div class="removeColMargin" ng-if="!formClient">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0;"
                ng-disabled="!currentReport.properties.locataires.length"
                ng-click="preFillPersonne('locataires')"
                ng-if="!ctrl_clos"
              >
                Utiliser les informations du dossier
              </div>
            </div>
            <anc-occupant-controle
              current-report="currentReport"
              data="cdata"
            ></anc-occupant-controle>
          </div>
          <div class="row spbrow">
            <div class="col-xs-2">
              <label
                data-for="cdata.info_generales.locataire.civilite"
                ng-class="{'ctrlFormRequired':formClient}"
              >
                Civilité
              </label>
              <anc-civilite
                editable="!ctrl_clos"
                res="cdata.info_generales.locataire.civilite"
              ></anc-civilite>
            </div>
            <div class="col-xs-5">
              <label data-for="cdata.info_generales.locataire.nom"> Nom </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.locataire.nom"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-5">
              <label data-for="cdata.info_generales.locataire.prenom">
                Prénom
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.locataire.prenom"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>

          <div class="row spbrow">
            <div class="col-xs-4">
              <label data-for="cdata.info_generales.locataire.date_naissance">
                Date de naissance
              </label>
              <div
                javautildate
                model-date-format="'no_hours'"
                gcatt="{name:'date_naissance'}"
                result="cdata.info_generales.locataire"
                ng-init="cdata.info_generales.locataire.date_naissance = cdata.info_generales.locataire.date_naissance ? cdata.info_generales.locataire.date_naissance : {}"
                data-ng-model="cdata.info_generales.locataire.date_naissance"
                data-type="date"
                model-date-format="'no_hours'"
                field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true}"
              ></div>
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.info_generales.locataire.lieu_naissance">
                Lieu de naissance
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.locataire.lieu_naissance"
                ng-disabled="ctrl_clos"
              />
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.info_generales.locataire.siret">
                Siret
              </label>
              <input
                type="text"
                class="form-control"
                ng-model="cdata.info_generales.locataire.siret"
                ng-disabled="ctrl_clos"
              />
            </div>
          </div>

          <div class="row spbrow occupant">
            <div class="col-xs-12">
              <anc-adresse
                res="cdata.info_generales.locataire"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="true"
                show-adresse="true"
                label-key="'cdata.info_generales.locataire'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <label data-for="cdata.info_generales.locataire.remarques">
                Remarques
              </label>
              <textarea
                anc-check-commentaire
                ctrl-cloture="ctrl_clos"
                controlecommentconfig="controleCommentConfig"
                class="form-control"
                style="height: 100px;"
                ng-model="cdata.info_generales.locataire.remarques"
                ng-disabled="ctrl_clos"
              >
              </textarea>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="panel panel-info">
      <div class="panel-heading">
        <h6 class="panel-title">
          <a bs-collapse-toggle data-ng-model="kis_separator">
            Caractéristiques du projet et de l'habitation
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div
            class="panel-group"
            bs-collapse
            data-allow-multiple="true"
            data-start-collapsed="true"
          >
            <div class="panel panel-info">
              <div class="panel-heading">
                <h6 class="panel-title">
                  <a
                    bs-collapse-toggle
                    data-ng-model="kis_separator"
                    data-for="cdata.caracteristiques_hab.new"
                  >
                    Nature du projet
                  </a>
                </h6>
              </div>
            </div>
            <div class="panel-body" bs-collapse-target>
              <div class="row spbrow">
                <div class="col-xs-3 text-left">
                  <label class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      name="cdata.caracteristiques_hab.new"
                      ng-model="cdata.caracteristiques_hab.new"
                      value="0"
                      ng-disabled="ctrl_clos"
                    />
                    <span data-forvalue="cdata.caracteristiques_hab.new">
                      Construction neuve
                    </span>
                  </label>
                </div>
                <div class="col-xs-3 text-left">
                  <label class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      name="cdata.caracteristiques_hab.new"
                      ng-model="cdata.caracteristiques_hab.new"
                      value="1"
                      ng-disabled="ctrl_clos"
                    />
                    <span data-forvalue="cdata.caracteristiques_hab.new">
                      Construction existante
                    </span>
                  </label>
                </div>
              </div>
              <div
                class="row spbrow"
                ng-if="cdata.caracteristiques_hab.new == '0' && filiereDuControle.properties.volume_eh == '1'"
              >
                <div class="row spbrow">
                  <div class="col-xs-8">
                    <span data-for="cdata.caracteristiques_hab.regle_100_m">
                      L'implantation du projet de filière respecte-t-elle la
                      règle des 100m de distance aux habitations ?
                    </span>
                  </div>
                  <div class="col-xs-4 text-left">
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m"
                        ng-model="cdata.caracteristiques_hab.regle_100_m"
                        value="1"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m"
                      >
                        Oui
                      </span>
                    </label>
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m"
                        ng-model="cdata.caracteristiques_hab.regle_100_m"
                        value="0"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m"
                      >
                        Non
                      </span>
                    </label>
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m"
                        ng-model="cdata.caracteristiques_hab.regle_100_m"
                        value="2"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m"
                      >
                        ?
                      </span>
                    </label>
                  </div>
                </div>
                <div
                  class="row spbrow"
                  ng-show="cdata.caracteristiques_hab.regle_100_m == '0' || cdata.caracteristiques_hab.regle_100_m =='2'"
                >
                  <div class="col-xs-8">
                    <span
                      data-for="cdata.caracteristiques_hab.regle_100_m_derogation"
                    >
                      Si non, existe-t-il une dérogation préfectorale ?
                    </span>
                  </div>
                  <div class="col-xs-4 text-left">
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m_derogation"
                        ng-model="cdata.caracteristiques_hab.regle_100_m_derogation"
                        value="1"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m_derogation"
                      >
                        Oui
                      </span>
                    </label>
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m_derogation"
                        ng-model="cdata.caracteristiques_hab.regle_100_m_derogation"
                        value="0"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m_derogation"
                      >
                        Non
                      </span>
                    </label>
                    <label class="radio-inline">
                      <input
                        type="radio"
                        uncheckable-radio
                        name="caracteristiques_hab.regle_100_m_derogation"
                        ng-model="cdata.caracteristiques_hab.regle_100_m_derogation"
                        value="2"
                        ng-disabled="ctrl_clos"
                      />
                      <span
                        data-forvalue="cdata.caracteristiques_hab.regle_100_m_derogation"
                      >
                        ?
                      </span>
                    </label>
                  </div>
                </div>
                <div
                  class="row spbrow"
                  ng-show="cdata.caracteristiques_hab.regle_100_m == '0' || cdata.caracteristiques_hab.regle_100_m =='2'"
                >
                  <div class="col-xs-12">
                    <span
                      data-for="cdata.cdata.caracteristiques_hab.comment_100_m"
                    >
                      Préciser :
                    </span>
                    <textarea
                      anc-check-commentaire
                      ctrl-cloture="ctrl_clos"
                      controlecommentconfig="controleCommentConfig"
                      class="form-control"
                      style="height: 100px;"
                      ng-model="cdata.cdata.caracteristiques_hab.comment_100_m"
                      ng-disabled="ctrl_clos"
                    >
                    </textarea>
                  </div>
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-6 text-left">
                  <div
                    form-field
                    fti="kis_anc_listes_deroulantes_controles"
                    attname="'nature_projet'"
                    set-attr="'nature_projet'"
                    res="cdata.caracteristiques_hab"
                    data-ng-model="cdata.caracteristiques_hab.nature_projet"
                    field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true,config:restrictionsConfig}"
                  ></div>
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-12">
                  <span
                    data-for="cdata.cdata.caracteristiques_hab.comment_100_m"
                  >
                    Commentaires :
                  </span>
                  <textarea
                    anc-check-commentaire
                    ctrl-cloture="ctrl_clos"
                    controlecommentconfig="controleCommentConfig"
                    class="form-control"
                    style="height: 100px;"
                    ng-model="cdata.caracteristiques_hab.comment_nature"
                    ng-disabled="ctrl_clos"
                  >
                  </textarea>
                </div>
              </div>
            </div>
          </div>

          <div
            class="panel-group"
            bs-collapse
            data-allow-multiple="true"
            data-start-collapsed="true"
          >
            <div class="panel panel-info">
              <div class="panel-heading">
                <h6 class="panel-title">
                  <a bs-collapse-toggle data-ng-model="kis_separator">
                    Réalisation du projet
                  </a>
                </h6>
              </div>
              <div class="panel-collapse" bs-collapse-target>
                <div class="panel-body">
                  <div class="row">
                    <a
                      class="btn btn-xs btn-default pull-right"
                      ng-click="fillCaracteristiquesDeLHabitation($event)"
                    >
                      Récupérer les informations du dossier
                    </a>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-4">
                      <label
                        data-for="cdata.caracteristiques_hab.type_habitation"
                      >
                        Type
                      </label>
                      <div
                        form-field
                        fti="kis_anc_listes_deroulantes_controles"
                        attname="'type_habitation'"
                        data-ng-model="cdata.caracteristiques_hab.type_habitation"
                        res="cdata.caracteristiques_hab"
                        field-data="{disabled:ctrl_clos}"
                      ></div>
                    </div>
                    <div class="col-xs-4">
                      <label
                        class="control-label"
                        data-for="cdata.caracteristiques_hab.annee_logement"
                      >
                        Année de construction du logement
                      </label>
                      <input
                        type="text"
                        class="form-control"
                        ng-model="cdata.caracteristiques_hab.annee_logement"
                        ng-disabled="ctrl_clos"
                      />
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-3">
                      <span data-for="cdata.caracteristiques_hab.neh">
                        Nombre équivalent habitant
                      </span>
                    </div>
                    <div class="col-xs-3">
                      <div class="input-group text-left">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="cdata.caracteristiques_hab.neh"
                          ng-disabled="ctrl_clos"
                        />
                        <span class="input-group-addon"> EH </span>
                      </div>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-3">
                      <span data-for="cdata.caracteristiques_hab.nbchambre">
                        Nombre de chambre(s)
                      </span>
                    </div>
                    <div class="col-xs-1">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="cdata.caracteristiques_hab.nbchambre"
                        ng-disabled="ctrl_clos"
                      />
                    </div>
                    <div class="col-xs-3">
                      <span
                        data-for="cdata.caracteristiques_hab.nombre_logement"
                      >
                        Nombre de logement(s)
                      </span>
                    </div>
                    <div class="col-xs-1">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="cdata.caracteristiques_hab.nombre_logement"
                        ng-disabled="ctrl_clos"
                      />
                    </div>
                    <div class="col-xs-3">
                      <span data-for="cdata.caracteristiques_hab.nboccupant">
                        Nombre d'occupant(s)
                      </span>
                    </div>
                    <div class="col-xs-1">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="cdata.caracteristiques_hab.nboccupant"
                        ng-disabled="ctrl_clos"
                      />
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-3">
                      <span data-for="cdata.caracteristiques_hab.nbpiece">
                        Nombre de pièce(s) principale(s)
                      </span>
                    </div>
                    <div class="col-xs-1">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="cdata.caracteristiques_hab.nbpiece"
                        ng-disabled="ctrl_clos"
                      />
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <label data-for="cdata.caracteristiques_hab.comment">
                        Commentaires
                      </label>
                      <textarea
                        anc-check-commentaire
                        ctrl-cloture="ctrl_clos"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 100px;"
                        ng-model="cdata.caracteristiques_hab.comment"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </div>
                  </div>

                  <div class="distinctPart">
                    <div class="row spbrow">
                      <div class="col-xs-4">
                        <label data-for="cdata.general.concepteur.nom">
                          Concepteur
                        </label>
                      </div>
                      <div class="col-xs-8">
                        <div class="input-group">
                          <input
                            type="text"
                            class="form-control"
                            ng-model="cdata.general.concepteur.nom"
                            disabled
                          />
                          <span class="input-group-btn">
                            <div
                              class="btn btn-default"
                              title="Chercher une entreprise"
                              ng-click="prePickInstallateur('concepteur')"
                              ng-disabled="ctrl_clos"
                            >
                              <i class="fa fa-search"></i>
                            </div>
                            <div
                              class="btn btn-default"
                              ng-click="ouvrirEntrepriseDialog('1')"
                              title="Saisir un concepteur"
                              ng-disabled="ctrl_clos"
                            >
                              <i class="fa fa-plus"></i>
                            </div>
                            <div
                              class="btn btn-default"
                              ng-click="unlinkEntreprise('concepteur')"
                              title="Supprimer le concepteur"
                              ng-disabled="entrepriseNotSet('concepteur') || ctrl_clos"
                            >
                              <i class="fa fa-close"></i>
                            </div>
                            <div
                              class="btn btn-default expandSelfElement cursorHelp"
                              title="Ouvrir/fermer les informations du concepteur"
                              ng-disabled="entrepriseNotSet('concepteur')"
                              ng-click="toggleDisplayEntreprise('concepteur')"
                            >
                              <i
                                class="fa"
                                ng-class="{'fa-expand':display.concepteur=='full','fa-compress':display.concepteur=='reduced'}"
                              ></i>
                            </div>
                          </span>
                        </div>
                      </div>
                    </div>
                    <div class="row spbrow {{display.concepteur}}">
                      <div class="col-xs-12">
                        <div class="col-xs-4">
                          <label data-for="cdata.general.concepteur.siret">
                            Siret
                          </label>
                        </div>
                        <div class="col-xs-8">
                          <div class="input-group">
                            <input
                              type="text"
                              class="form-control"
                              ng-model="cdata.general.concepteur.siret"
                            />
                          </div>
                        </div>
                      </div>

                      <div class="col-xs-12">
                        <anc-adresse
                          res="cdata.general.concepteur"
                          editable="!ctrl_clos"
                          show-title="true"
                          show-contact="true"
                          label-key="'cdata.general.concepteur'"
                          complement-ville="true"
                        ></anc-adresse>
                      </div>
                    </div>
                    <div class="row spbrow">
                      <div class="col-xs-4">
                        <label data-for="cdata.general.dateEtude">
                          Date de l’étude
                        </label>
                      </div>
                      <div class="col-xs-4">
                        <input
                          type="text"
                          placeholder="dd-mm-yyyy"
                          model-date-format="dd-MM-yyyy"
                          data-date-format="dd-MM-yyyy"
                          ng-model="cdata.general.dateEtude"
                          ng-disabled="ctrl_clos"
                          data-placement="top-right"
                          bs-datepicker
                        />
                      </div>
                    </div>
                    <div class="row spbrow">
                      <div class="col-xs-4">
                        <label data-for="cdata.general.referenceEtude">
                          Référence de l’étude
                        </label>
                      </div>
                      <div class="col-xs-4">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="cdata.general.referenceEtude"
                          ng-disabled="ctrl_clos"
                        />
                      </div>
                    </div>
                  </div>
                  <div class="distinctPart">
                    <div class="row spbrow">
                      <div class="col-xs-4">
                        <label data-for="cdata.general.installateur.nom">
                          Installateur
                        </label>
                      </div>
                      <div class="col-xs-8">
                        <div class="input-group">
                          <input
                            type="text"
                            class="form-control"
                            ng-model="cdata.general.installateur.nom"
                            disabled
                          />
                          <span class="input-group-btn">
                            <div
                              class="btn btn-default"
                              title="Chercher une entreprise"
                              ng-click="prePickInstallateur('installateur')"
                              ng-disabled="ctrl_clos"
                            >
                              <i class="fa fa-search"></i>
                            </div>
                            <div
                              class="btn btn-default"
                              ng-click="ouvrirEntrepriseDialog('2')"
                              title="Saisir un installateur"
                              ng-disabled="ctrl_clos"
                            >
                              <i class="fa fa-plus"></i>
                            </div>
                            <div
                              class="btn btn-default"
                              ng-click="unlinkEntreprise('installateur')"
                              ng-disabled="entrepriseNotSet('installateur') || ctrl_clos"
                              title="Supprimer l'installateur"
                            >
                              <i class="fa fa-close"></i>
                            </div>
                            <div
                              class="btn btn-default expandSelfElement cursorHelp"
                              title="Ouvrir/fermer les informations de l'installateur"
                              ng-disabled="entrepriseNotSet('installateur')"
                              ng-click="toggleDisplayEntreprise('installateur')"
                            >
                              <i
                                class="fa"
                                ng-class="{'fa-expand':display.installateur=='full','fa-compress':display.installateur=='reduced'}"
                              ></i>
                            </div>
                          </span>
                        </div>
                      </div>
                    </div>
                    <div class="row spbrow {{display.installateur}}">
                      <div class="col-xs-12">
                        <div class="col-xs-4">
                          <label data-for="cdata.general.installateur.siret">
                            Siret
                          </label>
                        </div>
                        <div class="col-xs-8">
                          <div class="input-group">
                            <input
                              type="text"
                              class="form-control"
                              ng-model="cdata.general.installateur.siret"
                            />
                          </div>
                        </div>
                      </div>
                      <div class="col-xs-12">
                        <anc-adresse
                          res="cdata.general.installateur"
                          editable="!ctrl_clos"
                          show-title="true"
                          show-contact="true"
                          label-key="'cdata.general.installateur'"
                          complement-ville="true"
                        ></anc-adresse>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <!-- <div class="panel panel-info">
                            <div class="panel-heading">
                                <h6 class="panel-title">
                                    <a bs-collapse-toggle> Complément d'information sur le site </a>
                                </h6>
                            </div>
                            <div class="panel-collapse" bs-collapse-target>
                                <div class="panel-body">
                                    <div class="row spbrow">
                                        <div class="col-xs-3">
                                            <label data-for="cdata.info_site.affec_construct"> Affectation construction </label>      
                                        </div>
                                        <div class="col-xs-3">
                                            <input type="text" class="form-control" ng-model="cdata.info_site.affec_construct" ng-disabled="ctrl_clos">
                                        </div>
                                        <div class="col-xs-3">
                                            <label data-for="cdata.info_site.nature_distrib"> Nature de la distribution </label>
                                        </div>
                                        <div class="col-xs-3">
                                            <input type="text" class="form-control" ng-model="cdata.info_site.nature_distrib" ng-disabled="ctrl_clos">
                                        </div>
                                    </div>
                                    <div class="row spbrow">
                                        <div class="col-xs-3">
                                            <label data-for="cdata.info_site.etat_raccordement"> Etat du raccordement </label>
                                        </div>
                                        <div class="col-xs-3">
                                            <div form-field
                                                 fti="kis_anc_listes_deroulantes_controles"
                                                 attname="'etat_raccordement'"
                                                 data-ng-model="cdata.info_site.etat_raccordement"
                                                 res="cdata.info_site"
                                                 field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true}">           
                                            </div>
                                        </div>
                                        <div class="col-xs-3">
                                            <label data-for="cdata.datesDossier.dateraccord"> Date de mise en raccordement </label>
                                            
                                        </div>
                                        <div class="col-xs-3">
                                            <div   javautildate
                                                   model-date-format="'no_hours'"
                                                   gcatt="{name: 'dateraccord'}"
                                                   type="text"
                                                   result="cdata.datesDossier"
                                                   data-type="date" 
                                                   data-ng-model="cdata.datesDossier.dateraccord"
                                                   field-data="{disabled:ctrl_clos}">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row spbrow">                          
                                        <div class="col-xs-3">
                                            <label data-for="cdata.info_site.type_zonage"> Type de zonage </label>
                                        </div>
                                        <div class="col-xs-3">
                                            <div form-field
                                                 fti="kis_anc_listes_deroulantes_controles"
                                                 attname="'type_zonage'"
                                                 data-ng-model="cdata.info_site.type_zonage"
                                                 res="cdata.info_site"
                                                 field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true}"
                                                 >           
                                            </div>
                                        </div>
                                        <div class="col-xs-3">
                                            <label data-for="cdata.info_site.zone_prevention"> Zone de prévention des risques </label>
                                        </div>
                                        <div class="col-xs-3">
                                            <div form-field
                                                 fti="kis_anc_listes_deroulantes_controles"
                                                 data-ng-model="cdata.info_site.zone_prevention"
                                                 attname="'zone_prevention'"
                                                 res="cdata.info_site"
                                                 field-data="{disabled:ctrl_clos,restrictionKeyAsInt:true}">           
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row spbrow">  
                                        <div class="col-xs-12">
                                            <label data-for="cdata.info_site.comment"> Commentaires </label>
                                            <textarea anc-check-commentaire ctrl-cloture="ctrl_clos" controlecommentconfig="controleCommentConfig" class="form-control"
                                                      style="height: 100px;"
                                                      ng-model="cdata.info_site.comment"  ng-disabled="ctrl_clos">
                                            </textarea>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div> -->
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
