Merged PR 1294: create pdf amendment
create pdf amendment Related work items: #12768
This commit is contained in:
@@ -393,10 +393,7 @@ export const createAppealPDFBlob = async (
|
|||||||
console.log("blobName:", blobName);
|
console.log("blobName:", blobName);
|
||||||
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
|
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
|
||||||
|
|
||||||
const uploadBlobResponse = await blockBlobClient.uploadStream(
|
const uploadBlobResponse = await blockBlobClient.uploadStream(content);
|
||||||
content,
|
|
||||||
uploadOptions
|
|
||||||
);
|
|
||||||
|
|
||||||
console.log(uploadBlobResponse);
|
console.log(uploadBlobResponse);
|
||||||
|
|
||||||
@@ -443,10 +440,7 @@ export const createRepPDFBlob = async (
|
|||||||
console.log("blobName:", blobName);
|
console.log("blobName:", blobName);
|
||||||
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
|
const blockBlobClient = containerClient.getBlockBlobClient(blobName);
|
||||||
|
|
||||||
const uploadBlobResponse = await blockBlobClient.uploadStream(
|
const uploadBlobResponse = await blockBlobClient.uploadStream(content);
|
||||||
content,
|
|
||||||
uploadOptions
|
|
||||||
);
|
|
||||||
|
|
||||||
let whichLocation =
|
let whichLocation =
|
||||||
repName.indexOf("_IP_") > 0
|
repName.indexOf("_IP_") > 0
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ const RepComplete = (props) => {
|
|||||||
props.props.currentView.representationMessageSent != true &&
|
props.props.currentView.representationMessageSent != true &&
|
||||||
(setRepInvolvment(
|
(setRepInvolvment(
|
||||||
props.props.currentView.caseReference.incidentid,
|
props.props.currentView.caseReference.incidentid,
|
||||||
props.props.props.props.accountDetails.loggedinUserId
|
props.props.props.props.accountDetails.accountDetails.contactid
|
||||||
),
|
),
|
||||||
sendRepCompleteMessage(
|
sendRepCompleteMessage(
|
||||||
props.props.props.props.accountDetails.containerID,
|
props.props.props.props.accountDetails.containerID,
|
||||||
@@ -68,7 +68,8 @@ const RepComplete = (props) => {
|
|||||||
")",
|
")",
|
||||||
"pinswg_Contact@odata.bind":
|
"pinswg_Contact@odata.bind":
|
||||||
"/contacts(" +
|
"/contacts(" +
|
||||||
props.props.props.props.accountDetails.loggedinUserId +
|
props.props.props.props.accountDetails.accountDetails
|
||||||
|
.contactid +
|
||||||
")",
|
")",
|
||||||
"pinswg_appealcasetype":
|
"pinswg_appealcasetype":
|
||||||
props.props.currentView.caseReference.appealType,
|
props.props.currentView.caseReference.appealType,
|
||||||
@@ -92,9 +93,7 @@ const RepComplete = (props) => {
|
|||||||
{t("myrepresentations:rep-complete-heading")}
|
{t("myrepresentations:rep-complete-heading")}
|
||||||
</h1>
|
</h1>
|
||||||
<p>{t("myrepresentations:rep-complete-para-one")}</p>
|
<p>{t("myrepresentations:rep-complete-para-one")}</p>
|
||||||
|
|
||||||
<p>{t("myrepresentations:rep-complete-para-two")}</p>
|
<p>{t("myrepresentations:rep-complete-para-two")}</p>
|
||||||
|
|
||||||
<p> {t("myrepresentations:rep-complete-para-three")}</p>
|
<p> {t("myrepresentations:rep-complete-para-three")}</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="govuk-grid-row">
|
<div className="govuk-grid-row">
|
||||||
|
|||||||
Reference in New Issue
Block a user