Merged PR 1294: create pdf amendment

create pdf amendment

Related work items: #12768
This commit is contained in:
Robert Bond
2024-11-20 11:56:28 +00:00
2 changed files with 5 additions and 12 deletions
+2 -8
View File
@@ -393,10 +393,7 @@ export const createAppealPDFBlob = async (
console.log("blobName:", blobName);
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
const uploadBlobResponse = await blockBlobClient.uploadStream(
content,
uploadOptions
);
const uploadBlobResponse = await blockBlobClient.uploadStream(content);
console.log(uploadBlobResponse);
@@ -443,10 +440,7 @@ export const createRepPDFBlob = async (
console.log("blobName:", blobName);
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
const uploadBlobResponse = await blockBlobClient.uploadStream(
content,
uploadOptions
);
const uploadBlobResponse = await blockBlobClient.uploadStream(content);
let whichLocation =
repName.indexOf("_IP_") > 0
@@ -53,7 +53,7 @@ const RepComplete = (props) => {
props.props.currentView.representationMessageSent != true &&
(setRepInvolvment(
props.props.currentView.caseReference.incidentid,
props.props.props.props.accountDetails.loggedinUserId
props.props.props.props.accountDetails.accountDetails.contactid
),
sendRepCompleteMessage(
props.props.props.props.accountDetails.containerID,
@@ -68,7 +68,8 @@ const RepComplete = (props) => {
")",
"pinswg_Contact@odata.bind":
"/contacts(" +
props.props.props.props.accountDetails.loggedinUserId +
props.props.props.props.accountDetails.accountDetails
.contactid +
")",
"pinswg_appealcasetype":
props.props.currentView.caseReference.appealType,
@@ -92,9 +93,7 @@ const RepComplete = (props) => {
{t("myrepresentations:rep-complete-heading")}
</h1>
<p>{t("myrepresentations:rep-complete-para-one")}</p>
<p>{t("myrepresentations:rep-complete-para-two")}</p>
<p> {t("myrepresentations:rep-complete-para-three")}</p>
</div>
<div className="govuk-grid-row">