Skip to content

Commit 6ce1db5

Browse files
oleksii-novikov-onixadamsaghy
authored andcommitted
WEB-263: Fix buydown fees date details
1 parent 1392c11 commit 6ce1db5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/loans/loans-view/loan-buy-down-fees-tab/loan-buy-down-fees-tab.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ <h3>{{ 'labels.heading.Buy Down Fees' | translate }}</h3>
1111
</div>
1212

1313
<table mat-table [dataSource]="buyDownFeeData" *ngIf="buyDownFeeData.length > 0">
14-
<ng-container matColumnDef="date">
14+
<ng-container matColumnDef="buyDownFeeDate">
1515
<th mat-header-cell *matHeaderCellDef>{{ 'labels.heading.Date' | translate }}</th>
1616
<td mat-cell *matCellDef="let item">
17-
{{ item.date | date: 'mediumDate' }}
17+
{{ item.buyDownFeeDate | date: 'mediumDate' }}
1818
</td>
1919
</ng-container>
2020

src/app/loans/loans-view/loan-buy-down-fees-tab/loan-buy-down-fees-tab.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class LoanBuyDownFeesTabComponent implements OnInit {
4444
isLoading = true;
4545

4646
buyDownFeeColumns: string[] = [
47-
'date',
47+
'buyDownFeeDate',
4848
'buyDownFeeAmount',
4949
'amortizedAmount',
5050
'notYetAmortizedAmount',

src/app/loans/models/loan-account.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export interface BuyDownFeeAmortizationDetails {
138138
id: number;
139139
loanId: number;
140140
transactionId: number;
141-
date: string;
141+
buyDownFeeDate: string;
142142
buyDownFeeAmount: number;
143143
amortizedAmount: number;
144144
notYetAmortizedAmount: number;

0 commit comments

Comments
 (0)