@measurequick/measurequick-report-generator 1.5.90 → 1.5.91

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measurequick/measurequick-report-generator",
3
- "version": "1.5.90",
3
+ "version": "1.5.91",
4
4
  "description": "Generates PDF documents for various measureQuick applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -227,11 +227,11 @@ export async function getReport(payload, _test) {
227
227
  form.getTextField("TESPExiting").setText("TESPExiting");
228
228
 
229
229
  let tesp_value = duct_test.ductScreeningTESP
230
- ? +duct_test.ductScreeningTESP.toFixed(2).toString() + "inH2O"
230
+ ? (+duct_test.ductScreeningTESP).toFixed(2).toString() + "inH2O"
231
231
  : "N/A";
232
232
  form.getTextField("TESPValue").setText(tesp_value);
233
233
  let tesp_rated = duct_test.ductScreeningTESPTarget
234
- ? +duct_test.ductScreeningTESPTarget.toFixed(2).toString() + "inH2O"
234
+ ? (+duct_test.ductScreeningTESPTarget).toFixed(2).toString() + "inH2O"
235
235
  : "N/A";
236
236
  form.getTextField("TESPRated").setText(tesp_rated);
237
237
 
@@ -543,14 +543,14 @@ export async function getReport(payload, _test) {
543
543
 
544
544
  let airflow = "";
545
545
  if (test.ductScreeningAirflow)
546
- airflow = test.ductScreeningAirflow.toFixed(0).toString() + " cfm";
546
+ airflow = (+test.ductScreeningAirflow).toFixed(0).toString() + " cfm";
547
547
 
548
548
  form.getTextField("FanAirflowMeasured").setText(airflow);
549
549
 
550
550
  let airflow_required = "";
551
551
  if (test.ductScreeningAirflowTarget)
552
552
  airflow_required =
553
- test.ductScreeningAirflowTarget.toFixed(0).toString() + " cfm";
553
+ (+test.ductScreeningAirflowTarget).toFixed(0).toString() + " cfm";
554
554
  form.getTextField("FanAirflowRequired").setText(airflow_required);
555
555
 
556
556
  let airflow_pct = Math.abs(