shareneus 1.5.83 → 1.5.84
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.
|
@@ -84,6 +84,7 @@ function buildPostTotalsInfoSection(data) {
|
|
|
84
84
|
margin: [0, 0, 0, 4]
|
|
85
85
|
}
|
|
86
86
|
];
|
|
87
|
+
console.log('showDueSection:', data.showDueSection, 'paidAmount:', data.paidAmount, 'dueAmount:', data.dueAmount);
|
|
87
88
|
if (data.showDueSection) {
|
|
88
89
|
const paidText = `Paid : Rs.${formatAmountFixed2(data.paidAmount)}`;
|
|
89
90
|
const dueText = `Due : Rs.${formatAmountFixed2(data.dueAmount)}`;
|
|
@@ -104,6 +105,8 @@ function buildPostTotalsInfoSection(data) {
|
|
|
104
105
|
margin: [0, 0, 0, 6]
|
|
105
106
|
});
|
|
106
107
|
}
|
|
108
|
+
console.log('termsText:', termsText);
|
|
109
|
+
console.log('hasQr:', hasQr);
|
|
107
110
|
if (termsText) {
|
|
108
111
|
leftStack.push({
|
|
109
112
|
text: `\u2022 ${termsText}`,
|
|
@@ -112,6 +115,7 @@ function buildPostTotalsInfoSection(data) {
|
|
|
112
115
|
lineHeight: 1.1
|
|
113
116
|
});
|
|
114
117
|
}
|
|
118
|
+
console.log('leftStack:', leftStack);
|
|
115
119
|
const leftColumn = {
|
|
116
120
|
width: hasQr ? '74%' : '*',
|
|
117
121
|
stack: leftStack
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shareneus",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.84",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc"
|
|
9
|
-
},
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc"
|
|
9
|
+
},
|
|
10
10
|
"keywords": [],
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|