@measurequick/measurequick-report-generator 1.2.153 → 1.2.155
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
|
@@ -12,9 +12,11 @@ export async function getReport(payload) {
|
|
|
12
12
|
globalVars = payload.globalVars;
|
|
13
13
|
equipObj = payload.equipmentObj;
|
|
14
14
|
siteObj = payload.siteObj;
|
|
15
|
-
imageMap = payload.images.
|
|
15
|
+
imageMap = payload.images.map_image_base64;
|
|
16
16
|
acrConnect = payload.acr;
|
|
17
17
|
cloud_generation = false;
|
|
18
|
+
companyLogo = payload.images.company_logo_base64;
|
|
19
|
+
profileImage = payload.images.profile_image_base64;
|
|
18
20
|
units = {
|
|
19
21
|
temperature: payload.globalVars.units.temperature,
|
|
20
22
|
static_pressure: payload.globalVars.units.static_pressure_units,
|
|
@@ -3987,7 +3989,7 @@ export async function getReport(payload) {
|
|
|
3987
3989
|
printText('The cooling efficiency is verified to test your unit’s actual electrical consumption compared to the relative efficiency of properly installed modern cooling equipment.', y, 'normal', fs);
|
|
3988
3990
|
}
|
|
3989
3991
|
|
|
3990
|
-
return doc.output('datauristring');
|
|
3992
|
+
return await doc.output('datauristring');
|
|
3991
3993
|
} catch (error) {
|
|
3992
3994
|
return error;
|
|
3993
3995
|
}
|