@bookipi/htmlgenerator 1.1.26-alpha12 → 1.1.26-alpha14
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/bookipayLogo~HwotOVDe.svg +0 -31
- package/dist/bootstrap.css +0 -10653
- package/dist/font-awesome.css +0 -1807
- package/dist/index.css +0 -12323
package/dist/index.js
CHANGED
|
@@ -9769,7 +9769,7 @@ var CustomerCompat = function CustomerCompat(customer) {
|
|
|
9769
9769
|
|
|
9770
9770
|
var InvoiceCompat = function InvoiceCompat(doc) {
|
|
9771
9771
|
if (doc == null) return null;
|
|
9772
|
-
var mapping = new Map([["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["customer", ["cu", CustomerCompat]], ["items", ["it", ItemCompat]], ["taxInclusive", "ti"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["enableTax2", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["tax1_total", "tx"], ["tax2_total", "tx2"], ["taxDeductibleInc2", "t2di"], ["shippingCost", "sp"], ["shippingNonTax", "sntx"], ["total", "tt"], ["subtotal", "st"], ["amountDue", "ad"], ["discount", "dc"], ["discountOption", "dco"], ["discountPercentage", "dcp"], ["discountPercentageOption", "dcpo"], ["payments", ["pm", PaymentCompat]], ["paymentAmount", "pma"], ["timeZone", "tz"], ["type", "ty"], ["date", "d"], ["dueDate", "dd"], ["dueIn", "di"], ["removeDueDate", "rd"], ["purchaseOrderNumber", "pon"], ["note", "nt"], ["signDate", "sd"], ["customerSignature", "cs"], ["customerSigned", "
|
|
9772
|
+
var mapping = new Map([["address1", "a1"], ["address2", "a2"], ["address3", "a3"], ["customer", ["cu", CustomerCompat]], ["items", ["it", ItemCompat]], ["taxInclusive", "ti"], ["taxPercentage", "tp"], ["taxDeductible", "t1d"], ["taxInclusive", "ti"], ["taxName", "tn"], ["enableTax2", "ttx"], ["taxName2", "tn2"], ["taxPercentage2", "tp2"], ["taxDeductible2", "t2d"], ["tax1_total", "tx"], ["tax2_total", "tx2"], ["taxDeductibleInc2", "t2di"], ["shippingCost", "sp"], ["shippingNonTax", "sntx"], ["total", "tt"], ["subtotal", "st"], ["amountDue", "ad"], ["discount", "dc"], ["discountOption", "dco"], ["discountPercentage", "dcp"], ["discountPercentageOption", "dcpo"], ["payments", ["pm", PaymentCompat]], ["paymentAmount", "pma"], ["timeZone", "tz"], ["type", "ty"], ["date", "d"], ["dueDate", "dd"], ["dueIn", "di"], ["removeDueDate", "rd"], ["purchaseOrderNumber", "pon"], ["note", "nt"], ["signDate", "sd"], ["customerSignature", "cs"], ["customerSigned", "csd"], ["surchargeAmount", "sca"]]);
|
|
9773
9773
|
return Object.fromEntries(Object.entries(doc).map(function (_ref4) {
|
|
9774
9774
|
var k = _ref4[0],
|
|
9775
9775
|
v = _ref4[1];
|
|
@@ -10151,7 +10151,7 @@ var contractHtml = (function (props) {
|
|
|
10151
10151
|
});
|
|
10152
10152
|
|
|
10153
10153
|
var company = _extends({}, realTimeCompany, frozenCompany, {
|
|
10154
|
-
dateFormat: realTimeCompany.dateFormat || frozenCompany.dateFormat
|
|
10154
|
+
dateFormat: (realTimeCompany === null || realTimeCompany === void 0 ? void 0 : realTimeCompany.dateFormat) || (frozenCompany === null || frozenCompany === void 0 ? void 0 : frozenCompany.dateFormat) || 0
|
|
10155
10155
|
});
|
|
10156
10156
|
|
|
10157
10157
|
var sectionsDefine = SECTION_DEFINE;
|