@measurequick/measurequick-report-generator 1.0.23 → 1.0.25
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 +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function printMap(geolocationMap) {
|
|
|
127
127
|
function printProfilePicture(picturePlacement, techName, profilePicture) {
|
|
128
128
|
var coords = templates.profilePictureCoordinates[picturePlacement];
|
|
129
129
|
doc.addImage(profilePicture, "JPEG", coords.x, coords.y, coords.w, coords.h);
|
|
130
|
-
doc.text(alignRight(techName, 8.4, 8), coords.
|
|
130
|
+
doc.text(techName, alignRight(techName, 8.4, 8), coords.y + 1.2);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
function printCompanyLogo(logoPlacement, companyLogo) {
|
|
@@ -142,8 +142,9 @@ function printFooterData(techName, profilePicture, companyLogo) {
|
|
|
142
142
|
var s = .2;
|
|
143
143
|
var x = 1;
|
|
144
144
|
var y = 7;
|
|
145
|
-
templates.footerData.forEach(key => {
|
|
146
|
-
|
|
145
|
+
// templates.footerData.forEach(key => {
|
|
146
|
+
for (var i = 0; i < templates.footerData.length; i++) {
|
|
147
|
+
doc.text(reportData.values[templates.footerData[i]], x, y);
|
|
147
148
|
y += s;
|
|
148
149
|
});
|
|
149
150
|
}
|