@bookipi/htmlgenerator 1.14.1-alpha.1 → 1.14.1-alpha.2
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 +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -415,7 +415,7 @@ var en = (_deposit_due$terms$pr = {
|
|
|
415
415
|
return "This offer is valid from the date of issue and will expire at the close of business (" + x + "). Acceptance will be in the form of accepting and signing this proposal.";
|
|
416
416
|
}, _deposit_due$terms$pr.details_line_3 = function details_line_3(x, y, z) {
|
|
417
417
|
return x + " (" + y + "). " + z;
|
|
418
|
-
}, _deposit_due$terms$pr.details_line_3_1 = 'This offer is valid from the date of issue and will expire at the close of business', _deposit_due$terms$pr.details_line_3_2 = 'Acceptance will be in the form of accepting and signing this proposal.', _deposit_due$terms$pr.details_line_4 = "Please accept this proposal and terms of service. This creates a legally binding contract between us. At any time if you have any questions please contact us on the details above. These terms will be effective throughout the period of our engagement and may only be changed by the Parties' agreement in writing.", _deposit_due$terms$pr.supplier_details = 'Supplier Details', _deposit_due$terms$pr.customer_details = 'Customer Details', _deposit_due$terms$pr.effective_date = 'Dated', _deposit_due$terms$pr.supplier_empty = 'No supplier added yet.', _deposit_due$terms$pr.customer_empty = 'No customer added yet.', _deposit_due$terms$pr.kind_regards = 'Kind regards', _deposit_due$terms$pr.services_title = 'Billing Schedule', _deposit_due$terms$pr["total"] = 'Total:', _deposit_due$terms$pr.items_empty = 'No services added yet.', _deposit_due$terms$pr.agreement_title = 'Terms and Conditions', _deposit_due$terms$pr["signature"] = 'Signature', _deposit_due$terms$pr.proposal_id = 'Proposal ID:', _deposit_due$terms$pr.client = 'Client:', _deposit_due$terms$pr.email_addresses = 'Email address:', _deposit_due$terms$pr.ip = 'IP:', _deposit_due$terms$pr.time = 'Time:', _deposit_due$terms$pr.upgradeRequired = 'Upgrade required', _deposit_due$terms$pr.document = 'Document', _deposit_due$terms$pr["invoice"] = 'Invoice', _deposit_due$terms$pr.estimate = 'Estimate', _deposit_due$terms$pr.creditNote = 'Credit Note', _deposit_due$terms$pr.deliveryNote = 'Delivery Note', _deposit_due$terms$pr.purchaseOrder = 'Purchase Order', _deposit_due$terms$pr.Invoice = 'Invoice', _deposit_due$terms$pr["Estimate"] = 'Estimate', _deposit_due$terms$pr.creditnote = 'Credit Note', _deposit_due$terms$pr.service_delivery_date = 'Date of delivery or completion of service', _deposit_due$terms$pr
|
|
418
|
+
}, _deposit_due$terms$pr.details_line_3_1 = 'This offer is valid from the date of issue and will expire at the close of business', _deposit_due$terms$pr.details_line_3_2 = 'Acceptance will be in the form of accepting and signing this proposal.', _deposit_due$terms$pr.details_line_4 = "Please accept this proposal and terms of service. This creates a legally binding contract between us. At any time if you have any questions please contact us on the details above. These terms will be effective throughout the period of our engagement and may only be changed by the Parties' agreement in writing.", _deposit_due$terms$pr.supplier_details = 'Supplier Details', _deposit_due$terms$pr.customer_details = 'Customer Details', _deposit_due$terms$pr.effective_date = 'Dated', _deposit_due$terms$pr.supplier_empty = 'No supplier added yet.', _deposit_due$terms$pr.customer_empty = 'No customer added yet.', _deposit_due$terms$pr.kind_regards = 'Kind regards', _deposit_due$terms$pr.services_title = 'Billing Schedule', _deposit_due$terms$pr["total"] = 'Total:', _deposit_due$terms$pr.items_empty = 'No services added yet.', _deposit_due$terms$pr.agreement_title = 'Terms and Conditions', _deposit_due$terms$pr["signature"] = 'Signature', _deposit_due$terms$pr.proposal_id = 'Proposal ID:', _deposit_due$terms$pr.client = 'Client:', _deposit_due$terms$pr.email_addresses = 'Email address:', _deposit_due$terms$pr.ip = 'IP:', _deposit_due$terms$pr.time = 'Time:', _deposit_due$terms$pr.upgradeRequired = 'Upgrade required', _deposit_due$terms$pr.document = 'Document', _deposit_due$terms$pr["invoice"] = 'Invoice', _deposit_due$terms$pr.estimate = 'Estimate', _deposit_due$terms$pr.creditNote = 'Credit Note', _deposit_due$terms$pr.deliveryNote = 'Delivery Note', _deposit_due$terms$pr.purchaseOrder = 'Purchase Order', _deposit_due$terms$pr.Invoice = 'Invoice', _deposit_due$terms$pr["Estimate"] = 'Estimate', _deposit_due$terms$pr.creditnote = 'Credit Note', _deposit_due$terms$pr.service_delivery_date = 'Date of delivery or completion of service', _deposit_due$terms$pr.einvoice_tax_label = 'VAT Rate', _deposit_due$terms$pr.label_siren = 'SIREN', _deposit_due$terms$pr.vat = 'VAT', _deposit_due$terms$pr.total_tax = 'Total tax', _deposit_due$terms$pr.einvoice_tax_code_reverse_charge = 'Reverse charge', _deposit_due$terms$pr.einvoice_tax_code_intra_community = 'Intra-community supply', _deposit_due$terms$pr.einvoice_tax_code_export_non_eu = 'Export outside the EU', _deposit_due$terms$pr.einvoice_tax_code_exempt = 'Exempt', _deposit_due$terms$pr.einvoice_tax_code_out_of_scope = 'Out of scope', _deposit_due$terms$pr.einvoice_vat_due_upon_issue = 'VAT due upon issue', _deposit_due$terms$pr.einvoice_vat_due_upon_payment = 'VAT due upon payment', _deposit_due$terms$pr.item_unit_unit = 'Unit', _deposit_due$terms$pr.item_unit_unit_short = function item_unit_unit_short(n) {
|
|
419
419
|
return n === 1 ? 'unit' : 'units';
|
|
420
420
|
}, _deposit_due$terms$pr.item_unit_piece = 'Piece', _deposit_due$terms$pr.item_unit_piece_short = function item_unit_piece_short(n) {
|
|
421
421
|
return n === 1 ? 'pc' : 'pcs';
|
|
@@ -17651,7 +17651,7 @@ var frConfig = {
|
|
|
17651
17651
|
onLabelKey: 'einvoice_vat_due_upon_issue',
|
|
17652
17652
|
offLabelKey: 'einvoice_vat_due_upon_payment'
|
|
17653
17653
|
},
|
|
17654
|
-
taxLabel: '
|
|
17654
|
+
taxLabel: 'einvoice_tax_label',
|
|
17655
17655
|
itemUnitType: true,
|
|
17656
17656
|
itemTaxCodes: true,
|
|
17657
17657
|
taxCodeRates: index.getTaxCodeRates('FR'),
|
|
@@ -18323,9 +18323,9 @@ var InvoiceContent = function InvoiceContent(_ref) {
|
|
|
18323
18323
|
taxName2 = _getTaxDetails.taxName2,
|
|
18324
18324
|
taxIncluded2 = _getTaxDetails.taxIncluded2;
|
|
18325
18325
|
var eInvoiceConfig = getEInvoiceConfig(company.co);
|
|
18326
|
-
var eInvoiceTaxLabel = eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
18327
|
-
var displayTaxName1 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
18328
|
-
var displayTaxName2 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
18326
|
+
var eInvoiceTaxLabel = document.eInvoicing && eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
18327
|
+
var displayTaxName1 = document.tn ? taxName1 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
18328
|
+
var displayTaxName2 = document.tn2 ? taxName2 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
18329
18329
|
var timeZone = company.tz;
|
|
18330
18330
|
var formatDate = function formatDate(date) {
|
|
18331
18331
|
return getFormatDate({
|
|
@@ -18808,7 +18808,7 @@ var getDefaultLang = function getDefaultLang(t, lang) {
|
|
|
18808
18808
|
siren: t ? t('label_siren') : lang['label_siren'],
|
|
18809
18809
|
vat: t ? t('vat') : lang['vat'],
|
|
18810
18810
|
serviceDeliveryDate: t ? t('service_delivery_date') : lang['service_delivery_date'],
|
|
18811
|
-
|
|
18811
|
+
einvoice_tax_label: lang['einvoice_tax_label'],
|
|
18812
18812
|
einvoice_vat_due_upon_issue: t ? t('einvoice_vat_due_upon_issue') : lang['einvoice_vat_due_upon_issue'],
|
|
18813
18813
|
einvoice_vat_due_upon_payment: t ? t('einvoice_vat_due_upon_payment') : lang['einvoice_vat_due_upon_payment'],
|
|
18814
18814
|
total_tax: t ? t('total_tax') : lang['total_tax'],
|
|
@@ -19255,9 +19255,9 @@ var InvoiceContent$1 = function InvoiceContent(_ref) {
|
|
|
19255
19255
|
taxName2 = _getTaxDetails.taxName2,
|
|
19256
19256
|
taxIncluded2 = _getTaxDetails.taxIncluded2;
|
|
19257
19257
|
var eInvoiceConfig = getEInvoiceConfig(company.co);
|
|
19258
|
-
var eInvoiceTaxLabel = eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
19259
|
-
var displayTaxName1 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
19260
|
-
var displayTaxName2 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
19258
|
+
var eInvoiceTaxLabel = document.eInvoicing && eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
19259
|
+
var displayTaxName1 = document.tn ? taxName1 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
19260
|
+
var displayTaxName2 = document.tn2 ? taxName2 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
19261
19261
|
var timeZone = company.tz;
|
|
19262
19262
|
var formatDate = function formatDate(date) {
|
|
19263
19263
|
return getFormatDate({
|