@measurequick/measurequick-report-generator 1.5.30 → 1.5.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@ export async function getReport(payload) {
|
|
|
55
55
|
//Initial Page, this needs to only publish this page IF and only IF it has valid image data
|
|
56
56
|
docs[docIndex] = await PDFDocument.load(util._base64ToArrayBuffer(page.base64));
|
|
57
57
|
forms[docIndex] = docs[docIndex].getForm();
|
|
58
|
-
if (!nci)
|
|
58
|
+
//if (!nci)
|
|
59
59
|
forms[docIndex].getButton("FullWidthLogo").setImage(await docs[docIndex].embedPng(mqLogoBytes));
|
|
60
60
|
forms[docIndex].getTextField("Header").setText(`Project Photos`);
|
|
61
61
|
}
|
|
@@ -64,7 +64,7 @@ export async function getReport(payload) {
|
|
|
64
64
|
docIndex++;
|
|
65
65
|
docs[docIndex] = await PDFDocument.load(util._base64ToArrayBuffer(page.base64));
|
|
66
66
|
forms[docIndex] = docs[docIndex].getForm();
|
|
67
|
-
if (!nci)
|
|
67
|
+
//if (!nci)
|
|
68
68
|
forms[docIndex].getButton("FullWidthLogo").setImage(await docs[docIndex].embedPng(mqLogoBytes));
|
|
69
69
|
forms[docIndex].getTextField("Header").setText(`Project Photos`);
|
|
70
70
|
}
|
|
@@ -112,7 +112,7 @@ export async function getReport(payload) {
|
|
|
112
112
|
if (initialProjectPhotoPageLoaded && docIndex === 0) docIndex++;
|
|
113
113
|
docs[docIndex] = await PDFDocument.load(util._base64ToArrayBuffer(page.base64));
|
|
114
114
|
forms[docIndex] = docs[docIndex].getForm();
|
|
115
|
-
if (!nci)
|
|
115
|
+
//if (!nci)
|
|
116
116
|
forms[docIndex].getButton("FullWidthLogo").setImage(await docs[docIndex].embedPng(mqLogoBytes));
|
|
117
117
|
forms[docIndex].getTextField("Header").setText(`Equipment Photos`);
|
|
118
118
|
}
|
|
@@ -122,7 +122,7 @@ export async function getReport(payload) {
|
|
|
122
122
|
docIndex++;
|
|
123
123
|
docs[docIndex] = await PDFDocument.load(util._base64ToArrayBuffer(page.base64));
|
|
124
124
|
forms[docIndex] = docs[docIndex].getForm();
|
|
125
|
-
if (!nci)
|
|
125
|
+
//if (!nci)
|
|
126
126
|
forms[docIndex].getButton("FullWidthLogo").setImage(await docs[docIndex].embedPng(mqLogoBytes));
|
|
127
127
|
forms[docIndex].getTextField("Header").setText(`Equipment Photos`);
|
|
128
128
|
}
|