From 133c8ecc9d0629ac10ae12963ad2ee7ae1df8e27 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Sun, 27 Aug 2023 17:04:09 +0300 Subject: [PATCH] fixed overtime assignment issue --- Mohem/src/app/eit/add-eit/add-eit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mohem/src/app/eit/add-eit/add-eit.component.ts b/Mohem/src/app/eit/add-eit/add-eit.component.ts index c08c9d78..e43fc5b3 100644 --- a/Mohem/src/app/eit/add-eit/add-eit.component.ts +++ b/Mohem/src/app/eit/add-eit/add-eit.component.ts @@ -990,7 +990,7 @@ export class AddEitComponent implements OnInit { let text = x.value; let val = x.dataset.colmText; - if (this.eitResponse[j].DISPLAY_FLAG == "N" && this.eitResponse[i].REQUIRED_FLAG == "Y" && !val) { + if (this.eitResponse[j].DISPLAY_FLAG == "N" && this.eitResponse[j].REQUIRED_FLAG == "Y" && !val) { const attributeValue = x.getAttribute('value'); val = attributeValue ? attributeValue : ''; }