shareneus 1.7.13 → 1.7.14

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.
@@ -240,7 +240,7 @@ function resolveOtherDetails(transactionData, printConfig = {}) {
240
240
  { label: 'Vehicle', value: vehicleDetails },
241
241
  { label: 'Regn. No', value: (0, pdf_shared_utils_1.firstValue)(RegnNo) },
242
242
  { label: 'Engine No', value: (0, pdf_shared_utils_1.firstValue)(EngNo) },
243
- { label: 'Chassis', value: (0, pdf_shared_utils_1.firstValue)(ChassisNo) },
243
+ { label: 'Chassis No', value: (0, pdf_shared_utils_1.firstValue)(ChassisNo) },
244
244
  { label: 'Milage', value: Milage },
245
245
  ...(shouldShowDoctorName ? [{ label: 'Doctor Name', value: DoctorName }] : [])
246
246
  ].filter((line) => !!line.value);
@@ -305,11 +305,11 @@ function buildOtherDetailsStack(otherDetails) {
305
305
  if (lines.length > 0) {
306
306
  stack.push({
307
307
  table: {
308
- widths: ['auto', 8, '*'],
308
+ widths: ['auto', 6, '*'],
309
309
  body: lines.map((line) => ([
310
- { text: line.label || '', bold: true, fontSize: 8, color: '#111827', alignment: 'right' },
311
- { text: ':', bold: true, fontSize: 8, color: '#111827', alignment: 'center' },
312
- { text: line.value || '-', fontSize: 8, color: '#111827', alignment: 'left' }
310
+ { text: line.label || '', bold: true, fontSize: 7, color: '#111827', alignment: 'right' },
311
+ { text: ':', bold: true, fontSize: 7, color: '#111827', alignment: 'center' },
312
+ { text: line.value || '-', fontSize: 7, color: '#111827', alignment: 'left' }
313
313
  ]))
314
314
  },
315
315
  layout: 'noBorders'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.7.13",
3
+ "version": "1.7.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -299,7 +299,7 @@ function resolveOtherDetails(transactionData: any, printConfig: any = {}) {
299
299
  { label: 'Vehicle', value: vehicleDetails },
300
300
  { label: 'Regn. No', value: firstValue(RegnNo) },
301
301
  { label: 'Engine No', value: firstValue(EngNo) },
302
- { label: 'Chassis', value: firstValue(ChassisNo) },
302
+ { label: 'Chassis No', value: firstValue(ChassisNo) },
303
303
  { label: 'Milage', value: Milage },
304
304
  ...(shouldShowDoctorName ? [{ label: 'Doctor Name', value: DoctorName }] : [])
305
305
  ].filter((line) => !!line.value);
@@ -371,11 +371,11 @@ function buildOtherDetailsStack(otherDetails: any) {
371
371
  if (lines.length > 0) {
372
372
  stack.push({
373
373
  table: {
374
- widths: ['auto', 8, '*'],
374
+ widths: ['auto', 6, '*'],
375
375
  body: lines.map((line: any) => ([
376
- { text: line.label || '', bold: true, fontSize: 8, color: '#111827', alignment: 'right' },
377
- { text: ':', bold: true, fontSize: 8, color: '#111827', alignment: 'center' },
378
- { text: line.value || '-', fontSize: 8, color: '#111827', alignment: 'left' }
376
+ { text: line.label || '', bold: true, fontSize: 7, color: '#111827', alignment: 'right' },
377
+ { text: ':', bold: true, fontSize: 7, color: '#111827', alignment: 'center' },
378
+ { text: line.value || '-', fontSize: 7, color: '#111827', alignment: 'left' }
379
379
  ]))
380
380
  },
381
381
  layout: 'noBorders'