Last change
on this file since 6e6f04b was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Fix bugs, add some more.
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | <div class="wrapper">
|
---|
2 | <div class="header">
|
---|
3 | <h2>Листа на постоечки лекови</h2>
|
---|
4 | <mat-form-field>
|
---|
5 | <input matInput (keyup)="applyFilterMedicines($event.target.value)" placeholder="Пронајди лек">
|
---|
6 | </mat-form-field>
|
---|
7 | </div>
|
---|
8 | <table class='table table-striped' aria-labelledby="tableLabel" *ngIf="filteredListMedicines">
|
---|
9 | <thead>
|
---|
10 | <tr>
|
---|
11 | <th>Име</th>
|
---|
12 | <th>Јачина</th>
|
---|
13 | <th>Форма</th>
|
---|
14 | <th>Начин на издавање</th>
|
---|
15 | <th>Производител</th>
|
---|
16 | <th>Цена</th>
|
---|
17 | <th>Пакување</th>
|
---|
18 | <th>Додај</th>
|
---|
19 | </tr>
|
---|
20 | </thead>
|
---|
21 | <tbody>
|
---|
22 | <tr *ngFor="let medicine of filteredListMedicines">
|
---|
23 | <td>{{ medicine.name }}</td>
|
---|
24 | <td>{{ medicine.strength }}</td>
|
---|
25 | <td>{{ medicine.form }}</td>
|
---|
26 | <td>{{ medicine.wayOfIssuing }}</td>
|
---|
27 | <td>{{ medicine.manufacturer }}</td>
|
---|
28 | <td>{{ medicine.price }}</td>
|
---|
29 | <td>{{ medicine.packaging }}</td>
|
---|
30 | <td><mat-checkbox (click)="selectMedicine(medicine)"></mat-checkbox></td>
|
---|
31 | </tr>
|
---|
32 | </tbody>
|
---|
33 | </table>
|
---|
34 | </div>
|
---|
35 | <button type="reset" class="btn btn-default" (click)="close()">Cancel</button>
|
---|
36 | <button type="submit" class="btn btn-success" (click)="save()">Додај ги лековите</button> |
---|
Note:
See
TracBrowser
for help on using the repository browser.