Loan Account Term calculation (#1871)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-09-24 23:19:20 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent ab55521a5a
commit adef15df35
13 changed files with 59 additions and 33 deletions
@@ -62,7 +62,6 @@ export class AddressTabComponent {
const addAddressDialogRef = this.dialog.open(FormDialogComponent, { data });
addAddressDialogRef.afterClosed().subscribe((response: any) => {
if (response.data) {
console.log(response.data);
this.clientService.createClientAddress(this.clientId, response.data.value.addressType, response.data.value).subscribe((res: any) => {
const addressData = response.data.value;
addressData.addressId = res.resourceId;
@@ -89,7 +88,6 @@ export class AddressTabComponent {
const editAddressDialogRef = this.dialog.open(FormDialogComponent, { data });
editAddressDialogRef.afterClosed().subscribe((response: any) => {
if (response.data) {
console.log(response.data.value);
const addressData = response.data.value;
addressData.addressId = address.addressId;
addressData.isActive = address.isActive;