@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.modern.js
CHANGED
|
@@ -413,7 +413,7 @@ var en = (_deposit_due$terms$pr = {
|
|
|
413
413
|
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.";
|
|
414
414
|
}, _deposit_due$terms$pr.details_line_3 = function details_line_3(x, y, z) {
|
|
415
415
|
return x + " (" + y + "). " + z;
|
|
416
|
-
}, _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
|
|
416
|
+
}, _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) {
|
|
417
417
|
return n === 1 ? 'unit' : 'units';
|
|
418
418
|
}, _deposit_due$terms$pr.item_unit_piece = 'Piece', _deposit_due$terms$pr.item_unit_piece_short = function item_unit_piece_short(n) {
|
|
419
419
|
return n === 1 ? 'pc' : 'pcs';
|
|
@@ -17650,7 +17650,7 @@ var frConfig = {
|
|
|
17650
17650
|
onLabelKey: 'einvoice_vat_due_upon_issue',
|
|
17651
17651
|
offLabelKey: 'einvoice_vat_due_upon_payment'
|
|
17652
17652
|
},
|
|
17653
|
-
taxLabel: '
|
|
17653
|
+
taxLabel: 'einvoice_tax_label',
|
|
17654
17654
|
itemUnitType: true,
|
|
17655
17655
|
itemTaxCodes: true,
|
|
17656
17656
|
taxCodeRates: index.getTaxCodeRates('FR'),
|
|
@@ -18322,9 +18322,9 @@ var InvoiceContent = function InvoiceContent(_ref) {
|
|
|
18322
18322
|
taxName2 = _getTaxDetails.taxName2,
|
|
18323
18323
|
taxIncluded2 = _getTaxDetails.taxIncluded2;
|
|
18324
18324
|
var eInvoiceConfig = getEInvoiceConfig(company.co);
|
|
18325
|
-
var eInvoiceTaxLabel = eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
18326
|
-
var displayTaxName1 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
18327
|
-
var displayTaxName2 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
18325
|
+
var eInvoiceTaxLabel = document.eInvoicing && eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
18326
|
+
var displayTaxName1 = document.tn ? taxName1 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
18327
|
+
var displayTaxName2 = document.tn2 ? taxName2 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
18328
18328
|
var timeZone = company.tz;
|
|
18329
18329
|
var formatDate = function formatDate(date) {
|
|
18330
18330
|
return getFormatDate({
|
|
@@ -18807,7 +18807,7 @@ var getDefaultLang = function getDefaultLang(t, lang) {
|
|
|
18807
18807
|
siren: t ? t('label_siren') : lang['label_siren'],
|
|
18808
18808
|
vat: t ? t('vat') : lang['vat'],
|
|
18809
18809
|
serviceDeliveryDate: t ? t('service_delivery_date') : lang['service_delivery_date'],
|
|
18810
|
-
|
|
18810
|
+
einvoice_tax_label: lang['einvoice_tax_label'],
|
|
18811
18811
|
einvoice_vat_due_upon_issue: t ? t('einvoice_vat_due_upon_issue') : lang['einvoice_vat_due_upon_issue'],
|
|
18812
18812
|
einvoice_vat_due_upon_payment: t ? t('einvoice_vat_due_upon_payment') : lang['einvoice_vat_due_upon_payment'],
|
|
18813
18813
|
total_tax: t ? t('total_tax') : lang['total_tax'],
|
|
@@ -19254,9 +19254,9 @@ var InvoiceContent$1 = function InvoiceContent(_ref) {
|
|
|
19254
19254
|
taxName2 = _getTaxDetails.taxName2,
|
|
19255
19255
|
taxIncluded2 = _getTaxDetails.taxIncluded2;
|
|
19256
19256
|
var eInvoiceConfig = getEInvoiceConfig(company.co);
|
|
19257
|
-
var eInvoiceTaxLabel = eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
19258
|
-
var displayTaxName1 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
19259
|
-
var displayTaxName2 = eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
19257
|
+
var eInvoiceTaxLabel = document.eInvoicing && eInvoiceConfig !== null && eInvoiceConfig !== void 0 && eInvoiceConfig.taxLabel ? defaultLang[eInvoiceConfig.taxLabel] : null;
|
|
19258
|
+
var displayTaxName1 = document.tn ? taxName1 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName1;
|
|
19259
|
+
var displayTaxName2 = document.tn2 ? taxName2 : eInvoiceTaxLabel != null ? eInvoiceTaxLabel : taxName2;
|
|
19260
19260
|
var timeZone = company.tz;
|
|
19261
19261
|
var formatDate = function formatDate(date) {
|
|
19262
19262
|
return getFormatDate({
|