@bookipi/htmlgenerator 1.1.23-alpha6 → 1.1.23-alpha8

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.
@@ -1622,6 +1622,7 @@ function formatMoney(num, c, d, t, forcePositive) {
1622
1622
  return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
1623
1623
  }(c, d, t);
1624
1624
  }
1625
+
1625
1626
  var FormatCurrencyDetails = function FormatCurrencyDetails(value, currency, lang, cFormat, rtl, removeDecimal, showLongSymbol) {
1626
1627
  var currencyName = currency || "USD";
1627
1628
 
@@ -9679,7 +9680,7 @@ var DocumentDefinitionCompat = function DocumentDefinitionCompat(dd) {
9679
9680
 
9680
9681
  var CompanyCompat = function CompanyCompat(doc) {
9681
9682
  if (doc == null) return null;
9682
- var mapping = new Map([["dateFormat", "df"], ["timeZone", "tz"], ["language", "la"], ["TFN", "tfn"], ["paymentInstruction1", "p1"], ["paymentInstruction2", "p2"], ["paymentInstruction3", "p3"], ["invoiceColor", "ct"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["twoTaxes", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["name", "c"], ["hasPaymentInstruction", "pi"], ["additionalInfo", "ai"], ["phoneNumber", "ph"], ["displayEmail", "de"], ["email", "e"], ["logoExists", "lg"], ["currency", "cr"], ["hasSignature", "sg"]]);
9683
+ var mapping = new Map([["dateFormat", "df"], ["timeZone", "tz"], ["language", "la"], ["TFN", "tfn"], ["paymentInstruction1", "p1"], ["paymentInstruction2", "p2"], ["paymentInstruction3", "p3"], ["invoiceColor", "ct"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["twoTaxes", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["name", "c"], ["hasPaymentInstruction", "pi"], ["additionalInfo", "ai"], ["phoneNumber", "ph"], ["displayEmail", "de"], ["email", "e"], ["logoExists", "lg"], ["currency", "cr"], ["hasSignature", "sg"], ["currencyFormat", "cf"]]);
9683
9684
  var rootMapping = new Map([["template", TemplateCompat], ["documentDefinitions", DocumentDefinitionCompat]]);
9684
9685
  var newCompany = Object.fromEntries(Object.entries(doc).map(function (_ref6) {
9685
9686
  var k = _ref6[0],