shareneus 1.3.1 → 1.3.2

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.
@@ -96,13 +96,13 @@ class InvoicePortraitPrintService {
96
96
  columns: [{ image: InvoicePDFData.Image, width: 60, height: 60, marginBottom: 5 },
97
97
  {
98
98
  stack: [
99
- { text: InvoicePDFData.Entity.CName, style: ['headerstyle'], alignment: 'center', fontSize: 15 },
100
- { text: this.GetAddress(InvoicePDFData.Entity), alignment: 'center', style: ['headerstyle'] },
99
+ { text: InvoicePDFData.Entity.CName, style: ['headerstyle'], alignment: 'left', fontSize: 15 },
100
+ { text: this.GetAddress(InvoicePDFData.Entity), alignment: 'left', style: ['headerstyle'] },
101
101
  {
102
102
  columns: this.GetHeaderInfo(InvoicePDFData, 0)
103
103
  },
104
- { text: InvoicePDFData.HeaderName, alignment: 'center', style: ['Receiptheader1'], marginTop: 5 }
105
- ], marginLeft: -80
104
+ { text: InvoicePDFData.HeaderName, alignment: 'left', style: ['Receiptheader1'], marginTop: 5 }
105
+ ]
106
106
  }
107
107
  ], columnGap: 10
108
108
  };
@@ -156,13 +156,13 @@ class PosReceiptPrintService {
156
156
  columns: [{ image: InvoicePDFData.Image, width: 60, height: 60, marginBottom: 5 },
157
157
  {
158
158
  stack: [
159
- { text: InvoicePDFData.Entity.CName, style: ['headerstyle'], alignment: 'center', fontSize: 15 },
160
- { text: this.GetAddress(InvoicePDFData.Entity), alignment: 'center', style: ['headerstyle'] },
159
+ { text: InvoicePDFData.Entity.CName, style: ['headerstyle'], alignment: 'left', fontSize: 15 },
160
+ { text: this.GetAddress(InvoicePDFData.Entity), alignment: 'left', style: ['headerstyle'] },
161
161
  {
162
162
  columns: this.GetHeaderInfo(InvoicePDFData, 0)
163
163
  },
164
164
  { text: InvoicePDFData.HeaderName, alignment: 'center', style: ['Receiptheader1'], marginTop: 5 }
165
- ], marginLeft: -80
165
+ ]
166
166
  }
167
167
  ], columnGap: 10
168
168
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",