Merge pull request 'Prod' (#24) from dev_chapal into devqc

Reviewed-on: http://103.197.204.162:3025/CelHRTeam/EchoTex_Payroll/pulls/24
This commit is contained in:
chapal 2024-12-24 13:01:51 +06:00
commit 6babd91d22

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