NTP-8094 | Case Status

This commit is contained in:
yashmantri
2024-12-03 22:37:15 +05:30
parent a530b4e9ed
commit 5cca2052db
4 changed files with 12 additions and 12 deletions

View File

@@ -113,8 +113,8 @@ def jscFlavor = 'org.webkit:android-jsc:+'
def enableHermes = project.ext.react.get("enableHermes", false);
def VERSION_CODE = 220
def VERSION_NAME = "2.15.6"
def VERSION_CODE = 221
def VERSION_NAME = "2.15.7"
android {
namespace "com.avapp"

View File

@@ -1,7 +1,7 @@
{
"name": "AV_APP",
"version": "2.15.6",
"buildNumber": "220",
"version": "2.15.7",
"buildNumber": "221",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -9,7 +9,7 @@ import { feedbackStatusColorMapping } from '../utils';
const FeedbackStatus = (props: IFeedbackStatus) => {
const { caseListItemDetailObj } = props;
const { currentMonthFeedbackStatus, lastMonthFeedbackStatus } = caseListItemDetailObj || {};
const { currentMonthCaseInteractionStatus, lastMonthCaseInteractionStatus } = caseListItemDetailObj || {};
return (
<View>
@@ -26,13 +26,13 @@ const FeedbackStatus = (props: IFeedbackStatus) => {
{
color:
feedbackStatusColorMapping[
currentMonthFeedbackStatus?.color as keyof typeof feedbackStatusColorMapping
currentMonthCaseInteractionStatus?.color as keyof typeof feedbackStatusColorMapping
] ?? COLORS.TEXT.BLACK,
},
]}
>
{currentMonthFeedbackStatus?.status
? currentMonthFeedbackStatus?.status
{currentMonthCaseInteractionStatus?.status
? currentMonthCaseInteractionStatus?.status
: 'Not attempted'}
</Text>
</View>
@@ -47,12 +47,12 @@ const FeedbackStatus = (props: IFeedbackStatus) => {
{
color:
feedbackStatusColorMapping[
lastMonthFeedbackStatus?.color as keyof typeof feedbackStatusColorMapping
lastMonthCaseInteractionStatus?.color as keyof typeof feedbackStatusColorMapping
] ?? COLORS.TEXT.BLACK,
},
]}
>
{lastMonthFeedbackStatus?.status ? lastMonthFeedbackStatus?.status : 'Not attempted'}
{lastMonthCaseInteractionStatus?.status ? lastMonthCaseInteractionStatus?.status : 'Not attempted'}
</Text>
</View>
</View>

View File

@@ -321,8 +321,8 @@ export interface CaseDetail {
employmentDetail?: EmploymentDetails;
unpaidDays?: number;
addressStringType?: string;
currentMonthFeedbackStatus?: FeedbackStatusObj;
lastMonthFeedbackStatus?:FeedbackStatusObj;
currentMonthCaseInteractionStatus?: FeedbackStatusObj;
lastMonthCaseInteractionStatus?:FeedbackStatusObj;
escalationData ?: EscalationData;
daysTillDeallocation: number;
}