This commit is contained in:
chapal 2024-12-24 12:59:08 +06:00
parent 110fc609ac
commit 77a7512781

View File

@ -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));