@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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9792,7 +9792,7 @@ var invoiceHtml = (function (_ref) {
|
|
|
9792
9792
|
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]]);
|
|
9793
9793
|
var ItemCompat = function ItemCompat(item) {
|
|
9794
9794
|
if (item == null) return null;
|
|
9795
|
-
var mapping = new Map([["name", "n"], ["
|
|
9795
|
+
var mapping = new Map([["name", "n"], ["description", "dsc"], ["price", "p"], ["quantity", "q"], ["tax", "tx"], ["tax2", "tx2"], ["discount", "dc"], ["total", "t"]]);
|
|
9796
9796
|
return Object.fromEntries(Object.entries(item).map(function (_ref) {
|
|
9797
9797
|
var k = _ref[0],
|
|
9798
9798
|
v = _ref[1];
|