@@ -51,52 +39,26 @@ const PocNumbersTag = ({
);
} else if (source === POC_TAG_SOURCES.FEEDBACK_FORM) {
return (
-
-
-
-
-
-
-
-
- New number added. Try calling on them
-
-
-
- {callHistory &&
}
-
- {dailyLimit?.callRemaining === 0 ? (
-
-
-
- Next call attempt available{' '}
-
- tomorrow
+
+
+
+
- ) : hourlyLimit?.nextCallingTime ? (
-
-
-
- Next call attempt available
-
- {dayjs(hourlyLimit?.nextCallingTime).format('HH:mm A')}
-
-
-
- ) : null}
+
+
+
+ New number added. Try calling on them
+
+
);
} else {
diff --git a/src/pages/CaseDetails/constants/Overview.constant.ts b/src/pages/CaseDetails/constants/Overview.constant.ts
index 6b8d8def..7e9fb84e 100644
--- a/src/pages/CaseDetails/constants/Overview.constant.ts
+++ b/src/pages/CaseDetails/constants/Overview.constant.ts
@@ -19,5 +19,3 @@ export const DUE_PAID_STATUS = {
ON_TIME: 'On-time',
LATE: 'Late'
} as { [key: string]: string };
-
-export const CALL_SOURCE_LIMIT = 2;
diff --git a/src/pages/CaseDetails/feedbackForm/component/CallBridge/CallBridge.tsx b/src/pages/CaseDetails/feedbackForm/component/CallBridge/CallBridge.tsx
index f354aced..eb7d5d60 100644
--- a/src/pages/CaseDetails/feedbackForm/component/CallBridge/CallBridge.tsx
+++ b/src/pages/CaseDetails/feedbackForm/component/CallBridge/CallBridge.tsx
@@ -54,7 +54,6 @@ interface CallBridgeProps {
telephoneSource?: string;
telephoneRefId?: string;
currentCallType?: ECallingType;
- disableCallButton?: boolean;
}
const buildCreateCallBridgeRequestBody = (
@@ -84,8 +83,7 @@ const CallBridge = (props: CallBridgeProps) => {
interactionType,
telephoneSource,
telephoneRefId,
- currentCallType,
- disableCallButton
+ currentCallType
} = props;
const dispatch = useDispatch();
const navigate = useNavigate();
@@ -357,7 +355,7 @@ const CallBridge = (props: CallBridgeProps) => {
<>
);
diff --git a/src/pages/CaseDetails/feedbackForm/component/Contacts/index.module.scss b/src/pages/CaseDetails/feedbackForm/component/Contacts/index.module.scss
index 583ae778..d70a97b1 100644
--- a/src/pages/CaseDetails/feedbackForm/component/Contacts/index.module.scss
+++ b/src/pages/CaseDetails/feedbackForm/component/Contacts/index.module.scss
@@ -47,9 +47,6 @@
}
}
-.selectedPickerItemLimits {
- background-color: rgba(246, 247, 249, 0.8);
-}
.defaultContacts {
.phoneNumberSelectContainer {
margin-bottom: 15px;
diff --git a/src/pages/CaseDetails/feedbackForm/index.tsx b/src/pages/CaseDetails/feedbackForm/index.tsx
index e509c0c5..3c01b082 100644
--- a/src/pages/CaseDetails/feedbackForm/index.tsx
+++ b/src/pages/CaseDetails/feedbackForm/index.tsx
@@ -38,7 +38,7 @@ import {
import Loader from '../../../components/Loader/Loader';
import CancelCircleFilled from '../../../assets/icons/CancelCircledFilled';
import { fetchFeedbackHistory } from '../actions/overviewActions';
-import { LOCAL_STORAGE_KEYS, SESSION_STORAGE_KEYS } from '@cp/constants/StorageKeys';
+import { LOCAL_STORAGE_KEYS, SESSION_STORAGE_KEYS } from '../../../constants/StorageKeys';
import { FeedbackTabsEnum } from './component/FeedbackTabs/FeedbackTabs';
import SkipTracing from './component/Contacts/SkipTracing';
import Spade from './component/Contacts/Spade';
@@ -46,9 +46,9 @@ import DefaultContacts from './component/Contacts/DefaultContacts';
import NextPreviousCaseActions from './component/NextPreviousCaseActions';
import { toast } from '@navi/web-ui/lib/primitives/Toast';
import { setAmeyoCallDetails, setBlankDisposition } from 'src/reducers/commonSlice';
-import { createQueryParams, readQueryParams } from '@cp/utils/QueryParamsHelper';
-import { addClickstreamEvent } from '@cp/src/service/clickStreamEventService';
-import { CLICKSTREAM_EVENT_NAMES } from '@cp/src/service/clickStream.constant';
+import { createQueryParams, readQueryParams } from '../../../utils/QueryParamsHelper';
+import { addClickstreamEvent } from '../../../service/clickStreamEventService';
+import { CLICKSTREAM_EVENT_NAMES } from '../../../service/clickStream.constant';
import RadioGroup from '@navi/web-ui/lib/components/RadioGroup';
import { OLD_CALLING_TYPES, REVAMPED_CALLING_TYPES } from '../constants';
import {
@@ -65,7 +65,6 @@ import {
import isLitmusExperimentEnabled from '@cp/utils/isLitmusExperimentEnabled';
import { LITMUS_EXPERIMENT_NAMES } from '@cp/constants/litmusExperimentNames';
import { Roles } from '@cp/pages/auth/constants/AuthConstants';
-import { getTelephonesV2 } from '@cp/pages/CaseDetails/actions/casesDetailsActions';
interface FeedbackFromProps {
isDisableNextPreviousCaseAction?: boolean;
@@ -603,11 +602,11 @@ const FeedbackFrom = (props: FeedbackFromProps) => {
dispatch(fetchFeedbackHistory(loanId, customerId, payload));
dispatch(resetFeedbackQuestionTypes());
dispatch(setSkipTracingInitialQuestions([]));
- dispatch(getTelephonesV2(loanId, customerId));
setSkipTracingType(null);
localStorage.removeItem(LOCAL_STORAGE_KEYS.AMEYO_INTERACTION_ID);
sessionStorage.removeItem(SESSION_STORAGE_KEYS.INTERACTION_ID);
setAmeyoCallDetails({ interactionId: '', recipientNumber: '', crtObjectId: '' });
+
toggleLoading();
reset();
if (ameyoQueryParams) {
diff --git a/src/pages/CaseDetails/interfaces/CaseDetail.type.ts b/src/pages/CaseDetails/interfaces/CaseDetail.type.ts
index d85098c5..7b02d09b 100644
--- a/src/pages/CaseDetails/interfaces/CaseDetail.type.ts
+++ b/src/pages/CaseDetails/interfaces/CaseDetail.type.ts
@@ -341,20 +341,6 @@ export interface ILegalDocument extends IApiData {
loading: boolean;
}
-export enum LIMIT_TYPE {
- DAILY = 'DAILY',
- HOURLY = 'HOURLY'
-}
-
-export interface IPhoneNumberLimit {
- type: LIMIT_TYPE;
- callsMade: number;
- callRemaining: number;
- maxCalls: number;
- nextCallingTime: string;
- remarks: string;
-}
-
export interface ITelePhoneData {
type: string;
source: string;
@@ -369,7 +355,6 @@ export interface ITelePhoneData {
oldestSource: string;
createdAt: string;
isPoc: boolean;
- limit: IPhoneNumberLimit[];
}
interface IAddresses extends IApiData {