TP-65401 | Emi date added for fee waive history (#787)
This commit is contained in:
@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
|
||||
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||
}
|
||||
|
||||
def VERSION_CODE = 150
|
||||
def VERSION_NAME = "2.9.9"
|
||||
def VERSION_CODE = 151
|
||||
def VERSION_NAME = "2.9.10"
|
||||
|
||||
android {
|
||||
ndkVersion rootProject.ext.ndkVersion
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "AV_APP",
|
||||
"version": "2.9.9",
|
||||
"buildNumber": "150",
|
||||
"version": "2.9.10",
|
||||
"buildNumber": "151",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android:dev": "yarn move:dev && react-native run-android",
|
||||
|
||||
@@ -58,7 +58,7 @@ const EmiBreakup: React.FC<IEmiBreakup> = ({ emiData, lanLevelView }) => {
|
||||
bold
|
||||
style={[GenericStyles.fw700, totalDueWaivedAmount > 0 ? GenericStyles.textGreen : {}]}
|
||||
>
|
||||
{formatAmount(totalDueWaivedAmount)}
|
||||
{`${totalDueWaivedAmount > 0 ? '-' : ''} ${formatAmount(totalDueWaivedAmount)}`}
|
||||
</Text>
|
||||
</View>
|
||||
) : null}
|
||||
|
||||
@@ -8,11 +8,12 @@ import dayjs from 'dayjs';
|
||||
import Tag, { TagVariant } from '@rn-ui-lib/components/Tag';
|
||||
import { IFeeWaiverHistory } from './interfaces';
|
||||
import { useAppSelector } from '@hooks';
|
||||
import { BUSINESS_DATE_FORMAT } from '@rn-ui-lib/utils/dates';
|
||||
|
||||
const FeeWaiverHistoryListItem: React.FC<{ item: IFeeWaiverHistory }> = ({ item }) => {
|
||||
const {
|
||||
agentName,
|
||||
emiNumber,
|
||||
emiDate,
|
||||
createdAt,
|
||||
reappliedAt,
|
||||
waivedAmount,
|
||||
@@ -43,7 +44,7 @@ const FeeWaiverHistoryListItem: React.FC<{ item: IFeeWaiverHistory }> = ({ item
|
||||
</Text>
|
||||
</Text>
|
||||
<Text small bold>
|
||||
for EMI {emiNumber}
|
||||
for EMI - {dayjs(emiDate).format(BUSINESS_DATE_FORMAT)}
|
||||
</Text>
|
||||
<Text small light>
|
||||
{updatedAtDate}
|
||||
|
||||
@@ -89,6 +89,7 @@ export interface IFeeWaiverHistory {
|
||||
createdAt: string;
|
||||
reappliedAt: string | null;
|
||||
waiveStatus: string;
|
||||
emiDate: string;
|
||||
}
|
||||
|
||||
export interface IFeeWaiverHistorySectionList {
|
||||
|
||||
Reference in New Issue
Block a user