@bookipi/htmlgenerator 1.1.31-alpha1 → 1.1.31-alpha2

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/dist/index.js CHANGED
@@ -10012,11 +10012,9 @@ var invoiceHtmlWithDetailsAsync = (function (_ref) {
10012
10012
  for (var _iterator3 = _createForOfIteratorHelperLoose(document.pm), _step3; !(_step3 = _iterator3()).done;) {
10013
10013
  var payment = _step3.value;
10014
10014
  paymentContainer = paymentContainer + ("<tr>\n <td class=\"text-md-right\" width=\"22%\">" + t("payment_on.date", {
10015
- date: date
10015
+ date: formatDate(payment.d)
10016
10016
  }) + ("" + (payment.b ? t("payment_on.brand", {
10017
10017
  brand: formatCardBrand(payment.b)
10018
- }) : "") + (endNumber && payment.b ? t("payment_on.endNumber", {
10019
- endNumber: endNumber
10020
10018
  }) : "")) + "</td>\n <td class=\"text-right\" width=\"22%\">" + FormatCurrency$2(payment.a, company.cr, company.la, company.cf) + "</td>\n </tr>");
10021
10019
  }
10022
10020
  }