<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">
            Caractéristiques de l'établissement
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <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="fillEtablissementActiviteData()"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations du dossier
              </div>
              <div
                class="form-intermediate-title"
                data-ng-model="kis_separator"
              >
                Activité principale
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-4">
              <label data-for="cdata.activite_principale.code_ape_naf">
                Code APE/NAF
              </label>
              <div
                form-field
                fti="activitePrincipaleEtablissementFti"
                attname="'code_ape_naf'"
                res="cdata.activite_principale"
                data-ng-model="cdata.activite_principale.code_ape_naf"
              ></div>
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.activite_principale.nature_activite">
                Nature de l’activité principale
              </label>
              <div
                form-field
                fti="activitePrincipaleEtablissementFti"
                attname="'nature_activite'"
                res="cdata.activite_principale"
                fieldModel="cdata.activite_principale"
                fieldAttribute="nature_activite"
              ></div>
            </div>
            <div class="col-xs-4">
              <label data-for="cdata.activite_principale.branche_activite">
                Branche d’activité principale
              </label>
              <div
                form-field
                fti="activitePrincipaleEtablissementFti"
                attname="'branche_activite'"
                res="cdata.activite_principale"
                data-ng-model="cdata.activite_principale.branche_activite"
              ></div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <label data-for="cdata.activite_principale.commentaires">
                Commentaires
              </label>
              <div
                form-field
                fti="activitePrincipaleEtablissementFti"
                field-data="{inputcfg:'textarea'}"
                attname="'commentaires'"
                res="cdata.activite_principale"
                data-ng-model="cdata.activite_principale.commentaires"
              ></div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12 removeColMargin" ng-if="!formClient">
              <div
                class="form-intermediate-title"
                data-ng-model="kis_separator"
              >
                Activité(s) secondaire(s)
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped table-signet"
                data-signet-name="activite_secondaire"
                ng-init="initTable('activite_secondaire')"
              >
                <thead>
                  <tr>
                    <th style="width: 70.875%" class="text-center">Nature</th>
                    <th style="width: 23.625%" class="text-center">Bâtiment</th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody
                  ng-repeat="line_activite_secondaire in cdata.activite_secondaire track by $index"
                >
                  <tr>
                    <td class="text-center">
                      <div
                        data-no-signet
                        form-field
                        fti="kis_bac_listes_deroulantes_controles"
                        attname="'nature_activite'"
                        data-ng-model="line_activite_secondaire.nature_activite"
                        res="line_activite_secondaire"
                        hideSelectedValue="line_activite_secondaire.nature_activite"
                        field-data=" {disabled:ctrl_clos}"
                      ></div>
                    </td>
                    <td class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        data-no-signet
                        ng-model="line_activite_secondaire.batiment_activite"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="2">
                      <textarea
                        anc-check-commentaire
                        ctrl-cloture="ctrl_clos"
                        data-no-signet
                        title="Commentaire des activites Secondaires"
                        placeholder="Commentaire"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 50px"
                        ng-model="line_activite_secondaire.commentaires"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12 removeColMargin" ng-if="!formClient">
              <div
                class="form-intermediate-title"
                data-ng-model="kis_separator"
              >
                Détails du classement ICPE
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped table-signet"
                data-signet-name="details_icpe"
                ng-init="initTable('details_icpe')"
              >
                <thead>
                  <tr>
                    <th style="width: 18.9%" class="text-center">Numéro</th>
                    <th style="width: 18.9%" class="text-center">Intitulé</th>
                    <th style="width: 18.9%" class="text-center">Seuil</th>
                    <th style="width: 18.9%" class="text-center">Régime</th>
                    <th style="width: 18.9%" class="text-center">Document</th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody
                  ng-repeat="line_details_icpe in cdata.details_icpe track by $index"
                >
                  <tr>
                    <td class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        data-no-signet
                        ng-model="line_details_icpe.numero_icpe"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        data-no-signet
                        ng-model="line_details_icpe.intitule_icpe"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        data-no-signet
                        ng-model="line_details_icpe.seuil_icpe"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td class="text-center">
                      <div
                        data-no-signet
                        form-field
                        fti="kis_bac_listes_deroulantes_controles"
                        attname="'regime_icpe'"
                        data-ng-model="line_details_icpe.regime_icpe"
                        res="line_details_icpe"
                        hideSelectedValue="line_details_icpe.regime_icpe"
                        field-data=" {disabled:ctrl_clos}"
                      ></div>
                    </td>
                    <td class="text-center">
                      <input
                        data-no-signet
                        type="text"
                        class="form-control"
                        ng-model="line_details_icpe.document_icpe"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="5">
                      <textarea
                        anc-check-commentaire
                        ctrl-cloture="ctrl_clos"
                        data-no-signet
                        title="Commentaire des détails du classement ICPE"
                        placeholder="Commentaire"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 50px"
                        ng-model="line_details_icpe.commentaires"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>
            </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">
            Produits utilisés
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('tableau_produit')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-4">
                <label
                  data-for="cdata.info_generales.stockage_produits_dangereux"
                >
                  Stockage de produit(s) dangereux ?
                </label>
              </div>
              <div class="col-xs-4">
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_produits_dangereux"
                    value="1"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_produits_dangereux"
                  >
                    Oui
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_produits_dangereux"
                    value="0"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_produits_dangereux"
                  >
                    Non
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_produits_dangereux"
                    value="2"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_produits_dangereux"
                  >
                    ?
                  </span>
                </span>
              </div>
            </div>
            <div
              class="row spbrow"
              ng-show="cdata.info_generales.stockage_produits_dangereux === '1'"
            >
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="tableau_produit"
                  ng-init="initTable('tableau_produit')"
                >
                  <thead>
                    <tr>
                      <th style="width: 23.625%" class="text-center">
                        Référence
                      </th>
                      <th style="width: 23.625%" class="text-center">
                        Fiche produit / sécurité transmise
                      </th>
                      <th style="width: 23.625%" class="text-center">
                        Toxicité environnement
                      </th>
                      <th style="width: 23.625%" class="text-center">
                        Risque(s) de rejet au système d'assainissement collectif
                      </th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line in cdata.tableau_produit track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.reference"
                          placeholder="Nom du produit"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td
                        title="Fiche produit / Sécurité transmise"
                        class="text-center"
                      >
                        <div>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.securite_transmise"
                              value="1"
                              name="{{'securite_transmise_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Oui</span>
                          </label>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.securite_transmise"
                              value="0"
                              name="{{'securite_transmise_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Non</span>
                          </label>
                        </div>
                      </td>
                      <td
                        title="Toxicité environnement"
                        class="text-center"
                      >
                        <div>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.fiche_produit"
                              value="1"
                              name="{{'fiche_produit_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Oui</span>
                          </label>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.fiche_produit"
                              value="0"
                              name="{{'fiche_produit_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Non</span>
                          </label>
                        </div>
                      </td>
                      <td
                        title="Risque rejet système d'assainissement collectif"
                        class="text-center"
                      >
                        <div>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.toxicite"
                              value="1"
                              name="{{'toxicite_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Oui</span>
                          </label>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.toxicite"
                              value="0"
                              name="{{'toxicite_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Non</span>
                          </label>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td align="center" colspan="4">
                        <textarea
                          anc-check-commentaire
                          ctrl-cloture="ctrl_clos"
                          title="commentaire"
                          placeholder="Commentaire"
                          controlecommentconfig="controleCommentConfig"
                          class="form-control"
                          style="height: 50px"
                          ng-model="line.commentaire"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        >
                        </textarea>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <span
                  data-for="cdata.info_generales.tableau_produit_commentaires"
                >
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.info_generales.tableau_produit_commentaires"
                  ng-disabled="ctrl_clos"
                >
                </textarea>
              </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">
            Déchets produits
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('dechets_produit')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-4">
                <label
                  data-for="cdata.info_generales.stockage_dechetsdangereux"
                >
                  L'établissement stoque-il des déchets dangereux ?
                </label>
              </div>
              <div class="col-xs-4">
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_dechetsdangereux"
                    value="1"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_dechetsdangereux"
                  >
                    Oui
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_dechetsdangereux"
                    value="0"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_dechetsdangereux"
                  >
                    Non
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.stockage_dechetsdangereux"
                    value="2"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.stockage_dechetsdangereux"
                  >
                    ?
                  </span>
                </span>
              </div>
            </div>
            <div
              class="row spbrow"
              ng-show="cdata.info_generales.stockage_dechetsdangereux == '1'"
            >
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="dechets_produit"
                  ng-init="initTable('dechets_produit')"
                >
                  <thead>
                    <tr>
                      <th style="width: 14.175%" class="text-center">
                        Type de déchets
                      </th>
                      <th style="width: 14.175%" class="text-center">
                        Origine(s)
                      </th>
                      <th style="width: 14.175%" class="text-center">
                        Quantité produite
                      </th>
                      <th style="width: 14.175%" class="text-center">
                        Stockage
                      </th>
                      <th style="width: 14.175%" class="text-center">
                        Destination finale
                      </th>
                      <th style="width: 23.625%" class="text-center">
                        Risque(s) de rejet au système d'assainissement collectif
                      </th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line in cdata.dechets_produit track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.type_dechet"
                          placeholder="Type de déchets"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.origine_dechet"
                          placeholder="Origine(s)"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.quantite_dechet"
                          placeholder="Quantité produite"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'stockage_dechet'"
                          data-ng-model="line.stockage_dechet"
                          res="line"
                          hideSelectedValue="line.stockage_dechet"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'destination_dechet'"
                          data-ng-model="line.destination_dechet"
                          res="line"
                          hideSelectedValue="line.destination_dechet"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.risque_dechet"
                              value="1"
                              name="{{'risque_dechet_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Oui</span>
                          </label>
                          <label class="radio-inline">
                            <input
                              type="radio"
                              uncheckable-radio
                              ng-model="line.risque_dechet"
                              value="0"
                              name="{{'risque_dechet_'+$index}}"
                              ng-disabled="ctrl_clos"
                              data-no-signet
                            />
                            <span>Non</span>
                          </label>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td align="center" colspan="6">
                        <textarea
                          anc-check-commentaire
                          ctrl-cloture="ctrl_clos"
                          title="Commentaire déchets"
                          placeholder="Commentaire"
                          controlecommentconfig="controleCommentConfig"
                          class="form-control"
                          style="height: 50px"
                          ng-model="line.commentaire"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        >
                        </textarea>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <span
                  data-for="cdata.info_generales.dechets_produit_commentaires"
                >
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.info_generales.dechets_produit_commentaires"
                  ng-disabled="ctrl_clos"
                >
                </textarea>
              </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">
            Situation des rejets
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <div
                  class="form-intermediate-title"
                  data-ng-model="kis_separator"
                >
                  Raccordement
                </div>
              </div>
            </div>
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('raccordement')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-6">
                <label
                  data-for="cdata.raccordement.raccordement_reseau_collectif"
                >
                  L'établissement desservi par un réseau collectif ?
                </label>
              </div>
              <div class="col-xs-4">
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_reseau_collectif"
                    value="1"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_reseau_collectif"
                  >
                    Oui
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_reseau_collectif"
                    value="0"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_reseau_collectif"
                  >
                    Non
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_reseau_collectif"
                    value="2"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_reseau_collectif"
                  >
                    ?
                  </span>
                </span>
              </div>
            </div>
            <div
              ng-show="cdata.raccordement.raccordement_reseau_collectif=='1'"
            >
              <div class="row spbrow">
                <div class="col-xs-6">
                  <label data-for="cdata.raccordement.raccordement_reseau_type">
                    Type de réseau ?
                  </label>
                </div>
                <div class="col-xs-4">
                  <label class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      name="raccordement_reseau_type"
                      ng-model="cdata.raccordement.raccordement_reseau_type"
                      value="0"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_reseau_type"
                    >
                      Eaux usées</span
                    >
                  </label>
                  <label class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      name="raccordement_reseau_type"
                      ng-model="cdata.raccordement.raccordement_reseau_type"
                      value="1"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_reseau_type"
                    >
                      Eaux pluviales</span
                    >
                  </label>
                  <label class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      name="raccordement_reseau_type"
                      ng-model="cdata.raccordement.raccordement_reseau_type"
                      value="2"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_reseau_type"
                      >Unitaire</span
                    >
                  </label>
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-6">
                  <label data-for="cdata.raccordement.raccordement_date">
                    Date de raccordement
                  </label>
                </div>
                <div class="col-xs-4">
                  <div
                    javautildate
                    gcatt="{name:'raccordement_date'}"
                    ng-init="cdata.raccordement.raccordement_date 
                      = cdata.raccordement.raccordement_date 
                      ? cdata.raccordement.raccordement_date : {}"
                    result="cdata.raccordement"
                    class="input-group ng-isolate-scope"
                    data-type="date"
                    field-data="{disabled:ctrl_clos}"
                    data-ng-model="cdata.raccordement.raccordement_date"
                  ></div>
                </div>
              </div>

              <div class="row spbrow">
                <div class="col-xs-6">
                  <label data-for="cdata.raccordement.raccordement_ctrl_date">
                    Date du contrôle de raccordement
                  </label>
                </div>
                <div class="col-xs-4">
                  <div
                    javautildate
                    gcatt="{name:'raccordement_ctrl_date'}"
                    ng-init="cdata.raccordement.raccordement_ctrl_date 
                      = cdata.raccordement.raccordement_ctrl_date 
                      ? cdata.raccordement.raccordement_ctrl_date : {}"
                    result="cdata.raccordement"
                    class="input-group ng-isolate-scope"
                    data-type="date"
                    field-data="{disabled:ctrl_clos}"
                    data-ng-model="cdata.raccordement.raccordement_ctrl_date"
                  ></div>
                </div>
              </div>

              <div class="row spbrow">
                <div class="col-xs-12">
                  <span data-for="cdata.raccordement.raccordement_commentaire">
                    Commentaires :
                  </span>
                  <textarea
                    anc-check-commentaire
                    ctrl-cloture="ctrl_clos"
                    controlecommentconfig="controleCommentConfig"
                    class="form-control"
                    style="height: 100px"
                    ng-model="cdata.raccordement.raccordement_commentaire"
                    ng-disabled="ctrl_clos"
                  >
                  </textarea>
                </div>
              </div>
            </div>
            <div
              ng-show="cdata.raccordement.raccordement_reseau_collectif=='0'"
            >
              <div class="row spbrow">
                <div class="col-xs-6">
                  <label
                    data-for="cdata.raccordement.raccordement_non_collectif"
                  >
                    Contrôle de l'installation d’assainissement non collectif
                    réalisé ?
                  </label>
                </div>
                <div class="col-xs-4">
                  <span class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      ng-model="cdata.raccordement.raccordement_non_collectif"
                      value="1"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_non_collectif"
                    >
                      Oui
                    </span>
                  </span>
                  <span class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      ng-model="cdata.raccordement.raccordement_non_collectif"
                      value="0"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_non_collectif"
                    >
                      Non
                    </span>
                  </span>
                  <span class="radio-inline">
                    <input
                      type="radio"
                      uncheckable-radio
                      ng-model="cdata.raccordement.raccordement_non_collectif"
                      value="2"
                      ng-disabled="ctrl_clos"
                    />
                    <span
                      data-forvalue="cdata.raccordement.raccordement_non_collectif"
                    >
                      ?
                    </span>
                  </span>
                </div>
              </div>

              <div class="row spbrow">
                <div class="col-xs-6">
                  <label
                    data-for="cdata.raccordement.raccordement_non_collectif_ctrl_date"
                  >
                    Date du contrôle
                  </label>
                </div>
                <div class="col-xs-4">
                  <div
                    javautildate
                    gcatt="{name:'raccordement_non_collectif_ctrl_date'}"
                    ng-init="cdata.raccordement.raccordement_non_collectif_ctrl_date 
                      = cdata.raccordement.raccordement_non_collectif_ctrl_date 
                      ? cdata.raccordement.raccordement_non_collectif_ctrl_date : {}"
                    result="cdata.raccordement"
                    class="input-group ng-isolate-scope"
                    data-type="date"
                    field-data="{disabled:ctrl_clos}"
                    data-ng-model=" cdata.raccordement.raccordement_non_collectif_ctrl_date"
                  ></div>
                </div>
              </div>
              <div class="row spbrow">
                <div class="col-xs-6">
                  <label
                    data-for="cdata.raccordement.raccordement_non_collectif_avis"
                  >
                    Avis du contrôle
                  </label>
                </div>
                <div class="col-xs-4">
                  <div
                    form-field
                    fti="kis_bac_listes_deroulantes_controles"
                    attname="'raccordement_non_collectif_avis'"
                    data-ng-model="cdata.raccordement.raccordement_non_collectif_avis"
                    res="cdata.raccordement"
                    field-data=" {disabled:ctrl_clos}"
                  ></div>
                </div>
              </div>

              <div class="row spbrow">
                <div class="col-xs-12">
                  <span
                    data-for="cdata.raccordement.raccordement_non_collectif_commentaire"
                  >
                    Commentaires :
                  </span>
                  <textarea
                    anc-check-commentaire
                    ctrl-cloture="ctrl_clos"
                    controlecommentconfig="controleCommentConfig"
                    class="form-control"
                    style="height: 100px"
                    ng-model="cdata.raccordement.raccordement_non_collectif_commentaire"
                    ng-disabled="ctrl_clos"
                  >
                  </textarea>
                </div>
              </div>
            </div>

            <div class="row spbrow">
              <div class="col-xs-6">
                <label data-for="cdata.raccordement.raccordement_noue_publique">
                  L'établissement desservi par une noue publique pour le rejet
                  des eaux pluviales de toitures ?
                </label>
              </div>
              <div class="col-xs-4">
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_noue_publique"
                    value="1"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_noue_publique"
                  >
                    Oui
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_noue_publique"
                    value="0"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_noue_publique"
                  >
                    Non
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.raccordement.raccordement_noue_publique"
                    value="2"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.raccordement.raccordement_noue_publique"
                  >
                    ?
                  </span>
                </span>
              </div>
            </div>

            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <div
                  class="form-intermediate-title"
                  data-ng-model="kis_separator"
                >
                  Point(s) de rejet(s)
                </div>
              </div>
            </div>
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('points_rejet')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-6">
                <label
                  data-for="cdata.info_generales.rejet_nondomestique_specifique"
                >
                  Point(s) de rejet(s) non domestique(s) spécifique(s) ?
                </label>
              </div>
              <div class="col-xs-4">
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.rejet_nondomestique_specifique"
                    value="1"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.rejet_nondomestique_specifique"
                  >
                    Oui
                  </span>
                </span>
                <span class="radio-inline">
                  <input
                    type="radio"
                    uncheckable-radio
                    ng-model="cdata.info_generales.rejet_nondomestique_specifique"
                    value="0"
                    ng-disabled="ctrl_clos"
                  />
                  <span
                    data-forvalue="cdata.info_generales.rejet_nondomestique_specifique"
                  >
                    Non (Mélange avec les eaux usées domestiques)
                  </span>
                </span>
              </div>
            </div>
            <div
              class="row spbrow"
              ng-show="cdata.info_generales.rejet_nondomestique_specifique == '1'"
            >
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="points_rejet"
                  ng-init="initTable('points_rejet')"
                >
                  <thead>
                    <tr>
                      <th style="width: 18.9%" class="text-center">
                        Branchement(s) (type)
                      </th>
                      <th style="width: 18.9%" class="text-center">
                        Branchement(s) (adresse)
                      </th>
                      <th style="width: 18.9%" class="text-center">
                        Localisation du regard de branchement
                      </th>
                      <th style="width: 18.9%" class="text-center">
                        Niveau des points d'évacuation
                      </th>
                      <th style="width: 18.9%" class="text-center">
                        Présence d’un clapet anti-retour
                      </th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line_rejet in cdata.points_rejet track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'rejet_branchement_type'"
                          data-ng-model="line_rejet.rejet_branchement_type"
                          res="line_rejet"
                          hideSelectedValue="line_rejet.rejet_branchement_type"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line_rejet.rejet_branchement_adresse"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'localisation_regard_branchement'"
                          data-ng-model="line_rejet.localisation_regard_branchement"
                          res="line_rejet"
                          hideSelectedValue="line_rejet.rejet_branchement_localisation"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'rejet_niveau_evacuation'"
                          data-ng-model="line_rejet.rejet_niveau_evacuation"
                          res="line_rejet"
                          hideSelectedValue="line_rejet.rejet_niveau_evacuation"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'rejet_clapet'"
                          data-ng-model="line_rejet.rejet_clapet"
                          res="line_rejet"
                          hideSelectedValue="line_rejet.rejet_clapet"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                    </tr>
                    <tr>
                      <td align="center" colspan="5">
                        <textarea
                          anc-check-commentaire
                          ctrl-cloture="ctrl_clos"
                          title="Commentaire rejets"
                          placeholder="Commentaire"
                          controlecommentconfig="controleCommentConfig"
                          class="form-control"
                          style="height: 50px"
                          ng-model="line_rejet.commentaire"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        >
                        </textarea>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <span data-for="cdata.info_generales.points_rejet_commentaire">
                  Commentaires
                </span>
                <textarea
                  text-auto-size
                  class="form-control bloc_commentaire"
                  anc-check-commentaire
                  ctrl-cloture="ctrlClos"
                  controlecommentconfig="controleCommentConfig"
                  style="height: 100px"
                  ng-model="cdata.info_generales.points_rejet_commentaire"
                  ng-disabled="ctrlClos"
                ></textarea>
              </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">
            Nature des effluents non domestiques rejetés
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('nature_effluent')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-6">
                <div class="row spbrow">
                  <div class="col-xs-12">
                    Débit d'eaux usées rejetées
                    <div
                      data-for="cdata.nature_effluent.debit_rejet_eaux_usees"
                      class="input-group text-left"
                    >
                      <input
                        type="number"
                        class="form-control ng-pristine ng-valid"
                        ng-model="cdata.nature_effluent.debit_rejet_eaux_usees"
                        ng-disabled="ctrl_clos"
                        disabled="disabled"
                      />
                      <span class="input-group-addon">
                        m&sup3;/j - m&sup3;/an
                      </span>
                    </div>
                  </div>
                </div>
                <div class="row spbrow">
                  <div class="col-xs-8">
                    <span
                      data-for="cdata.nature_effluent.etude_diagnostic_realisee"
                    >
                      Etude diagnostic réalisée
                    </span>
                  </div>
                  <div class="col-xs-4 text-right">
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.etude_diagnostic_realisee"
                      value="1" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.etude_diagnostic_realisee"
                      >
                        Oui
                      </span>
                    </span>
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.etude_diagnostic_realisee"
                      value="0" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.etude_diagnostic_realisee"
                      >
                        Non
                      </span>
                    </span>
                  </div>
                </div>
                <div class="row spbrow">
                  <div class="col-xs-8">
                    <span
                      data-for="cdata.nature_effluent.campagne_mesure_realisee"
                    >
                      Campagne de mesure initiale réalisée
                    </span>
                  </div>
                  <div class="col-xs-4 text-right">
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.campagne_mesure_realisee"
                      value="1" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.campagne_mesure_realisee"
                      >
                        Oui
                      </span>
                    </span>
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.campagne_mesure_realisee"
                      value="0" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.campagne_mesure_realisee"
                      >
                        Non
                      </span>
                    </span>
                  </div>
                </div>
                <div class="row spbrow">
                  <div class="col-xs-8">
                    <span
                      data-for="cdata.nature_effluent.campagne_mesure_necessaire"
                    >
                      Campagne de mesure initiale nécessaire
                    </span>
                  </div>
                  <div class="col-xs-4 text-right">
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.campagne_mesure_necessaire"
                      value="1" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.campagne_mesure_necessaire"
                      >
                        Oui
                      </span>
                    </span>
                    <span class="radio-inline">
                      <input type="radio" uncheckable-radio reglementation_icpe"
                      ng-model="cdata.nature_effluent.campagne_mesure_necessaire"
                      value="0" ng-disabled="ctrl_clos">
                      <span
                        data-forvalue="cdata.nature_effluent.campagne_mesure_necessaire"
                      >
                        Non
                      </span>
                    </span>
                  </div>
                </div>
                <div class="row">
                  <div class="col-xs-12">
                    <span data-for="cdata.nature_effluent.observations">
                      Observations :
                    </span>
                    <textarea
                      anc-check-commentaire
                      ctrl-cloture="ctrl_clos"
                      controlecommentconfig="controleCommentConfig"
                      class="form-control"
                      style="height: 100px"
                      ng-model="cdata.nature_effluent.observations"
                      ng-disabled="ctrl_clos"
                    >
                    </textarea>
                  </div>
                </div>
              </div>
              <div class="col-xs-6">
                <div class="distinctPart">
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <label
                        >Caractéristiques des effluents non domestiques produits
                        (avant pretraitement éventuels)</label
                      >
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_grasses">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_grasses"
                        />
                        Eaux grasses
                      </span>
                    </div>
                    <div class="col-xs-6">
                      <span
                        data-for="cdata.nature_effluent.eaux_hydrocarburees"
                      >
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_hydrocarburees"
                        />
                        Eaux hydrocarburées
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_chlorees">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_chlorees"
                        />
                        Eaux chlorées
                      </span>
                    </div>
                    <div class="col-xs-6">
                      <span
                        data-for="cdata.nature_effluent.eaux_matieres_turbides"
                      >
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_matieres_turbides"
                        />
                        Eaux chargées en matières en suspension, turbides
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_salines">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_salines"
                        />
                        Eaux salines (chlorure, conductivité)
                      </span>
                    </div>
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_dbo5">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_dbo5"
                        />
                        Eaux chargées en matières organiques (DBO5)
                      </span>
                    </div>
                  </div>
                  <hr />
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <span data-for="cdata.nature_effluent.rsde">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.rsde"
                        />
                        Présence possible de micropolluants (RSDE)
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <span data-for="cdata.nature_effluent.etm">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.etm"
                        />
                        Elements trace métalliques (ETM - Métaux lourds)
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <span data-for="cdata.nature_effluent.solvants">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.solvants"
                        />
                        Solvants
                      </span>
                    </div>
                  </div>
                  <hr />
                  <div class="row spbrow">
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_acide">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_acide"
                        />
                        pH acide
                      </span>
                    </div>
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.temperature_elevee">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.temperature_elevee"
                        />
                        Température élevée
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.eaux_basique">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.eaux_basique"
                        />
                        pH basique
                      </span>
                    </div>
                    <div class="col-xs-6">
                      <span data-for="cdata.nature_effluent.temperature_basse">
                        <input
                          type="checkbox"
                          ng-disabled="ctrl_clos"
                          ng-value="true"
                          ng-model="cdata.nature_effluent.temperature_basse"
                        />
                        Température basse
                      </span>
                    </div>
                  </div>
                </div>
              </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">
            Contrôle des rejets
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <div
                  class="form-intermediate-title"
                  data-ng-model="kis_separator"
                >
                  Eaux usées
                </div>
              </div>
            </div>
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('eaux_usees')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow"></div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="eaux_usees"
                  ng-init="initTable('eaux_usees')"
                >
                  <thead>
                    <tr>
                      <th style="width: 13.5%" class="text-center">
                        Origine du rejet
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Caractéristiques des effluents
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Type d’ouvrage
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Localisation
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Dimension
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Entretien
                      </th>
                      <th style="width: 13.5%" class="text-center">Avis</th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line_eaux_usees in cdata.eaux_usees track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_usees_origine_rejet'"
                          data-ng-model="line_eaux_usees.eaux_usees_origine_rejet"
                          res="line_eaux_usees"
                          hideSelectedValue="line_eaux_usees.eaux_usees_origine_rejet"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_usees_caracteristiques_effluents'"
                          data-ng-model="line_eaux_usees.eaux_usees_caracteristiques_effluents"
                          res="line_eaux_usees"
                          hideSelectedValue="line_eaux_usees.eaux_usees_caracteristiques_effluents"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_usees_type_ouvrage'"
                          data-ng-model="line_eaux_usees.eaux_usees_type_ouvrage"
                          res="line_eaux_usees"
                          hideSelectedValue="line_eaux_usees.eaux_usees_type_ouvrage"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line_eaux_usees.eaux_usees_localisation"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line_eaux_usees.eaux_usees_dimensions"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_usees_entretien'"
                          data-ng-model="line_eaux_usees.eaux_usees_entretien"
                          res="line_eaux_usees"
                          hideSelectedValue="line_eaux_usees.eaux_usees_entretien"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_usees_avis'"
                          data-ng-model="line_eaux_usees.eaux_usees_avis"
                          res="line_eaux_usees"
                          hideSelectedValue="line_eaux_usees.eaux_usees_avis"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                    </tr>
                    <tr>
                      <td align="center" colspan="7">
                        <textarea
                          anc-check-commentaire
                          ctrl-cloture="ctrl_clos"
                          title="Commentaire eaux usées"
                          placeholder="Commentaire"
                          controlecommentconfig="controleCommentConfig"
                          class="form-control"
                          style="height: 50px"
                          ng-model="line_eaux_usees.commentaire"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        >
                        </textarea>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <div class="col-xs-12">
                <span data-for="cdata.info_generales.eaux_usees_commentaires">
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.info_generales.eaux_usees_commentaires"
                  ng-disabled="ctrl_clos"
                >
                </textarea>
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12 removeColMargin" ng-if="!formClient">
                <div
                  class="form-intermediate-title"
                  data-ng-model="kis_separator"
                >
                  Eaux pluviales
                </div>
              </div>
            </div>
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('eaux_pluviales')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow"></div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="eaux_pluviales"
                  ng-init="initTable('eaux_pluviales')"
                >
                  <thead>
                    <tr>
                      <th style="width: 13.5%" class="text-center">
                        Origine du rejet
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Caractéristiques des effluents
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Type d’ouvrage
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Localisation
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Dimension
                      </th>
                      <th style="width: 13.5%" class="text-center">
                        Entretien
                      </th>
                      <th style="width: 13.5%" class="text-center">Avis</th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line_eaux_pluviales in cdata.eaux_pluviales track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_pluviales_origine_rejet'"
                          data-ng-model="line_eaux_pluviales.eaux_pluviales_origine_rejet"
                          res="line_eaux_pluviales"
                          hideSelectedValue="line_eaux_pluviales.eaux_pluviales_origine_rejet"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_pluviales_caracteristiques_effluents'"
                          data-ng-model="line_eaux_pluviales.eaux_pluviales_caracteristiques_effluents"
                          res="line_eaux_pluviales"
                          hideSelectedValue="line_eaux_pluviales.eaux_pluviales_caracteristiques_effluents"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_pluviales_type_ouvrage'"
                          data-ng-model="line_eaux_pluviales.eaux_pluviales_type_ouvrage"
                          res="line_eaux_pluviales"
                          hideSelectedValue="line_eaux_pluviales.eaux_pluviales_type_ouvrage"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line_eaux_pluviales.eaux_pluviales_localisation"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line_eaux_pluviales.eaux_pluviales_dimensions"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_pluviales_entretien'"
                          data-ng-model="line_eaux_pluviales.eaux_pluviales_entretien"
                          res="line_eaux_pluviales"
                          hideSelectedValue="line_eaux_pluviales.eaux_pluviales_entretien"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'eaux_pluviales_avis'"
                          data-ng-model="line_eaux_pluviales.eaux_pluviales_avis"
                          res="line_eaux_pluviales"
                          hideSelectedValue="line_eaux_pluviales.eaux_pluviales_avis"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                    </tr>
                    <tr>
                      <td align="center" colspan="7">
                        <textarea
                          anc-check-commentaire
                          ctrl-cloture="ctrl_clos"
                          title="Commentaire eaux pluviales"
                          placeholder="Commentaire"
                          controlecommentconfig="controleCommentConfig"
                          class="form-control"
                          style="height: 50px"
                          ng-model="line_eaux_pluviales.commentaire"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        >
                        </textarea>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <div class="col-xs-12">
                <span
                  data-for="cdata.info_generales.eaux_pluviales_commentaires"
                >
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.info_generales.eaux_pluviales_commentaires"
                  ng-disabled="ctrl_clos"
                >
                </textarea>
              </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">
            Filière de prétraitement
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="panel-body">
            <div class="row spbrow">
              <div
                class="btn btn-xs btn-default pull-right"
                style="margin: 15px 15px 0 0"
                ng-click="fillEtablissementDescriptifData('filiere_pretraitement')"
                ng-if="!ctrl_clos&&!formClient"
              >
                Utiliser les informations de l'instruction CCI
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-6">
                <div class="distinctPart">
                  <div class="row spbrow">
                    <div class="col-xs-8">
                      <span
                        data-for="cdata.filiere_pretraitement.existence_filiere"
                      >
                        Filière de prétraitement existante(s)
                      </span>
                    </div>
                    <div class="col-xs-4 text-right">
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.existence_filiere"
                        value="1" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.existence_filiere"
                        >
                          Oui
                        </span>
                      </span>
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.existence_filiere"
                        value="0" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.existence_filiere"
                        >
                          Non
                        </span>
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <span
                        data-for="cdata.filiere_pretraitement.dimension_description"
                      >
                        Description(s) et dimensionnement(s)
                      </span>
                      <textarea
                        text-auto-size
                        anc-check-commentaire
                        ng-if="controleCommentConfig"
                        ctrl-cloture="ctrl_clos"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 100px"
                        ng-model="cdata.filiere_pretraitement.dimension_description"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-8">
                      <span
                        data-for="cdata.filiere_pretraitement.filiere_sous_produit"
                      >
                        Filière de gestion des sous-produits de prétraitement
                      </span>
                    </div>
                    <div class="col-xs-4 text-right">
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.filiere_sous_produit"
                        value="1" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.filiere_sous_produit"
                        >
                          Oui
                        </span>
                      </span>
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.filiere_sous_produit"
                        value="0" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.filiere_sous_produit"
                        >
                          Non
                        </span>
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-12">
                      <span
                        data-for="cdata.filiere_pretraitement.volume_descriptions"
                      >
                        Description(s), procédure(s), contrat(s), volume pris en
                        charge, traçabilité
                      </span>
                      <textarea
                        text-auto-size
                        anc-check-commentaire
                        ng-if="controleCommentConfig"
                        ctrl-cloture="ctrl_clos"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 100px"
                        ng-model="cdata.filiere_pretraitement.volume_descriptions"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </div>
                  </div>
                </div>
              </div>
              <div class="col-xs-6">
                <div class="distinctPart">
                  <div class="row spbrow">
                    <div class="col-xs-8">
                      <span
                        data-for="cdata.filiere_pretraitement.prise_en_charge_sous_produit"
                      >
                        Archivage bons de prise en charge des sous-produits de
                        prétraitement
                      </span>
                    </div>
                    <div class="col-xs-4 text-right">
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.prise_en_charge_sous_produit"
                        value="1" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.prise_en_charge_sous_produit"
                        >
                          Oui
                        </span>
                      </span>
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.prise_en_charge_sous_produit"
                        value="0" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.prise_en_charge_sous_produit"
                        >
                          Non
                        </span>
                      </span>
                    </div>
                  </div>
                  <div class="row spbrow">
                    <div class="col-xs-8">
                      <span
                        data-for="cdata.filiere_pretraitement.registre_exploitation"
                      >
                        Existence d'un registre d'exploitation dédié au rejet
                        non domestique
                      </span>
                    </div>
                    <div class="col-xs-4 text-right">
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.registre_exploitation"
                        value="1" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.registre_exploitation"
                        >
                          Oui
                        </span>
                      </span>
                      <span class="radio-inline">
                        <input type="radio" uncheckable-radio
                        reglementation_icpe"
                        ng-model="cdata.filiere_pretraitement.registre_exploitation"
                        value="0" ng-disabled="ctrl_clos">
                        <span
                          data-forvalue="cdata.filiere_pretraitement.registre_exploitation"
                        >
                          Non
                        </span>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
