|
|
|
|
@ -49,7 +49,19 @@
|
|
|
|
|
<!-- NOT ADDRESS & BASIC_DETAILS -->
|
|
|
|
|
<ion-col
|
|
|
|
|
*ngIf="getPassNotificationDetails?.REQUEST_TYPE != 'ADDRESS' && getPassNotificationDetails?.REQUEST_TYPE != 'BASIC_DETAILS' ">
|
|
|
|
|
<div *ngIf="notificationBodyRes?.length > 0 ">
|
|
|
|
|
|
|
|
|
|
<div *ngIf="showInformation">
|
|
|
|
|
<p>{{'worklist, loading'| translate}} <img style="width: 3%;"
|
|
|
|
|
src="../assets/icon/progress-loading.gif" /></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="no-data-div" *ngIf="notificationBodyRes?.length === 0 &&
|
|
|
|
|
!showInformation && stampNsNotificationBodyRes?.length === 0 &&
|
|
|
|
|
stampMsNotificationBodyRes?.length === 0">
|
|
|
|
|
<p>{{ 'general, empty' | translate}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="notificationBodyRes?.length > 0">
|
|
|
|
|
<ion-card *ngFor="let item of notificationBodyRes;let i=index; "
|
|
|
|
|
style="width: 91%;">
|
|
|
|
|
<ion-card-content *ngIf="item.Collection_Notification.length > 0">
|
|
|
|
|
@ -68,6 +80,165 @@
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="stampNsNotificationBodyRes?.length > 0">
|
|
|
|
|
<ion-card *ngFor="let item of stampNsNotificationBodyRes;let i=index; "
|
|
|
|
|
style="width: 91%;">
|
|
|
|
|
<ion-card-content>
|
|
|
|
|
<div>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'userProfile, empNo'| translate}} </label>
|
|
|
|
|
<br />
|
|
|
|
|
<label>{{item.EMPLOYEE_NUMBER}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'workList, assignment-number'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.ASSIGNMENT_NUMBER}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'userProfile, name'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.EMPLOYEE_NAME}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'workList, schedule-date'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.SCHEDULE_DATE| date}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="stampMsNotificationBodyRes?.length > 0">
|
|
|
|
|
<ion-card *ngFor="let item of stampMsNotificationBodyRes;let i=index; "
|
|
|
|
|
style="width: 91%;">
|
|
|
|
|
<ion-card-content>
|
|
|
|
|
<div>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'userProfile, empNo'| translate}} </label>
|
|
|
|
|
<br />
|
|
|
|
|
<label>{{item.EMPLOYEE_NUMBER}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'worklist, assignment-number'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.ASSIGNMENT_NUMBER}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'userProfile, name'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.EMPLOYEE_NAME}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
{{'worklist, schedule-date'| translate}}</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.SCHEDULE_DATE| date}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Shift Type</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.SHT_TYPE_DESC}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Shift</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.SHT_NAME}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Break</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label> {{item.BREAK_NAME}}</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<ion-row>
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Actual Swipe(s)</label>
|
|
|
|
|
<br />
|
|
|
|
|
<ion-col size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Start</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf="item.SHT_ACTUAL_START_TIME != ''">
|
|
|
|
|
{{item.SHT_ACTUAL_START_TIME}}</label>
|
|
|
|
|
<label
|
|
|
|
|
*ngIf="item.SHT_ACTUAL_START_TIME == ''">--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
End</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf='item.SHT_ACTUAL_END_TIME != ""'>
|
|
|
|
|
{{item.SHT_ACTUAL_END_TIME}}</label>
|
|
|
|
|
<label *ngIf='item.SHT_ACTUAL_END_TIME == ""'>--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
<ion-row>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<ion-row>
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Approved Swipe(s)</label>
|
|
|
|
|
<br />
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Start</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf='item.APPROVED_START_TIME != ""'>
|
|
|
|
|
{{item.APPROVED_START_TIME}}</label>
|
|
|
|
|
<label *ngIf='item.APPROVED_START_TIME == ""'>--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col class="rowBorder" size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
Start Reason</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf='item.APPROVED_START_REASON != ""'>
|
|
|
|
|
{{item.APPROVED_START_REASON}}</label>
|
|
|
|
|
<label
|
|
|
|
|
*ngIf='item.APPROVED_START_REASON == ""'>--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
End</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf='item.SHT_ACTUAL_END_TIME !=""'>
|
|
|
|
|
{{item.SHT_ACTUAL_END_TIME}}</label>
|
|
|
|
|
<label *ngIf='item.SHT_ACTUAL_END_TIME ==""'>--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
<ion-col size="6">
|
|
|
|
|
<label class="colItemReq">
|
|
|
|
|
End Reason</label>
|
|
|
|
|
<br />
|
|
|
|
|
<label *ngIf="item.APPROVED_END_REASON_DESC != ''">
|
|
|
|
|
{{item.APPROVED_END_REASON_DESC}}</label>
|
|
|
|
|
<label
|
|
|
|
|
*ngIf="item.APPROVED_END_REASON_DESC == ''">--</label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-card-content>
|
|
|
|
|
</ion-card>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="margin: 10px;font-weight: bold; "
|
|
|
|
|
*ngIf="subordinatesleaveList != undefined && subordinatesleaveList?.length > 0">
|
|
|
|
|
{{ts.trPK('worklistMain','employee-on-leave')}}
|
|
|
|
|
@ -123,6 +294,14 @@
|
|
|
|
|
<!-- IF BASIC_DETAILS -->
|
|
|
|
|
<ion-col *ngIf="getPassNotificationDetails?.REQUEST_TYPE == 'BASIC_DETAILS' ||
|
|
|
|
|
getPassNotificationDetails?.REQUEST_TYPE == 'ADDRESS'">
|
|
|
|
|
<div *ngIf="showInformation">
|
|
|
|
|
<p>{{'worklist, loading'| translate}} <img style="width: 3%;"
|
|
|
|
|
src="../assets/icon/progress-loading.gif" /></p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="no-data-div" *ngIf="notificationBodyRes?.length === 0 && !showInformation">
|
|
|
|
|
<p>{{ 'general, empty' | translate}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf='notificationBodyRes.length > 0'>
|
|
|
|
|
<ion-card style="width: 91%;">
|
|
|
|
|
<ion-card-content>
|
|
|
|
|
@ -139,7 +318,7 @@
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-col>
|
|
|
|
|
</ion-row>
|
|
|
|
|
<ion-row *ngFor="let item of notificationBodyRes;let i=index;">
|
|
|
|
|
<ion-row *ngFor="let item of notificationBodyRes;let i=index;">
|
|
|
|
|
<ion-col class="rowBorder" size="6"
|
|
|
|
|
[hidden]="item.UPDATED_FLAG == 'N'">
|
|
|
|
|
<label class="colItemReq">{{item.SEGMENT_PROMPT}}</label>
|
|
|
|
|
|