From 8673cdd893c9d743634b889788397e35dca6c9b2 Mon Sep 17 00:00:00 2001 From: Mohaimen Hasan Date: Mon, 23 Nov 2026 17:02:23 +0600 Subject: [PATCH] AccessType --- .../ess/landing-page/landing-page.component.html | 14 ++++++++------ HRM.UI/Controllers/Auth/AuthController.cs | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/HRM.UI/ClientApp/src/app/ess/landing-page/landing-page.component.html b/HRM.UI/ClientApp/src/app/ess/landing-page/landing-page.component.html index 0088198..b3c8c55 100644 --- a/HRM.UI/ClientApp/src/app/ess/landing-page/landing-page.component.html +++ b/HRM.UI/ClientApp/src/app/ess/landing-page/landing-page.component.html @@ -221,12 +221,14 @@
@for (type of payrollTypes; track type) { - + @if (type.id != selectedPayrollTypeID) { + + } }
diff --git a/HRM.UI/Controllers/Auth/AuthController.cs b/HRM.UI/Controllers/Auth/AuthController.cs index 55a276d..8e302d3 100644 --- a/HRM.UI/Controllers/Auth/AuthController.cs +++ b/HRM.UI/Controllers/Auth/AuthController.cs @@ -869,7 +869,7 @@ namespace HRM.UI.Controllers { return BadRequest("You do not have approved access to this Access Type."); } - token = this.CreateToten(oempUser, optype.ID, optype.NextPayProcessDate); + token = this.CreateTokenNew(oempUser, optype.ID, optype.NextPayProcessDate, null); } catch (Exception e) {