Changed the host constant as per client requirement and sending the activity type name in the pqq endpoints
This commit is contained in:
@@ -45,7 +45,7 @@ export const ACTIVITY_INTERNAL_STATUS = {
|
||||
};
|
||||
|
||||
export const ACTIVITY_DISPLAY_STATUS = {
|
||||
DRAFT_PQ: 'Draft - PQ',
|
||||
DRAFT_PQ: 'Draft',
|
||||
APPROVED: 'Approved',
|
||||
REJECTED: 'Rejected',
|
||||
DRAFT: 'Draft',
|
||||
@@ -57,7 +57,7 @@ export const ACTIVITY_DISPLAY_STATUS = {
|
||||
|
||||
ACTIVITY_DRAFT: 'Draft - Activity',
|
||||
ACTIVITY_IN_REVIEW: 'In Review',
|
||||
ACTIVITY_TO_REVIEW: 'To Review',
|
||||
ACTIVITY_TO_REVIEW: 'Re-submitted',
|
||||
NOT_LISTED: 'Not Listed',
|
||||
ACTIVITY_LISTED: 'Listed',
|
||||
ACTIVITY_UNLISTED: 'Un Listed',
|
||||
@@ -83,7 +83,7 @@ export const ACTIVITY_AM_INTERNAL_STATUS = {
|
||||
};
|
||||
|
||||
export const ACTIVITY_AM_DISPLAY_STATUS = {
|
||||
DRAFT_PQ: 'Draft - PQ',
|
||||
DRAFT_PQ: 'Draft',
|
||||
APPROVED: 'Approved',
|
||||
REJECTED: 'Rejected',
|
||||
DRAFT: 'Draft',
|
||||
|
||||
@@ -1787,6 +1787,17 @@ export class HostService {
|
||||
pqqQuestionXid: true,
|
||||
pqqAnswerXid: true,
|
||||
comments: true,
|
||||
activity: {
|
||||
select: {
|
||||
id: true,
|
||||
activityType: {
|
||||
select: {
|
||||
id: true,
|
||||
activityTypeName: true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
pqqQuestions: {
|
||||
select: {
|
||||
questionName: true,
|
||||
@@ -2528,6 +2539,7 @@ export class HostService {
|
||||
|
||||
return {
|
||||
activity_xid: created.id,
|
||||
activityType: activityType,
|
||||
sortedCategories,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user