Total unpaid other fees integration (#260)

* TP-22003|Kunal|header height fix

* TP-22003|Kunal|header height fix

* TP-22003 | header height fixes

* TP-22003|Kunal| integrating totalUnpaidOtherFees in EmiBreakupBottomSheet.tsx

* TP-22003|Kunal| integrating totalUnpaidOtherFees in EmiBreakupBottomSheet.tsx

Co-authored-by: Aman Chaturvedi <aman.chaturvedi@navi.com>
This commit is contained in:
Kunal Sharma
2023-04-18 21:45:32 +05:30
committed by GitHub Enterprise
parent 265d4663a7
commit 723ac7f656
2 changed files with 2 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ const EmiBreakupBottomSheet: React.FC<IEmiBreakupBottomSheet> = props => {
<View style={[...row, GenericStyles.pb16]}>
<Text light>Other fees</Text>
<Text dark bold>
{formatAmount((emiItem?.totalUnpaidBounceFeeAmount ?? 0) + (emiItem?.totalUnpaidLateFeeAmount ?? 0) + (emiItem?.totalUnpaidPenalInterest ?? 0))}
{formatAmount(emiItem?.totalUnpaidOtherFees ?? 0)}
</Text>
</View>
</>

View File

@@ -23,6 +23,7 @@ export interface IEmiItem {
totalUnpaidLateFeeAmount: number;
totalUnpaidBounceFeeAmount: number;
totalUnpaidEmiPenaltyCharges: number;
totalUnpaidOtherFees?: number;
}
interface IEmiScheduleItem {
listNumber: number;