<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 data-ng-model="kis_separator">
            Informations générales
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="col-xs-12">
            <div class="row spbrow">
              <div
                class="form-intermediate-title"
                data-ng-model="kis_separator"
              >
                Chantier
              </div>
              <div class="col-xs-6">
                <label data-for="cdata.info_generales.nom_chantier">
                  Nom du chantier
                </label>
                <input
                  type="text"
                  class="form-control"
                  ng-model="cdata.info_generales.nom_chantier"
                  ng-disabled="ctrl_clos"
                />
              </div>
            </div>
          </div>
          <div class="col-xs-12">
            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <div
                  class="btn btn-xs btn-default pull-right"
                  style="margin: 15px 15px 0 0;"
                  ng-click="fillAdresseDossier('chantier')"
                  ng-if="!ctrl_clos&&!formClient"
                >
                  Utiliser les informations du dossier
                </div>
                <div
                  class="form-intermediate-title"
                  style="margin-left: 0px"
                  data-ng-model="kis_separator"
                >
                  Situation du chantier
                </div>
              </div>
              <div class="col-xs-12">
                <anc-adresse
                  res="cdata.info_generales.chantier"
                  editable="!ctrl_clos"
                  show-title="false"
                  show-contact="false"
                  force-ville="true"
                  label-key="'cdata.info_generales.chantier'"
                  complement-ville="true"
                ></anc-adresse>
              </div>
            </div>
          </div>
          <div class="col-xs-12">
            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <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"
                  style="margin-left: 0px"
                  data-ng-model="kis_separator"
                >
                  Référence cadastrale de l’habitation assainie
                </div>
              </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>
        </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"> Maîtrise </a>
        </h6>
      </div>

      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <!-- 
                    <div class="row">
                        <div class="distinctPart">
                            <div class="row">
                                <div class="col-xs-4">
                                    <label data-for="cdata.general.maitrise_oeuvre.nom"> Société de maîtrise d'oeuvre </label>
                                </div>
                                <div class="col-xs-8">
                                    <div class="input-group">
                                        <input type="text" class="form-control" ng-model="cdata.general.maitrise_oeuvre.nom" disabled/>
                                        <span class="input-group-btn">
                                            <div class="btn btn-default" title="Chercher une entreprise" ng-click="prePickInstallateur('maitrise_oeuvre')" ng-disabled="ctrl_clos">
                                                <i class="fa fa-search"></i>
                                            </div>
                                            <div class="btn btn-default" ng-click="ouvrirEntrepriseDialog('1')" title="Saisir" ng-disabled="ctrl_clos">
                                                <i class="fa fa-plus"></i>
                                            </div>
                                            <div class="btn btn-default" ng-click="unlinkEntreprise('maitrise_oeuvre')" title="Supprimer" ng-disabled="entrepriseNotSet('maitrise_oeuvre') || ctrl_clos">
                                                <i class="fa fa-close"></i>
                                            </div>
                                            <div class="btn btn-default expandSelfElement cursorHelp"
                                                 title="Ouvrir/fermer les informations"
                                                 ng-disabled="entrepriseNotSet('maitrise_oeuvre')"
                                                 ng-click="toggleDisplayEntreprise('maitrise_oeuvre')">
                                                <i class="fa" ng-class="{'fa-expand':display.maitrise_oeuvre=='full','fa-compress':display.maitrise_oeuvre=='reduced'}"></i>
                                            </div>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div> -->
          <div class="distinctPart">
            <div class="row">
              <div class="col-xs-4">
                <label> Maitre d'ouvrage </label>
              </div>
              <div class="col-xs-8">
                <anc-bac-demandeur-picker
                  cdata="cdata"
                  apptype="'bac'"
                  type="'maitre_ouvrage'"
                ></anc-bac-demandeur-picker>
              </div>
            </div>
            <div class="{{display.maitre_ouvrage}}">
              <div class="row spbrow">
                <div class="col-xs-2">
                  <label
                    data-for="cdata.info_generales.maitre_ouvrage.civilite"
                    ng-class="{'ctrlFormRequired':formClient}"
                  >
                    Civilité
                  </label>
                  <anc-civilite
                    editable="!ctrl_clos"
                    res="cdata.info_generales.maitre_ouvrage.civilite"
                  ></anc-civilite>
                </div>
                <div class="col-xs-5">
                  <label data-for="cdata.info_generales.maitre_ouvrage.nom">
                    Nom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_ouvrage.nom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-5">
                  <label data-for="cdata.info_generales.maitre_ouvrage.prenom">
                    Prénom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_ouvrage.prenom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-4">
                  <label data-for="cdata.info_generales.maitre_ouvrage.siret">
                    Siret
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_ouvrage.siret"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.maitre_ouvrage.raison_sociale"
                  >
                    Raison sociale
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_ouvrage.raison_sociale"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.maitre_ouvrage.type_demandeur"
                  >
                    Type
                  </label>
                  <div
                    form-field
                    fti="kis_bac_listes_deroulantes_controles"
                    attname="'type_demandeur'"
                    data-ng-model="cdata.info_generales.maitre_ouvrage.type_demandeur"
                    res="cdata.info_generales.maitre_ouvrage"
                    field-data="{disabled:ctrl_clos}"
                  ></div>
                </div>
              </div>
              <anc-adresse
                res="cdata.info_generales.maitre_ouvrage"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="true"
                label-key="'cdata.info_generales.maitre_ouvrage'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>
          <div class="distinctPart">
            <div class="row">
              <div class="col-xs-4">
                <label> Maitre d'oeuvre </label>
              </div>
              <div class="col-xs-8">
                <anc-bac-demandeur-picker
                  cdata="cdata"
                  apptype="'bac'"
                  type="'maitre_oeuvre'"
                ></anc-bac-demandeur-picker>
              </div>
            </div>
            <div class="{{display.maitre_oeuvre}}">
              <div class="row spbrow">
                <div class="col-xs-2">
                  <label
                    data-for="cdata.info_generales.maitre_oeuvre.civilite"
                    ng-class="{'ctrlFormRequired':formClient}"
                  >
                    Civilité
                  </label>
                  <anc-civilite
                    editable="!ctrl_clos"
                    res="cdata.info_generales.maitre_oeuvre.civilite"
                  ></anc-civilite>
                </div>
                <div class="col-xs-5">
                  <label data-for="cdata.info_generales.maitre_oeuvre.nom">
                    Nom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_oeuvre.nom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-5">
                  <label data-for="cdata.info_generales.maitre_oeuvre.prenom">
                    Prénom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_oeuvre.prenom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-4">
                  <label data-for="cdata.info_generales.maitre_oeuvre.siret">
                    Siret
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_oeuvre.siret"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.maitre_oeuvre.raison_sociale"
                  >
                    Raison sociale
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.maitre_oeuvre.raison_sociale"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.maitre_oeuvre.type_demandeur"
                  >
                    Type
                  </label>
                  <div
                    form-field
                    fti="kis_bac_listes_deroulantes_controles"
                    attname="'type_demandeur'"
                    data-ng-model="cdata.info_generales.maitre_oeuvre.type_demandeur"
                    res="cdata.info_generales.maitre_oeuvre"
                    field-data="{disabled:ctrl_clos}"
                  ></div>
                </div>
              </div>
              <anc-adresse
                res="cdata.info_generales.maitre_oeuvre"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="true"
                label-key="'cdata.info_generales.maitre_oeuvre'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>
          <div class="distinctPart">
            <div class="row">
              <div class="col-xs-4">
                <label> Responsable rabattement nappe </label>
              </div>
              <div class="col-xs-8">
                <anc-bac-demandeur-picker
                  cdata="cdata"
                  apptype="'bac'"
                  type="'rabattement_nappe'"
                ></anc-bac-demandeur-picker>
              </div>
            </div>
            <div class="{{display.rabattement_nappe}}">
              <div class="row spbrow">
                <div class="col-xs-2">
                  <label
                    data-for="cdata.info_generales.rabattement_nappe.civilite"
                    ng-class="{'ctrlFormRequired':formClient}"
                  >
                    Civilité
                  </label>
                  <anc-civilite
                    editable="!ctrl_clos"
                    res="cdata.info_generales.rabattement_nappe.civilite"
                  ></anc-civilite>
                </div>
                <div class="col-xs-5">
                  <label data-for="cdata.info_generales.rabattement_nappe.nom">
                    Nom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.rabattement_nappe.nom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-5">
                  <label
                    data-for="cdata.info_generales.rabattement_nappe.prenom"
                  >
                    Prénom
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.rabattement_nappe.prenom"
                    ng-disabled="ctrl_clos"
                  />
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.rabattement_nappe.siret"
                  >
                    Siret
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.rabattement_nappe.siret"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.rabattement_nappe.raison_sociale"
                  >
                    Raison sociale
                  </label>
                  <input
                    type="text"
                    class="form-control"
                    ng-model="cdata.info_generales.rabattement_nappe.raison_sociale"
                    ng-disabled="ctrl_clos"
                  />
                </div>
                <div class="col-xs-4">
                  <label
                    data-for="cdata.info_generales.rabattement_nappe.type_demandeur"
                  >
                    Type
                  </label>
                  <div
                    form-field
                    fti="kis_bac_listes_deroulantes_controles"
                    attname="'type_demandeur'"
                    data-ng-model="cdata.info_generales.rabattement_nappe.type_demandeur"
                    res="cdata.info_generales.rabattement_nappe"
                    field-data="{disabled:ctrl_clos}"
                  ></div>
                </div>
              </div>
              <anc-adresse
                res="cdata.info_generales.rabattement_nappe"
                editable="!ctrl_clos"
                show-title="true"
                show-contact="true"
                label-key="'cdata.info_generales.rabattement_nappe'"
                complement-ville="true"
              ></anc-adresse>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
