|
|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
<ion-item>
|
|
|
|
|
<ion-label class="boldTxtNav">{{'vacation-rule, search-by' | translate}}</ion-label>
|
|
|
|
|
<ion-select okText='{{"general, ok" | translate }}' cancelText='{{"general, cancel" | translate }}'
|
|
|
|
|
[(ngModel)]="searchKeySelect">
|
|
|
|
|
[(ngModel)]="searchKeySelect" (ionChange)="onChangeSelect($event)">
|
|
|
|
|
<ion-select-option value="1" selected="true">{{'vacation-rule, search-by-name' | translate}}</ion-select-option>
|
|
|
|
|
<ion-select-option value="2">{{'vacation-rule, search-by-username' | translate}}</ion-select-option>
|
|
|
|
|
<ion-select-option value="3">{{'vacation-rule, search-by-email' | translate}}</ion-select-option>
|
|
|
|
|
@ -24,14 +24,14 @@
|
|
|
|
|
</ion-item>
|
|
|
|
|
|
|
|
|
|
<ion-item lines="none">
|
|
|
|
|
<ion-button class="filterBtn" button-type="clear" button-type="clear" (click)="SearchReplacementList()">
|
|
|
|
|
<ion-button [ngClass]="(!searchKeyEnter || !isSelect) ? 'disabledButton' : '' " [disabled]="(!searchKeyEnter || !isSelect) " class="filterBtn" button-type="clear" button-type="clear" (click)="SearchReplacementList()">
|
|
|
|
|
<ion-icon slot="icon-only" color="white" name="search"></ion-icon>
|
|
|
|
|
</ion-button>
|
|
|
|
|
<ion-input class="filterInput" [(ngModel)]="searchKey" placeholder="{{'vacation-rule, search-employee' | translate}}"></ion-input>
|
|
|
|
|
<ion-input (ionChange)="onChangeInput()" class="filterInput" [(ngModel)]="searchKey" placeholder="{{'vacation-rule, search-employee' | translate}}"></ion-input>
|
|
|
|
|
|
|
|
|
|
</ion-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <ion-item>
|
|
|
|
|
<ion-list [(ngModel)]="selEmp" *ngIf="ReplacementList">
|
|
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
</ion-radio-group>
|
|
|
|
|
</ion-list> -->
|
|
|
|
|
|
|
|
|
|
<ion-item>
|
|
|
|
|
<ion-item lines="none">
|
|
|
|
|
<div *ngIf="ReplacementList" class="square-container">
|
|
|
|
|
<div (click)="select(employee,i)" *ngFor="let employee of ReplacementList;let i=index;" class="square">
|
|
|
|
|
<div class="profileImageDiv">
|
|
|
|
|
|