function addDisclaimer(doc) {
  const page = doc.page;

  const PDF_REPORT_DISCLAIMER = constants.PDF_TEXT.DISCLAIMER;

  // 741.89
  doc.roundedRect(20, page.height - 100, page.width - 40, 30, 2)
      .fillColor(constants.PDColors.BG_LIGHT)
      .fill();

  doc.font("OpenSansLight").fontSize(8).fillColor("#333333")
      .text(PDF_REPORT_DISCLAIMER.trim(), 30, page.height - 90, {width: page.width - 60});
  return doc;
}
/**
   * Generate the Disclaimer text included on the PDF Report.
  */
Generate the Disclaimer text included on the PDF Report.
Generate the Disclaimer text included on the PDF Report .
function addDisclaimer(doc) {
  const page = doc.page;
  const PDF_REPORT_DISCLAIMER = constants.PDF_TEXT.DISCLAIMER;
  doc.roundedRect(20, page.height - 100, page.width - 40, 30, 2)
      .fillColor(constants.PDColors.BG_LIGHT)
      .fill();
  doc.font("OpenSansLight").fontSize(8).fillColor("#333333")
      .text(PDF_REPORT_DISCLAIMER.trim(), 30, page.height - 90, {width: page.width - 60});
  return doc;
}
function addDisclaimer ( doc ) { const page = doc . page ; const PDF_REPORT_DISCLAIMER = constants . PDF_TEXT . DISCLAIMER ; doc . roundedRect ( 20 , page . height - 100 , page . width - 40 , 30 , 2 ) . fillColor ( constants . PDColors . BG_LIGHT ) . fill ( ) ; doc . font ( "OpenSansLight" ) . fontSize ( 8 ) . fillColor ( "#333333" ) . text ( PDF_REPORT_DISCLAIMER . trim ( ) , 30 , page . height - 90 , { width : page . width - 60 } ) ; return doc ; }
Generate the Disclaimer text included on the PDF Report.
Generate the Disclaimer text included on the PDF Report .
// 741.89