role-report.component.html 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <div class="reprot">
  2. <div class="container">
  3. <div class="containerContent-w">
  4. <div class="row">
  5. <div class="col-12">
  6. <button class="btn btn-success" style="float: right; margin: 10px 0;" (click)="onPrint()">طباعه</button>
  7. <table class="table table-bordered">
  8. <thead class="headBackground-w">
  9. <tr>
  10. <th>
  11. <div class="custom-control custom-checkbox">
  12. <input type="checkbox" class="custom-control-input" [(ngModel)]="selectedAll" (change)="selectAll();" id="customCheck" name="example1">
  13. </div>
  14. </th>
  15. <th>الاسم</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <tr *ngFor="let role of rolesList; let i = index ">
  20. <td>
  21. <div class="custom-control custom-checkbox centerIneerItem">
  22. <input type="checkbox" class="custom-control-input" id="{{role.id}}" [(ngModel)]="role.selected" [value]='role' (change)="checkIfAllSelected();">
  23. </div>
  24. </td>
  25. <td>{{role.role_name}}</td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>