@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.js
CHANGED
|
@@ -8893,7 +8893,7 @@ var getDocumentName = function getDocumentName(_ref) {
|
|
|
8893
8893
|
var _company$doc$document2;
|
|
8894
8894
|
documentName = (_company$doc$document2 = company.doc[document.ty]) === null || _company$doc$document2 === void 0 ? void 0 : _company$doc$document2.n;
|
|
8895
8895
|
} else {
|
|
8896
|
-
if (document.ty === 1) {
|
|
8896
|
+
if (document.ty === 1 || document.ty === 5) {
|
|
8897
8897
|
documentName = company.r_inv ? company.r_inv : defaultLang['document'];
|
|
8898
8898
|
} else if (document.ty === 2) {
|
|
8899
8899
|
documentName = company.r_crd ? company.r_crd : defaultLang['creditNote'];
|