@bookipi/htmlgenerator 1.1.32 → 1.1.33

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
@@ -9793,7 +9793,7 @@ var invoiceHtml = (function (_ref) {
9793
9793
  var docTypeMapping = new Map([[0, "estimate"], [1, "invoice"], [2, "credit_note"], [3, "delivery_note"], [4, "purchase_order"], ["estimate", 0], ["invoice", 1], ["credit_note", 2], ["delivery_note", 3], ["purchase_order", 4]]);
9794
9794
  var ItemCompat = function ItemCompat(item) {
9795
9795
  if (item == null) return null;
9796
- var mapping = new Map([["name", "n"], ["productCode", "productCode"], ["description", "dsc"], ["price", "p"], ["quantity", "q"], ["tax", "tx"], ["tax2", "tx2"], ["discount", "dc"], ["total", "t"]]);
9796
+ var mapping = new Map([["name", "n"], ["description", "dsc"], ["price", "p"], ["quantity", "q"], ["tax", "tx"], ["tax2", "tx2"], ["discount", "dc"], ["total", "t"]]);
9797
9797
  return Object.fromEntries(Object.entries(item).map(function (_ref) {
9798
9798
  var k = _ref[0],
9799
9799
  v = _ref[1];