shareneus 1.4.67 → 1.4.68

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.
@@ -338,6 +338,9 @@ class InvPrintService {
338
338
  let Customer = {};
339
339
  if (!tr_utils_1.TrUtils.IsNull(argInvoiceData.BillTo)) {
340
340
  Customer.Name = argInvoiceData.BillTo.Name;
341
+ if (!tr_utils_1.TrUtils.IsNull(argInvoiceData.BillTo.Sltn)) {
342
+ Customer.Name = argInvoiceData.BillTo.Sltn + ' ' + Customer.Name;
343
+ }
341
344
  Customer.Code = (_a = argInvoiceData.Cust) === null || _a === void 0 ? void 0 : _a.Code;
342
345
  Customer.Adrs = [];
343
346
  Customer.Cons = [];
@@ -370,7 +370,7 @@ export declare class SharedPDFService {
370
370
  stack: {
371
371
  style: string;
372
372
  table: {
373
- widths: number[];
373
+ widths: (string | number)[];
374
374
  headerRows: number;
375
375
  body: any;
376
376
  };
@@ -399,7 +399,7 @@ export declare class SharedPDFService {
399
399
  static AllHSNPartCGSTTaxListTable1(PartsTaxInfo: any, ShowAccParts: any, ShowIGST: any, ShowTaxColumn: any): {
400
400
  style: string;
401
401
  table: {
402
- widths: number[];
402
+ widths: (string | number)[];
403
403
  headerRows: number;
404
404
  body: any;
405
405
  };
@@ -487,7 +487,7 @@ export declare class SharedPDFService {
487
487
  stack: {
488
488
  style: string;
489
489
  table: {
490
- widths: number[];
490
+ widths: (string | number)[];
491
491
  headerRows: number;
492
492
  body: any;
493
493
  };
@@ -1350,7 +1350,7 @@ class SharedPDFService {
1350
1350
  return {
1351
1351
  style: 'tableExample',
1352
1352
  table: {
1353
- widths: [40, 30, 45, 45],
1353
+ widths: [40, 'auto', 50],
1354
1354
  headerRows: 1,
1355
1355
  body: this.CreateHSNTaxTable1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn)
1356
1356
  },
@@ -1361,7 +1361,7 @@ class SharedPDFService {
1361
1361
  return {
1362
1362
  style: 'tableExample',
1363
1363
  table: {
1364
- widths: [50, 25, 45, 25, 45, 50],
1364
+ widths: [50, '*', 50, 50],
1365
1365
  headerRows: 1,
1366
1366
  body: this.CreateHSNTaxTable1(PartsTaxInfo, ShowAccParts, ShowIGST, ShowTaxColumn)
1367
1367
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.67",
3
+ "version": "1.4.68",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",