From 77a7512781280a324b99c7258424cb274986a703 Mon Sep 17 00:00:00 2001 From: chapal Date: Tue, 24 Dec 2024 12:59:08 +0600 Subject: [PATCH] Prod --- .../production-bonus-attendance.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/production-bonus-attendance/production-bonus-attendance.component.ts b/HRM.UI/ClientApp/src/app/payroll-ot/production-bonus-attendance/production-bonus-attendance.component.ts index f7dff41..af4613f 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/production-bonus-attendance/production-bonus-attendance.component.ts +++ b/HRM.UI/ClientApp/src/app/payroll-ot/production-bonus-attendance/production-bonus-attendance.component.ts @@ -454,8 +454,8 @@ export class ProductionBonusAttendanceComponent implements OnInit { } public scheduleDateChange(date: any){ debugger; - date; - if(this.selectedProdBSdata != undefined && this.selectedLine != undefined ){ + date; + if (date > new Date( 2015,1,1) && this.selectedProdBSdata != undefined && this.selectedLine != undefined ) { const fromDate = new Date(this.productionBonusSetup.fromDate.setHours(0, 0, 0, 0)); const toDate = new Date(this.productionBonusSetup.toDate.setHours(0, 0, 0, 0));