diff --git a/src/app/common/footer/footer.component.html b/src/app/common/footer/footer.component.html
index 18c48a7..4cedebc 100644
--- a/src/app/common/footer/footer.component.html
+++ b/src/app/common/footer/footer.component.html
@@ -7,7 +7,7 @@
- © {{ currentYear }} alpha Omega Infosys. All rights reserved.
+ © {{ currentYear }} Alpha Omega Infosys. All rights reserved.
\ No newline at end of file
diff --git a/src/app/core/services/service-provider/basic-fee.service.ts b/src/app/core/services/service-provider/basic-fee.service.ts
index c13207f..01c5ac2 100644
--- a/src/app/core/services/service-provider/basic-fee.service.ts
+++ b/src/app/core/services/service-provider/basic-fee.service.ts
@@ -38,8 +38,8 @@ export class BasicFeeService {
createBasicFee(spid: number, fee: BasicFee): Observable {
const payload = {
P_SPID: spid,
- P_STARTCARNETVALUE: fee.startCarnetValue,
- P_ENDCARNETVALUE: fee.endCarnetValue,
+ P_STARTNUMBER: fee.startCarnetValue,
+ P_ENDNUMBER: fee.endCarnetValue,
P_FEES: fee.fees,
P_EFFDATE: this.commonService.formatUSDate(fee.effectiveDate),
P_USERID: this.userService.getUser()
@@ -50,8 +50,6 @@ export class BasicFeeService {
updateBasicFee(feeId: number, fee: BasicFee): Observable {
const payload = {
P_BASICFEESETUPID: feeId,
- P_STARTCARNETVALUE: fee.startCarnetValue,
- P_ENDCARNETVALUE: fee.endCarnetValue,
P_FEES: fee.fees,
P_EFFDATE: this.commonService.formatUSDate(fee.effectiveDate),
P_USERID: this.userService.getUser()
diff --git a/src/app/core/services/service-provider/contact.service.ts b/src/app/core/services/service-provider/contact.service.ts
index a410bd0..2dc1331 100644
--- a/src/app/core/services/service-provider/contact.service.ts
+++ b/src/app/core/services/service-provider/contact.service.ts
@@ -51,7 +51,7 @@ export class ContactService {
p_defcontactflag: data.defaultContact ? 'Y' : 'N',
p_firstname: data.firstName,
p_lastname: data.lastName,
- P_MIDDLEINITIAL: data.middleInitial,
+ P_MIDDLEINITIAL: data.middleInitial ?? '',
p_title: data.title,
p_phoneno: data.phone,
p_mobileno: data.mobile,
@@ -69,7 +69,7 @@ export class ContactService {
p_spcontactid: spContactId,
p_firstname: data.firstName,
p_lastname: data.lastName,
- P_MIDDLEINITIAL: data.middleInitial,
+ P_MIDDLEINITIAL: data.middleInitial ?? '',
p_title: data.title,
p_phoneno: data.phone,
p_mobileno: data.mobile,
diff --git a/src/app/service-provider/add/add-service-provider.component.html b/src/app/service-provider/add/add-service-provider.component.html
index 6e5d229..726a4b5 100644
--- a/src/app/service-provider/add/add-service-provider.component.html
+++ b/src/app/service-provider/add/add-service-provider.component.html
@@ -1,5 +1,5 @@
-
@@ -20,7 +20,7 @@
-
+
Carnet Sequence
-
Carnet Fee & Commission Setup
@@ -38,7 +38,7 @@
-
Basic Fee Setup
@@ -47,7 +47,7 @@
-
+
Counterfoil Setup
-
Continuation Sheet Fee Setup
@@ -66,7 +66,7 @@
-
+
Expedited Fee Setup
-
+
Security Deposit
-
+
Cargo Rate Setup
Cargo Surety
-
+
{{ cargoSurety.name }}
-
- Cargo Surety is required
-
Cargo Policy
-
+
{{ cargoPolicy.name }}
-
- Cargo Policy is required
-
Bond Surety
-
+
{{ bondSurety.name }}
-
- Bond Surety is required
-
diff --git a/src/app/service-provider/basic-fee/basic-fee.component.ts b/src/app/service-provider/basic-fee/basic-fee.component.ts
index 82e7cfe..91de9f1 100644
--- a/src/app/service-provider/basic-fee/basic-fee.component.ts
+++ b/src/app/service-provider/basic-fee/basic-fee.component.ts
@@ -111,7 +111,7 @@ export class BasicFeeComponent {
{ basicFeeId: 0, startCarnetValue: 50000, endCarnetValue: 149999, fees: 365, effectiveDate: new Date() },
{ basicFeeId: 0, startCarnetValue: 150000, endCarnetValue: 399999, fees: 425, effectiveDate: new Date() },
{ basicFeeId: 0, startCarnetValue: 400000, endCarnetValue: 999999, fees: 480, effectiveDate: new Date() },
- { basicFeeId: 0, startCarnetValue: 1000000, endCarnetValue: null, fees: 545, effectiveDate: new Date() }
+ { basicFeeId: 0, startCarnetValue: 1000000, endCarnetValue: 99999999, fees: 545, effectiveDate: new Date() }
];
// Create an array of observables for each fee creation
@@ -130,8 +130,6 @@ export class BasicFeeComponent {
},
error: (error) => {
console.error('Error initializing default fees:', error);
- // Even if some failed, try to load what was created
- this.loadBasicFees();
}
});
}
diff --git a/src/environments/environment.development.ts b/src/environments/environment.development.ts
index 9f8fa97..ab0905e 100644
--- a/src/environments/environment.development.ts
+++ b/src/environments/environment.development.ts
@@ -1,6 +1,6 @@
export const environment = {
production: false,
- apiUrl: 'https://dev.alphaomegainfosys.com/test-api',
- apiDb: '1',
- appType: 'policy'
+ apiUrl: 'https://dev.alphaomegainfosys.com/test-api-2',
+ apiDb: '2',
+ appType: 'policy',
};