@measurequick/measurequick-report-generator 1.0.46 → 1.0.47
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/assets/request.js +8 -13
- package/index.js +8 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -185,18 +185,20 @@ function printFooterData(techName, profilePicture, companyLogo) {
|
|
|
185
185
|
function printPhotoSections() {
|
|
186
186
|
doc.setFontSize(16);
|
|
187
187
|
doc.setFontColor(0, 0, 0);
|
|
188
|
-
|
|
189
|
-
var x = 1;
|
|
188
|
+
var x = 0;
|
|
190
189
|
var y = 1;
|
|
191
|
-
var i = 0;
|
|
192
|
-
var photosToPrint = reportData.photos.userDocumented;
|
|
193
190
|
doc.addPage();
|
|
194
|
-
|
|
195
|
-
|
|
191
|
+
reportData.dynamicPhotos.forEach(printPhoto);
|
|
192
|
+
for (var i = 0; i < reportData.dynamicPhotos; i++) {
|
|
193
|
+
doc.text(reportData.dynamicPhotos[i]);
|
|
196
194
|
y += 1;
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
|
|
198
|
+
function printPhoto() {
|
|
199
|
+
doc.text();
|
|
200
|
+
}
|
|
201
|
+
|
|
200
202
|
function printInfoPage(reportType) {
|
|
201
203
|
doc.addPage();
|
|
202
204
|
doc.setTextColor(0, 0, 0);
|