filename changes to include case ref and cat code

This commit is contained in:
2022-06-21 12:09:03 +01:00
parent bd04900ff8
commit eb5d03a068
11 changed files with 128 additions and 35 deletions
+11
View File
@@ -58,6 +58,11 @@ export default function BuildRow(props) {
doc
);
var documentTypeCode = xpath.select(
"//@ishareDocumentCode",
doc
);
var hint = xpath.select("//label/@hint", doc);
var dateStart = xpath.select("//@dateStart", doc);
var dateEnd = xpath.select("//@dateEnd", doc);
@@ -87,6 +92,10 @@ export default function BuildRow(props) {
!_.isEmpty(requiredDocumentLabel) &&
requiredDocumentLabel[0].value;
documentTypeCode =
!_.isEmpty(documentTypeCode) &&
documentTypeCode[0].value;
dateStart = !_.isEmpty(dateStart) && dateStart[0].value;
dateEnd = !_.isEmpty(dateEnd) && dateEnd[0].value;
@@ -110,6 +119,7 @@ export default function BuildRow(props) {
props.props.props.formData.pickListData
}
mandatoryFieldsData={mandatoryFieldsData}
documentTypeCode={documentTypeCode}
/>
);
} else {
@@ -146,6 +156,7 @@ export default function BuildRow(props) {
documentList={
props.props.appealType.documentList
}
documentTypeCode={documentTypeCode}
/>
);
// } else {