@bookipi/htmlgenerator 1.12.0-alpha3 → 1.12.0-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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8891,7 +8891,7 @@ var getDocumentName = function getDocumentName(_ref) {
|
|
|
8891
8891
|
var _company$doc$document2;
|
|
8892
8892
|
documentName = (_company$doc$document2 = company.doc[document.ty]) === null || _company$doc$document2 === void 0 ? void 0 : _company$doc$document2.n;
|
|
8893
8893
|
} else {
|
|
8894
|
-
if (document.ty === 1) {
|
|
8894
|
+
if (document.ty === 1 || document.ty === 5) {
|
|
8895
8895
|
documentName = company.r_inv ? company.r_inv : defaultLang['document'];
|
|
8896
8896
|
} else if (document.ty === 2) {
|
|
8897
8897
|
documentName = company.r_crd ? company.r_crd : defaultLang['creditNote'];
|