@bookipi/htmlgenerator 1.5.25-alpha5 → 1.5.25-alpha7
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 +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11981,7 +11981,7 @@ var PaymentInstructions = function PaymentInstructions(_ref) {
|
|
|
11981
11981
|
|
|
11982
11982
|
var COMPANY_KEYS = ['_id', 'fax', 'contactName', 'c', 'e', 'ph', 'tfn', 'la', 'cr', 'cf', 'tz', 'ls', 'doc', 'bn', 'tn', 'tn2', 'tp', 'tp2', 'ti', 'ttx', 't1d', 't2d', 'pi', 'p1', 'p2', 'p3', 'sg', 'a1', 'a2', 'a3', 'address', 'language', 'la', 'sc', 'sr', 'ai', 'ct', 'de', 'r_bs', 'r_tc', 'r_nt', 'r_deposit_due', 'r_ad', 'r_gt', 'r_po', 'r_bt', 'r_st', 'r_d', 'r_a', 'r_dc', 'r_ic', 'r_it', 'r_n', 'r_p', 'r_q', 'r_sb', 'r_sp', 'r_tt', 'r_pi', 'r_inv', 'r_est', 'r_crd', 'r_dd', 'df', 'lg', 'hasPaymentInstructionQRCode', 'updatedAt', 'payment_in_progress'];
|
|
11983
11983
|
|
|
11984
|
-
var DOCUMENT_KEYS = ['_id', 'ad', 'ty', 'cu', 'd', 'dd', 'rn', 'it', 'st', 'tx', 'tx2', 'tt', 'dc', 'dcp', 'dcpo', 'sp', 'sntx', 'tp', 'tp2', 'tn', 'tn2', 'ti', 'ttx', 't1d', 't2d', 'pm', 'sca', 'hangingAmount', 'depositAmount', 'um', 'shouldShowPaymentInstructions', 'customization', 'asi', 'no', 'proposal', 'd', 'rd', 'di', 'pon', 'pma', 'depositDue', 'noteHtml', 'nt', 'tc', 'sd', 'cs', 'a1', 'a2', 'a3', 't2di', 'dco', 'csd', 'tz'];
|
|
11984
|
+
var DOCUMENT_KEYS = ['_id', 'ad', 'ty', 'cu', 'd', 'dd', 'rn', 'it', 'st', 'tx', 'tx2', 'tt', 'dc', 'dcp', 'dcpo', 'sp', 'sntx', 'tp', 'tp2', 'tn', 'tn2', 'ti', 'ttx', 't1d', 't2d', 'pm', 'sca', 'hangingAmount', 'depositAmount', 'um', 'shouldShowPaymentInstructions', 'customization', 'asi', 'no', 'proposal', 'd', 'rd', 'di', 'pon', 'pma', 'depositDue', 'noteHtml', 'nt', 'tc', 'sd', 'cs', 'a1', 'a2', 'a3', 't2di', 'dco', 'csd', 'tz', 'sent'];
|
|
11985
11985
|
|
|
11986
11986
|
Object.fromEntries = Object.fromEntries || function (arr) {
|
|
11987
11987
|
return arr.reduce(function (acc, curr) {
|
|
@@ -13512,7 +13512,7 @@ var langJP = (_document$invoice$est = {
|
|
|
13512
13512
|
due: '期限'
|
|
13513
13513
|
}, _document$invoice$est["due_date"] = 'お支払い期限', _document$invoice$est.issued = '請求日', _document$invoice$est.date = '日付', _document$invoice$est.ship_to = '配送先', _document$invoice$est.bill_to = '宛先', _document$invoice$est.san = '様', _document$invoice$est.gochuu = '御中', _document$invoice$est.pay_online_now = 'お支払いに進む', _document$invoice$est.impose_surcharge = function impose_surcharge(surcharge) {
|
|
13514
13514
|
return "\u5225\u9014\u624B\u6570\u6599\uFF08" + surcharge + "\uFF05\uFF09\u304C\u304B\u304B\u308A\u307E\u3059\u3002";
|
|
13515
|
-
}, _document$invoice$est.payment_instruction = 'お支払いのご案内', _document$invoice$est.upgradeRequired = '無料版', _document$invoice$est.business_number = '法人番号', _document$invoice$est.tax_regulation_number = '登錄番号', _document$invoice$est.issue_from = '発行元', _document$invoice$est.invoice_details = '下記の通りご請求申し上げます。', _document$invoice$est.contact_person = '担当', _document$invoice$est.tax_included = '税込', _document$invoice$est.item_unit_piece = '個', _document$invoice$est.product_code_item_name = '品番・品名', _document$invoice$est.quantity = '数量', _document$invoice$est["price"] = '単価', _document$invoice$est.item_total = '金額', _document$invoice$est.brand_footer_title = '無料の請求書アプリで作成', _document$invoice$est.download_app = 'Bookipiアプリを入手', _document$invoice$est.document_no = '書類番号', _document$invoice$est.sent_date = '送信日', _document$invoice$est.item_date = '日付', _document$invoice$est.reduced_rate = '軽減税率', _document$invoice$est.tax_rate = '税率', _document$invoice$est.tax_excluded = '(税抜)', _document$invoice$est.tax_rate_category = '税率区分', _document$invoice$est.consumption_tax = '消費税', _document$invoice$est.amount_of_tax = '金額(税抜)', _document$invoice$est.tax_subject = '対象', _document$invoice$est.reduced_tax_description = '※は軽減税率対象です。', _document$invoice$est.reduced = '軽減', _document$invoice$est);
|
|
13515
|
+
}, _document$invoice$est.payment_instruction = 'お支払いのご案内', _document$invoice$est.upgradeRequired = '無料版', _document$invoice$est.business_number = '法人番号', _document$invoice$est.tax_regulation_number = '登錄番号', _document$invoice$est.issue_from = '発行元', _document$invoice$est.invoice_details = '下記の通りご請求申し上げます。', _document$invoice$est.contact_person = '担当', _document$invoice$est.tax_included = '税込', _document$invoice$est.item_unit_piece = '個', _document$invoice$est.product_code_item_name = '品番・品名', _document$invoice$est.quantity = '数量', _document$invoice$est["price"] = '単価', _document$invoice$est.item_total = '金額', _document$invoice$est.brand_footer_title = '無料の請求書アプリで作成', _document$invoice$est.download_app = 'Bookipiアプリを入手', _document$invoice$est.document_no = '書類番号', _document$invoice$est.sent_date = '送信日', _document$invoice$est.item_date = '日付', _document$invoice$est.reduced_rate = '軽減税率', _document$invoice$est.tax_rate = '税率', _document$invoice$est.tax_excluded = '(税抜)', _document$invoice$est.tax_rate_category = '税率区分', _document$invoice$est.consumption_tax = '消費税', _document$invoice$est.amount_of_tax = '金額(税抜)', _document$invoice$est.tax_subject = '対象', _document$invoice$est.reduced_tax_description = '※は軽減税率対象です。', _document$invoice$est.reduced = '軽減', _document$invoice$est.number = '番号', _document$invoice$est);
|
|
13516
13516
|
|
|
13517
13517
|
var _templateObject$w;
|
|
13518
13518
|
var html$u = String.raw;
|
|
@@ -13585,11 +13585,15 @@ var InvoiceHeading = function InvoiceHeading(_ref) {
|
|
|
13585
13585
|
document: document,
|
|
13586
13586
|
langJP: defaultLang
|
|
13587
13587
|
});
|
|
13588
|
-
return html$w(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose([" <!-- begin invoice-company -->\n <div class=\"invoice-body\">\n <div class=\"row\">\n <div\n class=\"logo-wrapper col-sm-12 col-md-3 order-1\"\n style=\"padding-top:10px\"\n >\n ", "\n </div>\n <div\n class=\"document-name-wrapper col-sm-12 col-md-9 order-2 text-right\"\n >\n <h1 class=\"document-name\">", "</h1>\n <div>\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >", ":\n </span>\n <span>", "</span>\n </div>\n ", "\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >", ":\n </span>\n <span>", "</span>\n </div>\n ", "\n ", "\n </div>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->"])), LogoContainer$2({
|
|
13588
|
+
return html$w(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose([" <!-- begin invoice-company -->\n <div class=\"invoice-body\">\n <div class=\"row\">\n <div\n class=\"logo-wrapper col-sm-12 col-md-3 order-1\"\n style=\"padding-top:10px\"\n >\n ", "\n </div>\n <div\n class=\"document-name-wrapper col-sm-12 col-md-9 order-2 text-right\"\n >\n <h1 class=\"document-name\">", "</h1>\n <div>\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >", ":\n </span>\n <span>", "</span>\n </div>\n ", "\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >", "", ":\n </span>\n <span>", "</span>\n </div>\n ", "\n ", "\n </div>\n </div>\n </div>\n </div>\n <!-- end invoice-company -->"])), LogoContainer$2({
|
|
13589
13589
|
company: company,
|
|
13590
13590
|
logoPath: logoPath,
|
|
13591
13591
|
logoBase64: logoBase64
|
|
13592
|
-
}), documentName, defaultLang['issued'], formatDateJapan(document.d, company.tz), document.sent ? "\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >" + defaultLang['sent_date'] + ":\n </span>\n <span>" + formatDateJapan(document.sent, company.tz) + "</span>\n </div>" : '',
|
|
13592
|
+
}), documentName, defaultLang['issued'], formatDateJapan(document.d, company.tz), document.sent ? "\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >" + defaultLang['sent_date'] + ":\n </span>\n <span>" + formatDateJapan(document.sent, company.tz) + "</span>\n </div>" : '', getDocumentNameJP({
|
|
13593
|
+
company: company,
|
|
13594
|
+
document: document,
|
|
13595
|
+
langJP: defaultLang
|
|
13596
|
+
}), defaultLang['number'], document.no ? document.no : '', isQIS && company.tfn ? "\n <div class=\"date-and-number\" style=\"margin-bottom: 8px;\">\n <span class=\"date-and-number-label\"\n >" + (company.bn ? company.bn : defaultLang['tax_regulation_number']) + ":\n </span>\n <span>" + (company.tfn ? company.tfn : '') + "</span>\n </div>\n " : '', document.pon ? "\n <div class=\"date-and-number\">\n <span class=\"date-and-number-label\">" + defaultLang['po_number'] + ": </span>\n <span>" + document.pon + "</span>\n </div>\n " : '');
|
|
13593
13597
|
};
|
|
13594
13598
|
|
|
13595
13599
|
var _templateObject$z, _templateObject2$g;
|