@bookipi/htmlgenerator 1.4.4-alpha2 → 1.4.4-alpha3

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.
@@ -12107,7 +12107,7 @@ var BookipayBrandFooter = function BookipayBrandFooter(_ref) {
12107
12107
  var _ref$logoUrl = _ref.logoUrl,
12108
12108
  logoUrl = _ref$logoUrl === void 0 ? 'https://s3.amazonaws.com/bookipi.com/assets/img/app/bookipi-brand-logo.png' : _ref$logoUrl,
12109
12109
  _ref$title = _ref.title,
12110
- title = _ref$title === void 0 ? 'Generated by Bookipi' : _ref$title,
12110
+ title = _ref$title === void 0 ? 'Generated by Free invoice app' : _ref$title,
12111
12111
  _ref$cta = _ref.cta,
12112
12112
  cta = _ref$cta === void 0 ? {
12113
12113
  label: 'Download Bookipi App',
@@ -12148,6 +12148,7 @@ var invoiceHtmlWithDetails = (function (_ref) {
12148
12148
  signItIntegration = _ref$signItIntegratio === void 0 ? false : _ref$signItIntegratio,
12149
12149
  _ref$showFooterBrand = _ref.showFooterBrand,
12150
12150
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12151
+ footerBrandText = _ref.footerBrandText,
12151
12152
  t = _ref.t;
12152
12153
  invoice = sanitize(invoice);
12153
12154
  var defaultLang = {
@@ -12258,7 +12259,8 @@ var invoiceHtmlWithDetails = (function (_ref) {
12258
12259
  }), InvoiceAttachments({
12259
12260
  attachments: attachments
12260
12261
  }), showFooterBrand ? BookipayBrandFooter({
12261
- t: t
12262
+ t: t,
12263
+ title: footerBrandText
12262
12264
  }) : "", !removeHtmlStandardDom ? "</body></html>" : "");
12263
12265
  return {
12264
12266
  html: html,
@@ -12644,6 +12646,7 @@ var invoiceHtmlWithDetailsNew = (function (_ref) {
12644
12646
  signItIntegration = _ref$signItIntegratio === void 0 ? false : _ref$signItIntegratio,
12645
12647
  _ref$showFooterBrand = _ref.showFooterBrand,
12646
12648
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12649
+ footerBrandText = _ref.footerBrandText,
12647
12650
  t = _ref.t,
12648
12651
  _ref$showWatermark = _ref.showWatermark,
12649
12652
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
@@ -12765,7 +12768,8 @@ var invoiceHtmlWithDetailsNew = (function (_ref) {
12765
12768
  }), InvoiceAttachments({
12766
12769
  attachments: attachments
12767
12770
  }), showFooterBrand ? BookipayBrandFooter({
12768
- t: t
12771
+ t: t,
12772
+ title: footerBrandText
12769
12773
  }) : "", !removeHtmlStandardDom ? "</body></html>" : "");
12770
12774
  return {
12771
12775
  html: html,
@@ -12805,6 +12809,7 @@ var invoiceHtml = (function (_ref) {
12805
12809
  isNewLayout = _ref$isNewLayout === void 0 ? false : _ref$isNewLayout,
12806
12810
  _ref$showFooterBrand = _ref.showFooterBrand,
12807
12811
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
12812
+ footerBrandText = _ref.footerBrandText,
12808
12813
  _ref$showWatermark = _ref.showWatermark,
12809
12814
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
12810
12815
  var renderInvoice = isNewLayout ? invoiceHtmlWithDetailsNew : invoiceHtmlWithDetails;
@@ -12822,6 +12827,7 @@ var invoiceHtml = (function (_ref) {
12822
12827
  itemWidth: itemWidth,
12823
12828
  forceItemUnitPriceDecimal: forceItemUnitPriceDecimal,
12824
12829
  showFooterBrand: showFooterBrand,
12830
+ footerBrandText: footerBrandText,
12825
12831
  signItIntegration: signItIntegration,
12826
12832
  t: t,
12827
12833
  showWatermark: showWatermark
@@ -12999,6 +13005,7 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
12999
13005
  isNewLayout = _ref$isNewLayout === void 0 ? false : _ref$isNewLayout,
13000
13006
  _ref$showFooterBrand = _ref.showFooterBrand,
13001
13007
  showFooterBrand = _ref$showFooterBrand === void 0 ? false : _ref$showFooterBrand,
13008
+ footerBrandText = _ref.footerBrandText,
13002
13009
  _ref$showWatermark = _ref.showWatermark,
13003
13010
  showWatermark = _ref$showWatermark === void 0 ? false : _ref$showWatermark;
13004
13011
  return invoiceHtml({
@@ -13016,6 +13023,7 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
13016
13023
  t: t,
13017
13024
  isNewLayout: isNewLayout,
13018
13025
  showFooterBrand: showFooterBrand,
13026
+ footerBrandText: footerBrandText,
13019
13027
  showWatermark: showWatermark
13020
13028
  });
13021
13029
  };