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:
commit
6babd91d22
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user