diff --git a/src/app/common/footer/footer.component.html b/src/app/common/footer/footer.component.html
index 01d4752..18c48a7 100644
--- a/src/app/common/footer/footer.component.html
+++ b/src/app/common/footer/footer.component.html
@@ -7,7 +7,7 @@
- © {{ currentYear }} {{currentServiceProviderName}}. All rights reserved.
+ © {{ currentYear }} alpha Omega Infosys. All rights reserved.
\ No newline at end of file
diff --git a/src/app/common/footer/footer.component.ts b/src/app/common/footer/footer.component.ts
index b9f2748..2f94b31 100644
--- a/src/app/common/footer/footer.component.ts
+++ b/src/app/common/footer/footer.component.ts
@@ -1,8 +1,6 @@
-import { Component, effect, inject, Input } from '@angular/core';
+import { Component, Input } from '@angular/core';
import { AngularMaterialModule } from '../../shared/module/angular-material.module';
import { CommonModule } from '@angular/common';
-import { User } from '../../core/models/user';
-import { UserService } from '../../core/services/common/user.service';
@Component({
selector: 'app-footer',
@@ -12,20 +10,5 @@ import { UserService } from '../../core/services/common/user.service';
})
export class FooterComponent {
currentYear = new Date().getFullYear();
- currentServiceProviderName: string = 'USCIB Carnet Portal';
- userDetails: User | null = {};
-
@Input() isUserLoggedIn = false;
-
- private userService = inject(UserService);
-
- constructor(
- ) {
- effect(() => {
- this.userDetails = this.userService.userDetailsSignal();
- if (this.userDetails?.userDetails && this.userDetails.userDetails.serviceProviderName) {
- this.currentServiceProviderName = this.userDetails.userDetails.serviceProviderName || 'USCIB Carnet Portal';
- }
- });
- }
}
\ No newline at end of file
diff --git a/src/app/core/services/common/auth.service.ts b/src/app/core/services/common/auth.service.ts
index 5cae066..47eda86 100644
--- a/src/app/core/services/common/auth.service.ts
+++ b/src/app/core/services/common/auth.service.ts
@@ -13,6 +13,7 @@ import { ApiErrorHandlerService } from './api-error-handler.service';
})
export class AuthService {
private apiUrl = environment.apiUrl;
+ private applicationName = environment.appType;
private http = inject(HttpClient);
private userService = inject(UserService);
@@ -22,7 +23,7 @@ export class AuthService {
private errorHandler = inject(ApiErrorHandlerService);
login(username: string, password: string): Observable {
- return this.http.post(`${this.apiUrl}/login`, { p_emailaddr: username, p_password: password });
+ return this.http.post(`${this.apiUrl}/login`, { p_emailaddr: username, p_password: password, P_APPLICATIONNAME: this.applicationName });
}
refreshToken(): Observable {
diff --git a/src/app/core/services/common/common.service.ts b/src/app/core/services/common/common.service.ts
index 348b039..3cd406d 100644
--- a/src/app/core/services/common/common.service.ts
+++ b/src/app/core/services/common/common.service.ts
@@ -54,7 +54,7 @@ export class CommonService {
}
getRegions(): Observable {
- return this.http.get(`${this.apiUrl}/${this.apiDb}/GetRegions`).pipe(
+ return this.http.get(`${this.apiUrl}/${this.apiDb}/GetRegions/${this.userService.getUserSpid()}`).pipe(
map((response) =>
response.map((item) => ({
id: item.REGIONID,
diff --git a/src/app/param/table/param-table.component.html b/src/app/param/table/param-table.component.html
index 50a2df6..7f55792 100644
--- a/src/app/param/table/param-table.component.html
+++ b/src/app/param/table/param-table.component.html
@@ -85,8 +85,9 @@
chevron_right
-