<h3 class="modalTitle">
  Factures à générer
</h3>
<div class="modalBody">
  <div class="row">
    <div class="col-xs-12">
      <div
        fti="controlesFti"
        where="dataTableControleWhere"
        attributes="controleAttributes"
        res="selectedControles.liste"
        height="500px"
        date-format="dd-MM-yyyy"
        no-default-action="true"
        gcdata-datatable
      ></div>
    </div>
  </div>

  <div class="row">
    <div class="col-xs-12 text-right">
      <hr />
      <div
        class="btn btn-default"
        ng-click="generateFactures()"
        ng-disabled="!selectedControles.liste.length"
      >
        Générer {{selectedControles.liste.length}} facture<span
          ng-show="selectedControles.liste.length>1"
          >s</span
        >
      </div>
    </div>
  </div>
</div>
