This commit is contained in:
Peter Maquiran
2023-05-23 11:56:12 +01:00
parent 181a9dbd76
commit 033a6c331c
49 changed files with 832 additions and 278 deletions
@@ -10,7 +10,19 @@
<div class="header-title">
<label>Eventos para Aprovação</label>
</div>
<div style="float:right" *ngIf="showFilter">
<div style="float:right" *ngIf="showFilter" class="d-flex align-center">
<div>
<div class="d-flex" (click)="reorderList('old')" *ngIf="ordinance == 'recent' ">
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg" ></ion-icon>
</div>
<div class="d-flex" (click)="reorderList('recent')" *ngIf="ordinance != 'recent' ">
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg" ></ion-icon>
</div>
</div>
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
<mat-select [(value)]="filterName">
@@ -45,9 +45,11 @@ export class EventListPage implements OnInit {
filterName: 'Para hoje' | 'Novos'| 'Lidos'| 'Não lidos'| 'OverdueTasks' | 'Todos' = 'Todos'
showFilter = false
showSearch = false
showSearch = false
searchSubject = ''
list = []
ordinance: string = 'old'
constructor(
private processes: ProcessesService,
private modalController: ModalController,
@@ -105,6 +107,14 @@ export class EventListPage implements OnInit {
}
reorderList(orderBy: string) {
this.ordinance = orderBy;
// this.dynamicSearch();
}
getEventToAproveFromDB() {