shareneus 1.4.75 → 1.4.77

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.
Files changed (46) hide show
  1. package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.d.ts +4 -4
  2. package/dist/accounting/counter-sales/sales-receipt-pdf.service.d.ts +4 -4
  3. package/dist/accounting/credit-note/credit-note-pdf.service.d.ts +4 -4
  4. package/dist/accounting/debit-note/debit-note-pdf.service.d.ts +4 -4
  5. package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +4 -6
  6. package/dist/accounting/invoice/hc-inv-pdf.service.js +3 -3
  7. package/dist/accounting/invoice/inv-pdf.service.d.ts +4 -4
  8. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +4 -4
  9. package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +4 -4
  10. package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.d.ts +4 -4
  11. package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.d.ts +4 -4
  12. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +4 -4
  13. package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +4 -4
  14. package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +4 -4
  15. package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.d.ts +4 -4
  16. package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.d.ts +4 -4
  17. package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.d.ts +4 -4
  18. package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.d.ts +4 -4
  19. package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.d.ts +4 -4
  20. package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.d.ts +4 -4
  21. package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +4 -4
  22. package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +4 -4
  23. package/dist/accounting/payment-receive/payment-pdf.service.d.ts +4 -4
  24. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +4 -4
  25. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +4 -4
  26. package/dist/gst/pdf/hsn-summary-pdf.d.ts +4 -4
  27. package/dist/inventory/items/issue-parts-pdf.service.d.ts +4 -4
  28. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +4 -4
  29. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +4 -4
  30. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +4 -4
  31. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +4 -4
  32. package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +4 -4
  33. package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +4 -4
  34. package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +4 -4
  35. package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +4 -4
  36. package/dist/sales/sales/pack-ship-pdf.service.d.ts +4 -4
  37. package/dist/sales/sales/sales-pdf.service.d.ts +4 -4
  38. package/dist/services/reports/pdf/insurance-expire-pdf.service.d.ts +4 -4
  39. package/dist/services/reports/pdf/next-service-date-pdf.service.d.ts +4 -4
  40. package/dist/services/reports/pdf/repair-orders-pdf.service.d.ts +4 -4
  41. package/dist/services/ro-pdf.service.d.ts +16 -16
  42. package/dist/services/separate-wo-print.service.d.ts +4 -4
  43. package/dist/services/technician-pdf.service.d.ts +4 -4
  44. package/dist/shared/shared-pdf.service.d.ts +36 -15
  45. package/dist/shared/shared-pdf.service.js +16 -18
  46. package/package.json +1 -1
@@ -1488,7 +1488,7 @@ class SharedPDFService {
1488
1488
  // { text: 'CGST', style: 'tableheader', fontSize: 6, lineHeight: 0.3, Field: 'CGST' },
1489
1489
  // { text: 'SGST', style: 'tableheader', fontSize: 6, lineHeight: 0.3, Field: 'SGST' },
1490
1490
  // { text: 'Count', style: 'tableheader', fontSize: 6, lineHeight: 0.3, Field: 'PartsCount' },
1491
- { text: 'Tax Rate', style: 'tableheader2', fontSize: 6, lineHeight: 0.3, Field: 'CombinedTaxPercentage', alignment: 'center' },
1491
+ { text: 'Tax Rate', style: 'tableheader2', fontSize: 6, lineHeight: 0.3, Field: 'CombinedTaxPercentage', alignment: 'left' },
1492
1492
  { text: 'Taxable Amount', style: 'tableheader2', fontSize: 6, lineHeight: 0.3, Field: 'TotalTaxableAmount', alignment: 'right' },
1493
1493
  // { text: 'Tax Amount', style: 'tableheader2', fontSize: 6, lineHeight: 0.3, Field: 'TotalTaxAmount' },
1494
1494
  ];
@@ -1527,7 +1527,7 @@ class SharedPDFService {
1527
1527
  }
1528
1528
  else {
1529
1529
  part[column.Field] = '';
1530
- dataRow.push({ text: part[column.Field].toString(), alignment: 'center', opacity: 0.7, fontSize: 6 });
1530
+ dataRow.push({ text: part[column.Field].toString(), alignment: 'left', opacity: 0.7, fontSize: 6 });
1531
1531
  }
1532
1532
  });
1533
1533
  body.push(dataRow);
@@ -1647,8 +1647,7 @@ class SharedPDFService {
1647
1647
  this.GrandTotal1(RecordData, BasicLaborTotal, BasicPartsTotal, totalDisc, totalTax, For, OverAllRecordTotal, Rounded, GrandTotal, Adj, Consolidate, STotal, moreDiscDetails)
1648
1648
  ]
1649
1649
  // columnGap: 40
1650
- ,
1651
- marginLeft: 10
1650
+ // , marginLeft: 10
1652
1651
  };
1653
1652
  }
1654
1653
  static GrandTotal1(RecordData, LaborAfterGST, PartsAfterGST, OverAllRecordDiscount, totalTax, For, OverAllRecordTotal, Rounded, GrandTotal, Adj, Consolidate, STotal, moreDiscDetails) {
@@ -2125,8 +2124,8 @@ class SharedPDFService {
2125
2124
  marginBottom: 5,
2126
2125
  table: {
2127
2126
  widths: ['*', 'auto'],
2128
- body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber) },
2129
- { text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber) }]]
2127
+ body: [[{ text: 'Paid : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Paid, DecimalsNumber), marginLeft: 30 },
2128
+ { text: 'Due : Rs.' + tr_utils_1.TrUtils.FixPriceValue(Due, DecimalsNumber), marginRight: 30 }]]
2130
2129
  },
2131
2130
  layout: this.LayOutLineStyle(),
2132
2131
  };
@@ -2144,8 +2143,8 @@ class SharedPDFService {
2144
2143
  marginBottom: 5,
2145
2144
  table: {
2146
2145
  widths: ['*', 'auto'],
2147
- body: [[{ text: 'Paid : ' + Paid },
2148
- { text: 'Due : ' + Due }]]
2146
+ body: [[{ text: 'Paid : Rs.' + Paid, marginLeft: 30 },
2147
+ { text: 'Due : Rs.' + Due, marginRight: 30 }]]
2149
2148
  },
2150
2149
  layout: this.LayOutStyle(),
2151
2150
  };
@@ -2286,14 +2285,13 @@ class SharedPDFService {
2286
2285
  }
2287
2286
  static CompanyName(CName) {
2288
2287
  return {
2289
- style: 'forCompany',
2290
- text: ['For ', { text: CName, bold: 'true' }],
2288
+ text: [{ text: 'For ', fontSize: 10 }, { text: CName, bold: 'true', fontSize: 10 }],
2291
2289
  };
2292
2290
  }
2293
2291
  static Authorizedsignature() {
2294
2292
  return {
2295
2293
  style: 'Sign',
2296
- text: ['Authorized Signature'], width: 'auto'
2294
+ text: ['Authorised Signatory'], width: 'auto'
2297
2295
  };
2298
2296
  }
2299
2297
  static Accountantsignature() {
@@ -2312,7 +2310,7 @@ class SharedPDFService {
2312
2310
  static PatientSignature() {
2313
2311
  return {
2314
2312
  style: 'Sign',
2315
- text: ['Patient Signature'], width: '*'
2313
+ text: ['Patient / Guardian Signature'], width: '*'
2316
2314
  };
2317
2315
  }
2318
2316
  static SurveyorSignature(For, Type) {
@@ -2465,7 +2463,7 @@ class SharedPDFService {
2465
2463
  },
2466
2464
  textcust: {
2467
2465
  fontSize: this.BodySize,
2468
- margin: [0, 5, 0, 5],
2466
+ margin: [0, 2, 0, 2],
2469
2467
  },
2470
2468
  column: {
2471
2469
  margin: [15, 0, 0, 0]
@@ -2525,20 +2523,20 @@ class SharedPDFService {
2525
2523
  },
2526
2524
  forCompany: {
2527
2525
  margin: [0, 10, 30, 0],
2528
- fontSize: '9'
2526
+ fontSize: 9
2529
2527
  },
2530
2528
  forCompany1: {
2531
2529
  margin: [0, 5, 15, 0],
2532
- fontSize: '9'
2530
+ fontSize: 9
2533
2531
  },
2534
2532
  Rupees: {
2535
2533
  margin: [0, 40, 0, 0],
2536
- fontSize: '10',
2534
+ fontSize: 10,
2537
2535
  },
2538
2536
  Signature: {
2539
2537
  margin: [0, 40, 50, 0],
2540
2538
  alignment: 'right',
2541
- fontSize: '10'
2539
+ fontSize: 10
2542
2540
  },
2543
2541
  withApp: {
2544
2542
  alignment: 'center',
@@ -2550,7 +2548,7 @@ class SharedPDFService {
2550
2548
  },
2551
2549
  Sign: {
2552
2550
  fontSize: this.BodySize,
2553
- margin: [0, 30, 0, 5]
2551
+ margin: [0, 20, 0, 5]
2554
2552
  },
2555
2553
  Sign1: {
2556
2554
  fontSize: this.BodySize,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.75",
3
+ "version": "1.4.77",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",