[ef1219a] | 1 |
|
---|
[785b8bd] | 2 | <app-nav-menu></app-nav-menu>
|
---|
[ec6ac45] | 3 |
|
---|
[ef1219a] | 4 | <mat-tab-group mat-stretch-tabs>
|
---|
[e42f61a] | 5 | <mat-tab class="tab" label="Здравствени установи">
|
---|
[ef1219a] | 6 | <div class="wrapper">
|
---|
| 7 | <div class="header">
|
---|
[ec6ac45] | 8 | <h2>Здравствени установи</h2>
|
---|
[ef1219a] | 9 | <mat-form-field>
|
---|
| 10 | <input matInput (keyup)="applyFilter($event.target.value)" placeholder="Пронајди установа">
|
---|
| 11 | </mat-form-field>
|
---|
[c73269d] | 12 | </div>
|
---|
| 13 | <table [dataSource]="dataSource" mat-table matSort class="mat-elevation-z8">
|
---|
| 14 | <ng-container matColumnDef="id">
|
---|
| 15 | <th mat-header-cell *matHeaderCellDef mat-sort-header> id </th>
|
---|
| 16 | <td mat-cell *matCellDef="let facilities"> {{facilities.id}} </td>
|
---|
| 17 | </ng-container>
|
---|
| 18 |
|
---|
| 19 | <ng-container matColumnDef="createdOn">
|
---|
| 20 | <th mat-header-cell *matHeaderCellDef mat-sort-header> createdOn </th>
|
---|
| 21 | <td mat-cell *matCellDef="let facilities"> {{facilities.createdOn}} </td>
|
---|
| 22 | </ng-container>
|
---|
| 23 |
|
---|
| 24 | <ng-container matColumnDef="deletedOn">
|
---|
| 25 | <th mat-header-cell *matHeaderCellDef mat-sort-header> deletedOn </th>
|
---|
| 26 | <td mat-cell *matCellDef="let facilities"> {{facilities.deletedOn}} </td>
|
---|
| 27 | </ng-container>
|
---|
| 28 |
|
---|
[ef1219a] | 29 | <ng-container matColumnDef="Име">
|
---|
| 30 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Име </th>
|
---|
| 31 | <td mat-cell *matCellDef="let facilities"> {{facilities.name}} </td>
|
---|
| 32 | </ng-container>
|
---|
[e42f61a] | 33 |
|
---|
[ef1219a] | 34 | <ng-container matColumnDef="Општина">
|
---|
| 35 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Општина </th>
|
---|
| 36 | <td mat-cell *matCellDef="let facilities"> {{facilities.municipality}} </td>
|
---|
| 37 | </ng-container>
|
---|
[e42f61a] | 38 |
|
---|
[ef1219a] | 39 | <ng-container matColumnDef="Адреса">
|
---|
| 40 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Адреса </th>
|
---|
| 41 | <td mat-cell *matCellDef="let facilities"> {{facilities.address}} </td>
|
---|
| 42 | </ng-container>
|
---|
[e42f61a] | 43 |
|
---|
[ef1219a] | 44 | <ng-container matColumnDef="Тип">
|
---|
| 45 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Тип </th>
|
---|
| 46 | <td mat-cell *matCellDef="let facilities"> {{facilities.type}} </td>
|
---|
| 47 | </ng-container>
|
---|
[e42f61a] | 48 |
|
---|
[ef1219a] | 49 | <ng-container matColumnDef="Е-пошта">
|
---|
| 50 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Е-пошта </th>
|
---|
| 51 | <td mat-cell *matCellDef="let facilities"> {{facilities.email}} </td>
|
---|
| 52 | </ng-container>
|
---|
[e42f61a] | 53 |
|
---|
[ef1219a] | 54 | <ng-container matColumnDef="Телефон">
|
---|
| 55 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Телефон </th>
|
---|
| 56 | <td mat-cell *matCellDef="let facilities"> {{facilities.phone}} </td>
|
---|
| 57 | </ng-container>
|
---|
[d2e69be] | 58 |
|
---|
[ef1219a] | 59 | <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
---|
| 60 | <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
---|
[ec6ac45] | 61 | </table>
|
---|
[c73269d] | 62 | <mat-paginator #paginator [pageSize]="100" [pageSizeOptions]="[5, 10, 20, 100]"></mat-paginator>
|
---|
[ef1219a] | 63 | </div>
|
---|
| 64 | </mat-tab>
|
---|
[e42f61a] | 65 | <mat-tab class="tab" label="Здравствени работници">
|
---|
[ef1219a] | 66 | <div class="wrapper">
|
---|
| 67 | <div class="header">
|
---|
[ec6ac45] | 68 | <h2>Здравствени работници</h2>
|
---|
[ef1219a] | 69 | <mat-form-field>
|
---|
[de18858] | 70 | <input matInput (keyup)="applyFilterWorkers($event.target.value)" placeholder="Пронајди работник">
|
---|
[ef1219a] | 71 | </mat-form-field>
|
---|
| 72 | </div>
|
---|
[e42f61a] | 73 | <table [dataSource]="dataSourceWorkers" mat-table matSort class="mat-elevation-z8">
|
---|
[ef1219a] | 74 | <ng-container matColumnDef="Име">
|
---|
| 75 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Име </th>
|
---|
[e42f61a] | 76 | <td mat-cell *matCellDef="let workers"> {{workers.name}} </td>
|
---|
[ef1219a] | 77 | </ng-container>
|
---|
[e42f61a] | 78 |
|
---|
| 79 | <ng-container matColumnDef="Гранка">
|
---|
| 80 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Гранка </th>
|
---|
| 81 | <td mat-cell *matCellDef="let workers"> {{workers.branch}} </td>
|
---|
[ef1219a] | 82 | </ng-container>
|
---|
[e42f61a] | 83 |
|
---|
| 84 | <ng-container matColumnDef="Установа">
|
---|
| 85 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Установа </th>
|
---|
| 86 | <td mat-cell *matCellDef="let workers"> {{workers.facility}} </td>
|
---|
[ef1219a] | 87 | </ng-container>
|
---|
[e42f61a] | 88 |
|
---|
| 89 | <ng-container matColumnDef="Назив">
|
---|
| 90 | <th mat-header-cell *matHeaderCellDef mat-sort-header> Назив </th>
|
---|
| 91 | <td mat-cell *matCellDef="let workers"> {{workers.title}} </td>
|
---|
[ef1219a] | 92 | </ng-container>
|
---|
[e42f61a] | 93 |
|
---|
| 94 | <tr mat-header-row *matHeaderRowDef="displayedColumnsWorkers"></tr>
|
---|
| 95 | <tr mat-row *matRowDef="let row; columns: displayedColumnsWorkers;"></tr>
|
---|
[ef1219a] | 96 | </table>
|
---|
| 97 | <mat-paginator #paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 20, 100]"></mat-paginator>
|
---|
[ec6ac45] | 98 | </div>
|
---|
[ef1219a] | 99 | </mat-tab>
|
---|
[de18858] | 100 | </mat-tab-group> |
---|