added caseinvolvement api for rep
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
Page,
|
||||
StyleSheet,
|
||||
Text,
|
||||
View
|
||||
View,
|
||||
} from "@react-pdf/renderer";
|
||||
import Html from "react-pdf-html";
|
||||
import { getFormCollectionByID } from "../../components/utils";
|
||||
@@ -111,6 +111,9 @@ export const statement_pdf = ({ docProps }) => {
|
||||
let datestr = values.pinswg_name.split("-");
|
||||
let signedDate = datestr[2] + "/" + datestr[1] + "/" + datestr[0];
|
||||
let appealTypeValue = getFormCollectionByID(values.appealType);
|
||||
let filterFilesList = values.filesList.filter(function (el) {
|
||||
return el != null;
|
||||
});
|
||||
|
||||
return (
|
||||
<Document>
|
||||
@@ -353,7 +356,7 @@ export const statement_pdf = ({ docProps }) => {
|
||||
]}
|
||||
>
|
||||
{values.hasOwnProperty("filesList") &&
|
||||
values.filesList.map(function (p) {
|
||||
filterFilesList.map(function (p) {
|
||||
return (
|
||||
<View
|
||||
key={p.name}
|
||||
|
||||
Reference in New Issue
Block a user