more
This commit is contained in:
@@ -40,7 +40,7 @@ const CaseDetailsPage = () => {
|
||||
? process.env.REACT_APP_API_DEV
|
||||
: process.env.REACT_APP_API_PROD;
|
||||
|
||||
// NEVER CHANGE THESE ARGS
|
||||
// isComplaint = true - NEVER CHANGE THESE ARGS
|
||||
async function generateOutgoingDiscReq(docId, clientPosition) {
|
||||
try {
|
||||
const response = await fetch(
|
||||
@@ -55,7 +55,7 @@ const CaseDetailsPage = () => {
|
||||
console.log("generate out error", err);
|
||||
}
|
||||
}
|
||||
// NEVER CHANGE THESE ARGS
|
||||
// isComplaint = false - NEVER CHANGE THESE ARGS
|
||||
async function generateRespIncomingDiscReq(docId, clientPosition) {
|
||||
try {
|
||||
const response = await fetch(
|
||||
@@ -74,11 +74,7 @@ const CaseDetailsPage = () => {
|
||||
async function handleSuccess(docId, docType, radioValue) {
|
||||
setShowUploadModal(false);
|
||||
const clientPosition = subCase.clientPosition;
|
||||
console.log(
|
||||
"handle success in main page ~~~~~~~~~> radioValue, docType",
|
||||
radioValue,
|
||||
docType
|
||||
);
|
||||
console.log("handle success in details page ~~~~~~~~~> docType", docType);
|
||||
|
||||
if (docType === "complaint") {
|
||||
const isComplaint = true;
|
||||
|
||||
Reference in New Issue
Block a user