<h3 class="modalTitle">
  Liste des personnes 
</h3>
<div class="modalBody">

  <div class="row">
    <div class="col-xs-12">
      <div
        gcdata-datatable
        fti="personnesFti"
        height="500px"
        res="selectedPerson.data"
        tooltip="tooltipTitle"
        where="personnesWhere"
        no-default-action="true"
        single-selection="true"
      ></div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-12">
      <hr />
      <!--
      <div
        class="alert alert-danger"
        ng-show="selectedPerson.data"
        ng-if="dateDebutObligatoire && type == 'proprietaires'"
      >
        <div class="row">
          <div class="col-xs-6">
            <label> Veuillez confirmer la date de début de propriété : </label>
          </div>
          <div class="col-xs-6">
            <div
              javautildate
              gcatt="{name:'debut'}"
              result="infoProp.properties"
              data-type="date"
            ></div>
          </div>
        </div>

      </div>
      -->
      <!-- Avant
      <div
        class="btn btn-default pull-right"
        ng-if="dateDebutObligatoire && type == 'proprietaires'"
        ng-disabled="!selectedPerson.data.length || !infoProp.properties.debut"
        ng-click="choisirPersonne()"
      >
      -->
      <div
      class="btn btn-default pull-right"
      ng-click="choisirPersonne()"
    >
        Choisir cette personne
      </div>
      <div
        class="btn btn-default pull-right"
        ng-if="!dateDebutObligatoire"
        ng-disabled="!selectedPerson.data.length"
        ng-click="choisirPersonne()"
      >
        Choisir cette personne
      </div>
    </div>
  </div>
</div>
