NTP-8094 | Case Status
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user