@appcorp/app-corp-vista 0.1.97 → 0.1.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.1.97",
3
+ "version": "0.1.98",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -97,46 +97,6 @@ exports.salesReceiptTemplateV1 = {
97
97
  fontName: 'font_bold',
98
98
  readOnly: false,
99
99
  },
100
- {
101
- name: 'dateLabel',
102
- type: 'text',
103
- position: { x: 150, y: 34 },
104
- content: '',
105
- width: 11,
106
- height: 8,
107
- rotate: 0,
108
- alignment: 'center',
109
- verticalAlignment: 'top',
110
- fontSize: 9,
111
- lineHeight: 1,
112
- characterSpacing: 0,
113
- fontColor: '#909E98',
114
- backgroundColor: '',
115
- opacity: 1,
116
- dynamicFontSize: { min: 6, max: 9, fit: 'vertical' },
117
- fontName: 'font_light',
118
- readOnly: false,
119
- },
120
- {
121
- name: 'dateValue',
122
- type: 'text',
123
- content: '',
124
- position: { x: 160, y: 34 },
125
- width: 45,
126
- height: 8,
127
- rotate: 0,
128
- alignment: 'right',
129
- verticalAlignment: 'top',
130
- fontSize: 9,
131
- lineHeight: 1,
132
- characterSpacing: 0,
133
- fontColor: '#909E98',
134
- backgroundColor: '',
135
- opacity: 1,
136
- dynamicFontSize: { min: 6, max: 9, fit: 'vertical' },
137
- fontName: 'font_light',
138
- readOnly: false,
139
- },
140
100
  {
141
101
  name: 'items',
142
102
  type: 'table',
@@ -144,13 +104,14 @@ exports.salesReceiptTemplateV1 = {
144
104
  width: 190,
145
105
  height: 13.528,
146
106
  showHead: true,
147
- head: ['TENANT NAME', 'PROPERTY ADDRESS', 'DAYS', 'RENT', 'TOTAL'],
107
+ head: ['NO.', 'PAYPAL TRANSACTION ID', 'TYPE', 'DATE', 'INTRO AMOUNT', 'AMOUNT'],
148
108
  headWidthPercentages: [
149
- 34,
150
- 34,
151
- 10,
152
- 10,
153
- 12,
109
+ 6,
110
+ 30,
111
+ 16,
112
+ 15,
113
+ 18,
114
+ 15,
154
115
  ],
155
116
  fontName: 'font_regular',
156
117
  tableStyles: { borderWidth: 0, borderColor: '#000000' },
@@ -182,7 +143,7 @@ exports.salesReceiptTemplateV1 = {
182
143
  padding: { top: 2, right: 2, bottom: 2, left: 2 },
183
144
  },
184
145
  columnStyles: {
185
- alignment: { 0: 'left', 1: 'left', 2: 'right', 3: 'right', 4: 'right' },
146
+ alignment: { 0: 'left', 1: 'left', 2: 'left', 3: 'left', 4: 'left', 5: 'right' },
186
147
  },
187
148
  readOnly: false,
188
149
  content: '[]',
@@ -211,8 +172,8 @@ exports.salesReceiptTemplateV1 = {
211
172
  name: 'subTotalValue',
212
173
  type: 'text',
213
174
  content: '$500',
214
- position: { x: 173.79, y: 110 },
215
- width: 26.21,
175
+ position: { x: 167.26, y: 110 },
176
+ width: 32.48,
216
177
  height: 7.56,
217
178
  rotate: 0,
218
179
  alignment: 'right',
@@ -230,7 +191,7 @@ exports.salesReceiptTemplateV1 = {
230
191
  {
231
192
  name: 'subTotalDivider',
232
193
  type: 'line',
233
- position: { x: 126.56, y: 118 },
194
+ position: { x: 127.09, y: 118 },
234
195
  width: 71.91,
235
196
  height: 1,
236
197
  rotate: 0,
@@ -278,52 +239,6 @@ exports.salesReceiptTemplateV1 = {
278
239
  fontName: 'font_regular',
279
240
  readOnly: false,
280
241
  },
281
- {
282
- name: 'noteLabel',
283
- type: 'text',
284
- position: { x: 190, y: 40 },
285
- required: false,
286
- content: 'Note',
287
- width: 10,
288
- height: 6.56,
289
- rotate: 0,
290
- alignment: 'right',
291
- verticalAlignment: 'top',
292
- fontSize: 10,
293
- lineHeight: 1,
294
- characterSpacing: 0,
295
- fontColor: '#2C3139',
296
- backgroundColor: '',
297
- opacity: 1,
298
- strikethrough: false,
299
- underline: false,
300
- dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
301
- fontName: 'font_bold',
302
- readOnly: false,
303
- },
304
- {
305
- name: 'noteValue',
306
- type: 'text',
307
- position: { x: 120, y: 45 },
308
- required: false,
309
- content: '',
310
- width: 80,
311
- height: 9,
312
- rotate: 0,
313
- alignment: 'right',
314
- verticalAlignment: 'top',
315
- fontSize: 10,
316
- lineHeight: 1,
317
- characterSpacing: 0,
318
- fontColor: '#909E98',
319
- backgroundColor: '',
320
- opacity: 1,
321
- strikethrough: false,
322
- underline: false,
323
- dynamicFontSize: { min: 8, max: 10, fit: 'vertical' },
324
- fontName: 'font_light',
325
- readOnly: false,
326
- },
327
242
  {
328
243
  name: 'marketingNote',
329
244
  type: 'text',
@@ -389,7 +304,7 @@ exports.salesReceiptTemplateV1 = {
389
304
  readOnly: false,
390
305
  },
391
306
  {
392
- name: 'totalLine',
307
+ name: 'totalDivider',
393
308
  type: 'line',
394
309
  position: { x: 127.09, y: 133 },
395
310
  width: 72.91,