decopled crm for new appeals - all made on storage
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
||||
import { getFormCollectionByID } from "../utils";
|
||||
import FileUpload from "./fileupload";
|
||||
import Aboutyou from "./aboutyou";
|
||||
import { createNewCase, consoleLogger } from "../../actions";
|
||||
import { createNewCase, createNewCaseBlob, consoleLogger } from "../../actions";
|
||||
import { FieldsTranslations } from "../elements";
|
||||
|
||||
let CreateCase = (props) => {
|
||||
@@ -448,14 +448,22 @@ let CreateCase = (props) => {
|
||||
|
||||
delete values.confirmHASCAS;
|
||||
|
||||
console.log(appTypeCollection);
|
||||
|
||||
createNewCase(
|
||||
// createNewCase(
|
||||
// appTypeCollection.appealTypeID,
|
||||
// values.lpaTypes,
|
||||
// props.loggedInUser,
|
||||
// values,
|
||||
// props.containerID
|
||||
// )
|
||||
createNewCaseBlob(
|
||||
appTypeCollection.appealTypeID,
|
||||
values.lpaTypes,
|
||||
props.loggedInUser,
|
||||
values,
|
||||
props.containerID
|
||||
props.containerID,
|
||||
props1.LPAData.LPAData.value.filter((obj) => {
|
||||
return obj.accountid === values.lpaTypes;
|
||||
})[0].name
|
||||
)
|
||||
.then((data) => {
|
||||
router.replace(
|
||||
@@ -467,7 +475,7 @@ let CreateCase = (props) => {
|
||||
"&apt=" +
|
||||
whichAppealType +
|
||||
"&id=" +
|
||||
data.incidentid
|
||||
data.ticketnumber
|
||||
);
|
||||
return data;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user