@measurequick/measurequick-report-generator 1.0.49 → 1.0.50
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/index.js +6 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -182,12 +182,16 @@ function printFooterData(techName, profilePicture, companyLogo) {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
function printDiagnosticPage() {
|
|
186
|
+
|
|
187
|
+
}
|
|
188
|
+
|
|
185
189
|
function printPhotoSections() {
|
|
186
190
|
doc.setFontSize(16);
|
|
187
191
|
doc.setFontColor(0, 0, 0);
|
|
188
192
|
var x = 0;
|
|
189
193
|
var y = 1;
|
|
190
|
-
doc.addPage();
|
|
194
|
+
doc.addPage(8.5, 11);
|
|
191
195
|
for (var i = 0; i < reportData.dynamicPhotos; i++) {
|
|
192
196
|
doc.text(reportData.dynamicPhotos[i]);
|
|
193
197
|
y += 1;
|
|
@@ -195,7 +199,7 @@ function printPhotoSections() {
|
|
|
195
199
|
}
|
|
196
200
|
|
|
197
201
|
function printInfoPage() {
|
|
198
|
-
doc.addPage();
|
|
202
|
+
doc.addPage(8.5, 11);
|
|
199
203
|
doc.setTextColor(0, 0, 0);
|
|
200
204
|
if (reportData.meta.reportType == "cooling") {
|
|
201
205
|
doc.text(templates.coolingInfoPage.body, 1, 1);
|