<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"> Coefficient </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <div class="panel-body">
          <div class="row spbrow">
            <div class="col-xs-4">
              <label data-for="cdata.coefficient.rejet">
                Coefficient de rejet ?
              </label>
            </div>
            <div class="col-xs-4">
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.rejet"
                  value="1"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.rejet"> Oui </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.rejet"
                  value="0"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.rejet"> Non </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.rejet"
                  value="2"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.rejet"> ? </span>
              </span>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.rejet == '1'">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped"
                data-ignore="Tableau des Coefficients gérés par une clé unique"
                data-ignore-placement="cdata.coefficient.surfaces"
                ng-init="initTable('tableau_rejet')"
              >
                <thead>
                  <tr>
                    <th style="width: 31.5%" class="text-center">
                      Numéro de branchement AEP
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Méthode de calcul
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Valeur du coefficient
                    </th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody ng-repeat="line in cdata.tableau_rejet track by $index">
                  <tr>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.numero_branchement"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.methode_calcul"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.valeur_coefficient"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td rowspan="2" class="deleteColumn">
                      <button
                        type="button"
                        ng-disabled="ctrl_clos"
                        ng-click="deleteLine($index, 'tableau_rejet')"
                        class="btn btn-danger btn-xs"
                        title="Supprimer la ligne"
                      >
                        <i class="fa fa-times"></i>
                      </button>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="3">
                      <textarea
                        anc-check-commentaire
                        ctrl-cloture="ctrl_clos"
                        title="commentaire"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 50px"
                        ng-model="line.commentaire"
                        ng-disabled="ctrl_clos"
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>

              <div class="row">
                <div
                  class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="resetTab('tableau_rejet')"
                >
                  <i class="fa fa-times"></i> Réinitialiser
                </div>
                <div
                  class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="addLines(1,'tableau_rejet')"
                >
                  <i class="fa fa-plus"></i> Ajouter une ligne
                </div>
              </div>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.rejet == '1'">
            <div class="col-xs-12">
              <span data-for="cdata.coefficient_rejet.commentaires">
                Commentaires généraux :
              </span>
              <textarea
                anc-check-commentaire
                ctrl-cloture="ctrl_clos"
                controlecommentconfig="controleCommentConfig"
                class="form-control"
                style="height: 100px"
                ng-model="cdata.coefficient_rejet.commentaires"
                ng-disabled="ctrl_clos"
              >
              </textarea>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-4">
              <label data-for="cdata.coefficient.pollution">
                Coefficient de pollution ?
              </label>
            </div>
            <div class="col-xs-4">
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.pollution"
                  value="1"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.pollution"> Oui </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.pollution"
                  value="0"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.pollution"> Non </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.pollution"
                  value="2"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.pollution"> ? </span>
              </span>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.pollution == '1'">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped"
                data-ignore="Tableau des Coefficients gérés par une clé unique"
                data-ignore-placement="cdata.Coefficient.surfaces"
                ng-init="initTable('tableau_pollution')"
              >
                <thead>
                  <tr>
                    <th style="width: 31.5%" class="text-center">
                      Numéro de branchement AEP
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Méthode de calcul
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Valeur du coefficient
                    </th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody
                  ng-repeat="line in cdata.tableau_pollution track by $index"
                >
                  <tr>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.numero_branchement"
                        placeholder="Numéro de branchement AEP"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.methode_calcul"
                        placeholder="Méthode de calcul"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.valeur_coefficient"
                        placeholder="Valeur du coefficient"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td rowspan="2" class="deleteColumn">
                      <button
                        type="button"
                        ng-disabled="ctrl_clos"
                        ng-click="deleteLine($index, 'tableau_pollution')"
                        class="btn btn-danger btn-xs"
                        title="Supprimer la ligne"
                      >
                        <i class="fa fa-times"></i>
                      </button>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="3">
                      <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"
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>
              <div class="row">
                <div
                  class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="resetTab('tableau_pollution')"
                >
                  <i class="fa fa-times"></i> Réinitialiser
                </div>
                <div
                  class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="addLines(1,'tableau_pollution')"
                >
                  <i class="fa fa-plus"></i> Ajouter une ligne
                </div>
              </div>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.pollution == '1'">
            <div class="col-xs-12">
              <span data-for="cdata.coefficient_pollution.commentaires">
                Commentaires généraux :
              </span>
              <textarea
                anc-check-commentaire
                ctrl-cloture="ctrl_clos"
                controlecommentconfig="controleCommentConfig"
                class="form-control"
                style="height: 100px"
                ng-model="cdata.coefficient_pollution.commentaires"
                ng-disabled="ctrl_clos"
              >
              </textarea>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-4">
              <label data-for="cdata.coefficient.majoration">
                Coefficient de majoration ?
              </label>
            </div>
            <div class="col-xs-4">
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.majoration"
                  value="1"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.majoration"> Oui </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.majoration"
                  value="0"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.majoration"> Non </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.coefficient.majoration"
                  value="2"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.coefficient.majoration"> ? </span>
              </span>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.majoration == '1'">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped"
                data-ignore="Tableau des Coefficients gérés par une clé unique"
                data-ignore-placement="cdata.coefficient.surfaces"
                ng-init="initTable('tableau_majoration')"
              >
                <thead>
                  <tr>
                    <th style="width: 31.5%" class="text-center">
                      Numéro de branchement AEP
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Méthode de calcul
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Valeur du coefficient
                    </th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody
                  ng-repeat="line in cdata.tableau_majoration track by $index"
                >
                  <tr>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.numero_branchement"
                        placeholder="Numéro de branchement AEP"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.methode_calcul"
                        placeholder="Méthode de calcul"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td data-ng-model="kis_separator" class="text-center">
                      <input
                        type="text"
                        class="form-control"
                        ng-model="line.valeur_coefficient"
                        placeholder="Valeur du coefficient"
                        ng-disabled="ctrl_clos"
                      />
                    </td>
                    <td rowspan="2" class="deleteColumn">
                      <button
                        type="button"
                        ng-disabled="ctrl_clos"
                        ng-click="deleteLine($index, 'tableau_majoration')"
                        class="btn btn-danger btn-xs"
                        title="Supprimer la ligne"
                      >
                        <i class="fa fa-times"></i>
                      </button>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="3">
                      <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"
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>
              <div class="row">
                <div
                  class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="resetTab('tableau_majoration')"
                >
                  <i class="fa fa-times"></i> Réinitialiser
                </div>
                <div
                  class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="addLines(1,'tableau_majoration')"
                >
                  <i class="fa fa-plus"></i> Ajouter une ligne
                </div>
              </div>
            </div>
          </div>
          <div class="row spbrow" ng-show="cdata.coefficient.majoration == '1'">
            <div class="col-xs-12">
              <span data-for="cdata.coefficient_majoration.commentaires">
                Commentaires généraux :
              </span>
              <textarea
                anc-check-commentaire
                ctrl-cloture="ctrl_clos"
                controlecommentconfig="controleCommentConfig"
                class="form-control"
                style="height: 100px"
                ng-model="cdata.coefficient_majoration.commentaires"
                ng-disabled="ctrl_clos"
              >
              </textarea>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="panel panel-info">
      <div class="panel-heading">
        <h6 class="panel-title">
          <a bs-collapse-toggle data-ng-model="kis_separator">
            Autosurveillance
          </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="form-intermediate-title"
                data-ng-model="kis_separator"
              >
                Analyse Eaux usées
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-4">
              <span data-for="cdata.autosurveillance.analyse_eaux_uses">
                Analyse Eaux usées ?
              </span>
            </div>
            <div class="col-xs-4">
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_uses"
                  value="1"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.autosurveillance.analyse_eaux_uses">
                  Oui
                </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_uses"
                  value="0"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.autosurveillance.analyse_eaux_uses">
                  Non
                </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_uses"
                  value="2"
                  ng-disabled="ctrl_clos"
                />
                <span data-forvalue="cdata.autosurveillance.analyse_eaux_uses">
                  ?
                </span>
              </span>
            </div>
            <div
              class="col-xs-4"
              ng-show="cdata.autosurveillance.analyse_eaux_uses=='1'"
            >
              <div
                style="width: 492px"
                class="btn btn-success btn-xs col-xs-4 btn-to-intermediate-title"
                ng-click="ajoutPointRejet('tableaux_parametres_eaux_uses')"
              >
                <i class="fa fa-times"></i> Ajout d’un point de rejet
              </div>
            </div>
          </div>
          <div
            ng-show="cdata.autosurveillance.analyse_eaux_uses=='1'"
            ng-repeat="tableau_parametre in cdata.tableaux_parametres_eaux_uses track by $index"
          >
            <div class="row spbrow">
              <div class="col-xs-4">
                <label
                  data-for="cdata.tableaux_parametres_eaux_uses[$index].point_rejet"
                >
                  Point de rejet n°
                </label>
              </div>
              <div class="col-xs-4" data-index="{{$index}}">
                <input
                  type="text"
                  class="form-control"
                  ng-model="cdata.tableaux_parametres_eaux_uses[$index].point_rejet"
                  ng-disabled="ctrl_clos"
                />
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="tableaux_parametres_eaux_uses__{{$index}}"
                >
                  <thead>
                    <tr>
                      <th style="width: 15.75%" class="text-center">
                        Paramètre
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Code SANDRE
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Valeur(s) limite(s)
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Flux limite
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Fréquence d’analyse
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Modalités
                      </th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line in tableau_parametre.parameters track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_parametre_eu'"
                          data-ng-model="line.autosurveillance_parametre_eu"
                          res="line"
                          hideSelectedValue="line.autosurveillance_parametre_eu"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_sandre_eu'"
                          data-ng-model="line.autosurveillance_sandre_eu"
                          res="line"
                          hideSelectedValue="line.autosurveillance_sandre_eu"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_limite_eu'"
                          data-ng-model="line.autosurveillance_limite_eu"
                          res="line"
                          hideSelectedValue="line.autosurveillance_limite_eu"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.flux_limite"
                          placeholder="Flux limite "
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.frequence_analyse"
                          placeholder="Fréquence d’analyse"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.modalites"
                          placeholder="Modalités"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td rowspan="2" class="deleteColumn">
                        <button
                          type="button"
                          ng-disabled="ctrl_clos"
                          ng-click="deleteTableParameterLine($parent.$index, 'tableaux_parametres_eaux_uses',$index)"
                          class="btn btn-danger btn-xs"
                          title="Supprimer la ligne"
                        >
                          <i class="fa fa-times"></i>
                        </button>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <div class="row">
                  <div
                    class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                    ng-click="resetTab('tableaux_parametres_eaux_uses',$index)"
                  >
                    <i class="fa fa-times"></i> Réinitialiser
                  </div>
                  <div
                    class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                    ng-click="addLines(1,'tableaux_parametres_eaux_uses',$index)"
                  >
                    <i class="fa fa-plus"></i> Ajouter une ligne
                  </div>
                  <div
                    class="btn btn-danger btn-xs pull-left col-xs-2 btn-to-intermediate-title"
                    ng-click="deleteLine($index,'tableaux_parametres_eaux_uses')"
                  >
                    <i class="fa fa-plus"></i> Supprimer un point de rejet
                  </div>
                </div>
              </div>
            </div>
            <div class="row spbrow" data-index="{{$index}}">
              <div class="col-xs-12">
                <span
                  data-for="cdata.tableaux_parametres_eaux_uses[$index].eaux_uses_commentaires"
                >
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.tableaux_parametres_eaux_uses[$index].eaux_uses_commentaires"
                  ng-disabled="ctrl_clos"
                >
                </textarea>
              </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"
              >
                Analyse Eaux pluviales
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-4">
              <span data-for="cdata.autosurveillance.analyse_eaux_pluviale">
                Analyse Eaux pluviales ?
              </span>
            </div>
            <div class="col-xs-4">
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_pluviale"
                  value="1"
                  ng-disabled="ctrl_clos"
                />
                <span
                  data-forvalue="cdata.autosurveillance.analyse_eaux_pluviale"
                >
                  Oui
                </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_pluviale"
                  value="0"
                  ng-disabled="ctrl_clos"
                />
                <span
                  data-forvalue="cdata.autosurveillance.analyse_eaux_pluviale"
                >
                  Non
                </span>
              </span>
              <span class="radio-inline">
                <input
                  type="radio"
                  uncheckable-radio
                  ng-model="cdata.autosurveillance.analyse_eaux_pluviale"
                  value="2"
                  ng-disabled="ctrl_clos"
                />
                <span
                  data-forvalue="cdata.autosurveillance.analyse_eaux_pluviale"
                >
                  ?
                </span>
              </span>
            </div>
            <div
              class="col-xs-4"
              ng-show="cdata.autosurveillance.analyse_eaux_pluviale=='1'"
            >
              <div
                style="width: 492px"
                class="btn btn-success btn-xs col-xs-4 btn-to-intermediate-title"
                ng-click="ajoutPointRejet('tableaux_parametres_eaux_pluviale')"
              >
                <i class="fa fa-times"></i> Ajout d’un point de rejet
              </div>
            </div>
          </div>
          <div
            ng-show="cdata.autosurveillance.analyse_eaux_pluviale=='1'"
            ng-repeat="tableau_parametre in cdata.tableaux_parametres_eaux_pluviale track by $index"
          >
            <div class="row spbrow">
              <div class="col-xs-4">
                <label
                  data-for="cdata.tableaux_parametres_eaux_pluviale[$index].point_rejet"
                >
                  Point de rejet n°
                </label>
              </div>
              <div class="col-xs-4" data-index="{{$index}}">
                <input
                  type="text"
                  class="form-control"
                  ng-model="cdata.tableaux_parametres_eaux_pluviale[$index].point_rejet"
                  ng-disabled="ctrl_clos"
                />
              </div>
            </div>
            <div class="row spbrow">
              <div class="col-xs-12">
                <table
                  class="table table-bordered table-striped table-signet"
                  data-signet-name="tableaux_parametres_eaux_pluviale__{{$index}}"
                >
                  <thead>
                    <tr>
                      <th style="width: 15.75%" class="text-center">
                        Paramètre
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Code SANDRE
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Valeur(s) limite(s)
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Flux limite
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Fréquence d’analyse
                      </th>
                      <th style="width: 15.75%" class="text-center">
                        Modalités
                      </th>
                      <th
                        style="width: 5.5%"
                        class="deleteColumn hiddenforextract"
                      ></th>
                    </tr>
                  </thead>
                  <tbody
                    ng-repeat="line in tableau_parametre.parameters track by $index"
                  >
                    <tr>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_parametre_ep'"
                          data-ng-model="line.autosurveillance_parametre_ep"
                          res="line"
                          hideSelectedValue="line.autosurveillance_parametre_ep"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_sandre_ep'"
                          data-ng-model="line.autosurveillance_sandre_ep"
                          res="line"
                          hideSelectedValue="line.autosurveillance_sandre_ep"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <div
                          form-field
                          fti="kis_bac_listes_deroulantes_controles"
                          attname="'autosurveillance_limite_ep'"
                          data-ng-model="line.autosurveillance_limite_ep"
                          res="line"
                          hideSelectedValue="line.autosurveillance_limite_ep"
                          field-data=" {disabled:ctrl_clos}"
                          data-no-signet
                        ></div>
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.flux_limite"
                          placeholder="Flux limite "
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.frequence_analyse"
                          placeholder="Fréquence d’analyse"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td class="text-center">
                        <input
                          type="text"
                          class="form-control"
                          ng-model="line.modalites"
                          placeholder="Modalités"
                          ng-disabled="ctrl_clos"
                          data-no-signet
                        />
                      </td>
                      <td rowspan="2" class="deleteColumn">
                        <button
                          type="button"
                          ng-disabled="ctrl_clos"
                          ng-click="deleteTableParameterLine($parent.$index, 'tableaux_parametres_eaux_pluviale',$index)"
                          class="btn btn-danger btn-xs"
                          title="Supprimer la ligne"
                        >
                          <i class="fa fa-times"></i>
                        </button>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <div class="row">
                  <div
                    class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                    ng-click="resetTab('tableaux_parametres_eaux_pluviale',$index)"
                  >
                    <i class="fa fa-times"></i> Réinitialiser
                  </div>
                  <div
                    class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                    ng-click="addLines(1,'tableaux_parametres_eaux_pluviale',$index)"
                  >
                    <i class="fa fa-plus"></i> Ajouter une ligne
                  </div>
                  <div
                    class="btn btn-danger btn-xs pull-left col-xs-2 btn-to-intermediate-title"
                    ng-click="deleteLine($index,'tableaux_parametres_eaux_pluviale')"
                  >
                    <i class="fa fa-plus"></i> Supprimer un point de rejet
                  </div>
                </div>
              </div>
            </div>
            <div class="row spbrow" data-index="{{$index}}">
              <div class="col-xs-12">
                <span
                  data-for="cdata.tableaux_parametres_eaux_pluviale[$index].eaux_pluviale_commentaires"
                >
                  Commentaires :
                </span>
                <textarea
                  anc-check-commentaire
                  ctrl-cloture="ctrl_clos"
                  controlecommentconfig="controleCommentConfig"
                  class="form-control"
                  style="height: 100px"
                  ng-model="cdata.tableaux_parametres_eaux_pluviale[$index].eaux_pluviale_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">
            Transmission vers l'établissement
          </a>
        </h6>
      </div>
      <div class="panel-collapse" bs-collapse-target>
        <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('transmission_etablissement')"
              ng-if="!ctrl_clos&&!formClient"
            >
              Utiliser les informations de l'instruction CCI
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <table
                class="table table-bordered table-striped table-signet"
                data-signet-name="transmission_etablissement"
                ng-init="initTable('transmission_etablissement')"
              >
                <thead>
                  <tr>
                    <th style="width: 31.5%" class="text-center">
                      Date de Transmission
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Objet de Transmission
                    </th>
                    <th style="width: 31.5%" class="text-center">
                      Destinaire de Transmission
                    </th>
                    <th
                      style="width: 5.5%"
                      class="deleteColumn hiddenforextract"
                    ></th>
                  </tr>
                </thead>
                <tbody
                  ng-repeat="line_transmission_etablissement in cdata.transmission_etablissement track by $index"
                >
                  <tr>
                    <td class="text-center">
                      <div
                        javautildate
                        model-date-format="'no_hours'"
                        gcatt="{name:'date_transmission'}"
                        result="line_transmission_etablissement"
                        data-ng-model="line_transmission_etablissement.date_transmission"
                        data-type="date"
                        field-data="{disabled:ctrl_clos}"
                        data-no-signet
                      ></div>
                    </td>
                    <td class="text-center">
                      <div
                        form-field
                        fti="kis_bac_listes_deroulantes_controles"
                        attname="'objet_transmission'"
                        data-ng-model="line_transmission_etablissement.objet_transmission"
                        res="line_transmission_etablissement"
                        hideSelectedValue="line_transmission_etablissement.objet_transmission"
                        field-data=" {disabled:ctrl_clos}"
                        data-no-signet
                      ></div>
                    </td>
                    <td class="text-center">
                      <div
                        form-field
                        fti="kis_bac_listes_deroulantes_controles"
                        attname="'destinaire_transmission'"
                        data-ng-model="line_transmission_etablissement.destinaire_transmission"
                        res="line_transmission_etablissement"
                        hideSelectedValue="line_transmission_etablissement.destinaire_transmission"
                        field-data=" {disabled:ctrl_clos}"
                        data-no-signet
                      ></div>
                    </td>
                    <td rowspan="2" class="deleteColumn">
                      <button
                        type="button"
                        ng-disabled="ctrl_clos"
                        ng-click="deleteLine($index, 'transmission_etablissement')"
                        class="btn btn-danger btn-xs"
                        title="Supprimer la ligne"
                      >
                        <i class="fa fa-times"></i>
                      </button>
                    </td>
                  </tr>
                  <tr>
                    <td align="center" colspan="3">
                      <textarea
                        anc-check-commentaire
                        ctrl-cloture="ctrl_clos"
                        title="Commentaire transmission etablissement"
                        placeholder="Commentaire"
                        controlecommentconfig="controleCommentConfig"
                        class="form-control"
                        style="height: 50px"
                        ng-model="line_transmission_etablissement.commentaire"
                        ng-disabled="ctrl_clos"
                        data-no-signet
                      >
                      </textarea>
                    </td>
                  </tr>
                </tbody>
              </table>
              <div class="row">
                <div
                  class="btn btn-xs btn-danger pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="resetTab('transmission_etablissement')"
                >
                  <i class="fa fa-times"></i> Réinitialiser
                </div>
                <div
                  class="btn btn-success btn-xs pull-right col-xs-2 btn-to-intermediate-title"
                  ng-click="addLines(1,'transmission_etablissement')"
                >
                  <i class="fa fa-plus"></i> Ajouter une ligne
                </div>
              </div>
            </div>
          </div>
          <div class="row spbrow">
            <div class="col-xs-12">
              <span data-for="cdata.transmission_etablissement_commentaires">
                Commentaires :
              </span>
              <textarea
                anc-check-commentaire
                ctrl-cloture="ctrl_clos"
                controlecommentconfig="controleCommentConfig"
                class="form-control"
                style="height: 100px"
                ng-model="cdata.transmission_etablissement_commentaires"
                ng-disabled="ctrl_clos"
              >
              </textarea>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
