Merged PR 2038: 18791 remove further details

Related work items: #21097, #21098
This commit is contained in:
Robert Bond
2026-01-19 13:17:43 +00:00
6 changed files with 15 additions and 64 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ export const createRepBlob = async (formContent, containerName, caseref) => {
const tags = { const tags = {
containerid: containerName, containerid: containerName,
caseID: formContent.ticketnumber, caseID: formContent.ticketnumber || formContent.caseRef,
blobType: "Representation", blobType: "Representation",
}; };
@@ -3,7 +3,7 @@ import { useRouter } from "next/router";
import { useDropzone } from "react-dropzone"; import { useDropzone } from "react-dropzone";
import { Field } from "redux-form"; import { Field } from "redux-form";
import RepDetails from "./representationDetails"; import RepDetails from "./representationDetails";
import { RenderRadioListWithText } from "./representationElements"; import { RenderRadioList } from "./representationElements";
let RepCapacitySelection = (props) => { let RepCapacitySelection = (props) => {
let { t } = useTranslation(); let { t } = useTranslation();
@@ -72,7 +72,7 @@ let RepCapacitySelection = (props) => {
errorMsg={t( errorMsg={t(
"myrepresentations:select-an-option-label" "myrepresentations:select-an-option-label"
)} )}
component={RenderRadioListWithText} component={RenderRadioList}
validate={[required]} validate={[required]}
/> />
</div> </div>
+2 -25
View File
@@ -242,29 +242,6 @@ export const finalComments_pdf = ({ docProps }) => {
{values.representationCapacity} {values.representationCapacity}
</Text> </Text>
</View> </View>
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text style={styles.questionBullet}>3.</Text>
<Text style={styles.questionText}>
{getTrans(
docProps.locale,
"statement-representation-capacity-details-label"
)}
:
</Text>
<Text style={styles.questionAnswer}>
<Html style={styles.richArea}>
{CleanHTML(
values.conditional_representationCapacity_Comments
) || "N/A"}
</Html>
</Text>
</View>
<View <View
wrap={false} wrap={false}
style={{ style={{
@@ -279,7 +256,7 @@ export const finalComments_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={styles.questionBullet}>4.</Text> <Text style={styles.questionBullet}>3.</Text>
<Text style={styles.questionText}> <Text style={styles.questionText}>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
@@ -297,7 +274,7 @@ export const finalComments_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={styles.questionBullet}>5.</Text> <Text style={styles.questionBullet}>4.</Text>
<Text style={styles.questionText}> <Text style={styles.questionText}>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
+2 -25
View File
@@ -242,29 +242,6 @@ export const statement_pdf = ({ docProps }) => {
{values.representationCapacity} {values.representationCapacity}
</Text> </Text>
</View> </View>
<View
wrap={false}
style={{
flexDirection: "row",
marginBottom: 10,
}}
>
<Text style={styles.questionBullet}>3.</Text>
<Text style={styles.questionText}>
{getTrans(
docProps.locale,
"statement-representation-capacity-details-label"
)}
:
</Text>
<Text style={styles.questionAnswer}>
<Html style={styles.richArea}>
{CleanHTML(
values.conditional_representationCapacity_Comments
) || "N/A"}
</Html>
</Text>
</View>
<View <View
wrap={false} wrap={false}
style={{ style={{
@@ -279,7 +256,7 @@ export const statement_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={styles.questionBullet}>4.</Text> <Text style={styles.questionBullet}>3.</Text>
<Text style={styles.questionText}> <Text style={styles.questionText}>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
@@ -297,7 +274,7 @@ export const statement_pdf = ({ docProps }) => {
marginBottom: 10, marginBottom: 10,
}} }}
> >
<Text style={styles.questionBullet}>5.</Text> <Text style={styles.questionBullet}>4.</Text>
<Text style={styles.questionText}> <Text style={styles.questionText}>
{getTrans( {getTrans(
docProps.locale, docProps.locale,
+2 -2
View File
@@ -20,9 +20,9 @@ ApiProxy.get(async (req, res) => {
"/api/file/downloadblob?container=" + "/api/file/downloadblob?container=" +
containerName + containerName +
"&casefolderID=" + "&casefolderID=" +
encodeURIComponent(casefolderID) + casefolderID +
"&blobname=" + "&blobname=" +
encodeURIComponent(blobName.trim()); blobName.trim();
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) { if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
const bloblocation = const bloblocation =
+6 -9
View File
@@ -381,15 +381,12 @@ export const getServerSideProps = wrapper.getServerSideProps(
store.dispatch(setAccountDetails(accountDetails)); store.dispatch(setAccountDetails(accountDetails));
// return { return {
// props: { props: {
// searchResultsObj: { containerID: thisSession.user.id,
// searchResultsObj: searchResultsObj, docsOffline: process.env.DOCAPI_OFFLINE || false,
// searchDetailsObj: searchDetailsObj, },
// }, };
// containerID: thisSession.user.id,
// },
// };
} }
} }
); );