filename changes to include case ref and cat code
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user