user role issue

This commit is contained in:
mashfiq 2025-01-02 13:27:05 +06:00
parent 6babd91d22
commit ceb4fa8fb1
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export class ApiService {
public isSSO = false;
public versionDeployement = false;
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 10, 3))}-`+"01";
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 11, 29))}-`+"01";
public static BASE_URL = '';
public base_url = '';
// public currentLink = '';

View File

@ -184,8 +184,10 @@ export class UserRoleEntryComponent implements OnInit {
userRole.payrollTypeID = this._selectedPayrollTypeid;
userRole.employeeID = u.employeeID;
}
if (this._selectedRoleType == EnumRoleType.Admin)
if (this._selectedRoleType == EnumRoleType.Admin){
userRole.userID = u.id;
userRole.userRoleStatus = EnumAuthStatus.Active;
}
userRole.loginIDView = u.loginID;
userRole.roleID = r;