Prod #24

Merged
chapal merged 1 commits from dev_chapal into devqc 2024-12-24 13:01:53 +06:00

View File

@ -454,8 +454,8 @@ export class ProductionBonusAttendanceComponent implements OnInit {
} }
public scheduleDateChange(date: any){ public scheduleDateChange(date: any){
debugger; debugger;
date; date;
if(this.selectedProdBSdata != undefined && this.selectedLine != undefined ){ 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 fromDate = new Date(this.productionBonusSetup.fromDate.setHours(0, 0, 0, 0));
const toDate = new Date(this.productionBonusSetup.toDate.setHours(0, 0, 0, 0)); const toDate = new Date(this.productionBonusSetup.toDate.setHours(0, 0, 0, 0));