shareneus 1.0.9 → 1.1.0

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.
@@ -237,25 +237,25 @@ class InvoiceLandscapePdfService {
237
237
  { text: 'Expiry', rowSpan: 2, style: 'tableheader', lineHeight: 1 },
238
238
  { text: 'Qty', style: 'tableheader', rowSpan: 2, lineHeight: 0.5 },
239
239
  { text: 'Offer Qty', style: 'tableheader', rowSpan: 2, lineHeight: 1 },
240
- { text: 'Unit Price', style: 'tableheader', rowSpan: 2, lineHeight: 0.5, alignment: 'center', },
241
240
  { text: 'M.R.P', style: 'tableheader', rowSpan: 2, lineHeight: 0.5, alignment: 'center', },
241
+ { text: 'Unit Price', style: 'tableheader', rowSpan: 2, lineHeight: 0.5, alignment: 'center', },
242
242
  { text: 'Line Total', rowSpan: 2, lineHeight: 0.5, style: 'tabFleheader' }
243
243
  ],
244
244
  [{ text: '', Field: 'SNo', lineHeight: 0.5 }, { text: '', Field: 'MPN', lineHeight: 0.5 },
245
245
  { text: '', Field: 'Desc', lineHeight: 0.5 }, { text: 'HSN/SAC', Field: 'HSN', lineHeight: 0.5 },
246
246
  { text: '', Field: 'Batch', lineHeight: 0.5 }, { text: 'Expiry', Field: 'ExDate', lineHeight: 0.5 },
247
- { text: '', Field: 'QtyAndUoM', lineHeight: 0.5 }, { text: '', Field: 'OfQty', lineHeight: 0.5 }, { text: '', Field: 'UnPr', lineHeight: 0.5 },
248
- { text: '', Field: 'MRP', lineHeight: 0.5 },
247
+ { text: '', Field: 'QtyAndUoM', lineHeight: 0.5 }, { text: '', Field: 'OfQty', lineHeight: 0.5 },
248
+ { text: '', Field: 'MRP', lineHeight: 0.5 }, { text: '', Field: 'UnPr', lineHeight: 0.5 },
249
249
  { text: 'Line Total', Field: 'LineTotal', lineHeight: 0.5 }
250
250
  ]
251
251
  ];
252
- let Count = 9;
252
+ let Count = 10;
253
253
  if (ShowDiscountColumn) {
254
254
  headersNames[0].splice(Count, 0, { text: 'Discount', style: 'tableheader', colSpan: 2, alignment: 'center', lineHeight: 0.8 });
255
255
  headersNames[0].splice(Count + 1, 0, {});
256
256
  headersNames[1].splice(Count, 0, { text: '%', alignment: 'center', style: 'tableheader', Field: 'Perc', type: 'percentage', lineHeight: 0.5 });
257
257
  headersNames[1].splice(Count + 1, 0, { text: 'Rs', alignment: 'center', style: 'tableheader', Field: 'Disc', type: 'amount', lineHeight: 0.5 });
258
- Count = 11;
258
+ Count = 12;
259
259
  }
260
260
  if (ShowIGST) {
261
261
  headersNames[0].splice(Count, 0, { text: 'IGST', style: 'tableheader', colSpan: 2, alignment: 'center', lineHeight: 0.8 });
@@ -282,23 +282,24 @@ class InvoiceLandscapePdfService {
282
282
  { text: 'Expiry', rowSpan: 2, style: 'tableheader', lineHeight: 1 },
283
283
  { text: 'Qty', style: 'tableheader', rowSpan: 2, lineHeight: 0.6 },
284
284
  { text: 'Offer Qty', style: 'tableheader', rowSpan: 2, lineHeight: 1 },
285
- { text: 'Unit Price', style: 'tableheader', rowSpan: 2, alignment: 'center', lineHeight: 0.6 },
286
285
  { text: 'M.R.P', style: 'tableheader', rowSpan: 2, lineHeight: 0.5, alignment: 'center', },
286
+ { text: 'Unit Price', style: 'tableheader', rowSpan: 2, alignment: 'center', lineHeight: 0.6 },
287
287
  { text: 'Line Total', rowSpan: 2, style: 'tableheader', lineHeight: 0.6 }
288
288
  ],
289
289
  [{ text: '', Field: 'SNo', lineHeight: 0.5 },
290
290
  { text: '', Field: 'Desc', lineHeight: 0.5 }, { text: 'HSN/SAC', Field: 'HSN', lineHeight: 0.5 },
291
291
  { text: '', Field: 'Batch', lineHeight: 0.5 }, { text: 'Expiry', Field: 'ExDate', lineHeight: 0.5 },
292
- { text: '', Field: 'QtyAndUoM', lineHeight: 0.5 }, { text: '', Field: 'OfQty', lineHeight: 0.5 }, { text: '', Field: 'UnPr', lineHeight: 0.5 }, { text: '', Field: 'MRP', lineHeight: 0.5 },
292
+ { text: '', Field: 'QtyAndUoM', lineHeight: 0.5 }, { text: '', Field: 'OfQty', lineHeight: 0.5 }, { text: '', Field: 'MRP', lineHeight: 0.5 },
293
+ { text: '', Field: 'UnPr', lineHeight: 0.5 },
293
294
  { text: 'Line Total', Field: 'LineTotal', lineHeight: 0.5 }
294
295
  ]];
295
- let Count = 8;
296
+ let Count = 9;
296
297
  if (ShowDiscountColumn) {
297
298
  headersNames[0].splice(Count, 0, { text: 'Discount', style: 'tableheader', colSpan: 2, alignment: 'center', lineHeight: 0.8 });
298
299
  headersNames[0].splice(Count + 1, 0, {});
299
300
  headersNames[1].splice(Count, 0, { text: '%', alignment: 'center', style: 'tableheader', Field: 'Perc', type: 'percentage', lineHeight: 0.5 });
300
301
  headersNames[1].splice(Count + 1, 0, { text: 'Rs', alignment: 'center', style: 'tableheader', Field: 'Disc', type: 'amount', lineHeight: 0.5 });
301
- Count = 10;
302
+ Count = 11;
302
303
  }
303
304
  if (ShowIGST) {
304
305
  headersNames[0].splice(Count, 0, { text: 'IGST', style: 'tableheader', colSpan: 2, alignment: 'center', lineHeight: 0.8 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",