@bookipi/htmlgenerator 1.5.25-alpha3 → 1.5.25-alpha4
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 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -13570,7 +13570,6 @@ var InvoiceHeading = function InvoiceHeading(_ref) {
|
|
|
13570
13570
|
invoice = _ref.invoice,
|
|
13571
13571
|
companyLogoBase = _ref.companyLogoBase,
|
|
13572
13572
|
defaultLang = _ref.defaultLang,
|
|
13573
|
-
sentDate = _ref.sentDate,
|
|
13574
13573
|
isQIS = _ref.isQIS;
|
|
13575
13574
|
if (!company || !invoice) return '';
|
|
13576
13575
|
var document = (_invoice$document = invoice.document) != null ? _invoice$document : {};
|
|
@@ -13589,7 +13588,7 @@ var InvoiceHeading = function InvoiceHeading(_ref) {
|
|
|
13589
13588
|
company: company,
|
|
13590
13589
|
logoPath: logoPath,
|
|
13591
13590
|
logoBase64: logoBase64
|
|
13592
|
-
}), documentName, defaultLang['issued'], formatDateJapan(document.d, company.tz),
|
|
13591
|
+
}), 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>" : '', defaultLang['document_no'], 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
13592
|
};
|
|
13594
13593
|
|
|
13595
13594
|
var _templateObject$z, _templateObject2$g;
|
|
@@ -13893,8 +13892,6 @@ var renderLayout = (function (_ref) {
|
|
|
13893
13892
|
showActions = _ref$showActions === void 0 ? false : _ref$showActions,
|
|
13894
13893
|
_ref$isFullScreen = _ref.isFullScreen,
|
|
13895
13894
|
isFullScreen = _ref$isFullScreen === void 0 ? false : _ref$isFullScreen,
|
|
13896
|
-
_ref$sentDate = _ref.sentDate,
|
|
13897
|
-
sentDate = _ref$sentDate === void 0 ? null : _ref$sentDate,
|
|
13898
13895
|
_ref$isQIS = _ref.isQIS,
|
|
13899
13896
|
isQIS = _ref$isQIS === void 0 ? false : _ref$isQIS;
|
|
13900
13897
|
var defaultLang = langJP;
|
|
@@ -13934,7 +13931,6 @@ var renderLayout = (function (_ref) {
|
|
|
13934
13931
|
invoice: invoice,
|
|
13935
13932
|
companyLogoBase: companyLogoBase,
|
|
13936
13933
|
defaultLang: defaultLang,
|
|
13937
|
-
sentDate: sentDate,
|
|
13938
13934
|
isQIS: isQIS
|
|
13939
13935
|
}), InvoiceCompany$2({
|
|
13940
13936
|
document: document,
|
|
@@ -14012,8 +14008,6 @@ var invoiceHtml$1 = (function (_ref) {
|
|
|
14012
14008
|
showActions = _ref$showActions === void 0 ? false : _ref$showActions,
|
|
14013
14009
|
_ref$isFullScreen = _ref.isFullScreen,
|
|
14014
14010
|
isFullScreen = _ref$isFullScreen === void 0 ? false : _ref$isFullScreen,
|
|
14015
|
-
_ref$sentDate = _ref.sentDate,
|
|
14016
|
-
sentDate = _ref$sentDate === void 0 ? null : _ref$sentDate,
|
|
14017
14011
|
_ref$isQIS = _ref.isQIS,
|
|
14018
14012
|
isQIS = _ref$isQIS === void 0 ? false : _ref$isQIS;
|
|
14019
14013
|
return renderLayout({
|
|
@@ -14034,7 +14028,6 @@ var invoiceHtml$1 = (function (_ref) {
|
|
|
14034
14028
|
showWatermark: showWatermark,
|
|
14035
14029
|
showActions: showActions,
|
|
14036
14030
|
isFullScreen: isFullScreen,
|
|
14037
|
-
sentDate: sentDate,
|
|
14038
14031
|
isQIS: isQIS
|
|
14039
14032
|
}).html;
|
|
14040
14033
|
});
|
|
@@ -14062,8 +14055,6 @@ var InvoiceCompatHtml$1 = function InvoiceCompatHtml(_ref) {
|
|
|
14062
14055
|
showActions = _ref$showActions === void 0 ? false : _ref$showActions,
|
|
14063
14056
|
_ref$isFullScreen = _ref.isFullScreen,
|
|
14064
14057
|
isFullScreen = _ref$isFullScreen === void 0 ? false : _ref$isFullScreen,
|
|
14065
|
-
_ref$sentDate = _ref.sentDate,
|
|
14066
|
-
sentDate = _ref$sentDate === void 0 ? null : _ref$sentDate,
|
|
14067
14058
|
_ref$isQIS = _ref.isQIS,
|
|
14068
14059
|
isQIS = _ref$isQIS === void 0 ? false : _ref$isQIS;
|
|
14069
14060
|
return invoiceHtml$1({
|
|
@@ -14082,7 +14073,6 @@ var InvoiceCompatHtml$1 = function InvoiceCompatHtml(_ref) {
|
|
|
14082
14073
|
showWatermark: showWatermark,
|
|
14083
14074
|
showActions: showActions,
|
|
14084
14075
|
isFullScreen: isFullScreen,
|
|
14085
|
-
sentDate: sentDate,
|
|
14086
14076
|
isQIS: isQIS
|
|
14087
14077
|
});
|
|
14088
14078
|
};
|