shareneus 1.4.80 → 1.4.82

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.
@@ -682,6 +682,7 @@ export declare class SharedPDFService {
682
682
  }[];
683
683
  };
684
684
  static GetInvSignatures(CName: any, isCounterSale: boolean): {
685
+ marginTop: number;
685
686
  columns: {
686
687
  stack: ({
687
688
  text: {
@@ -292,7 +292,10 @@ class SharedPDFService {
292
292
  if (Entity.PrUPI && !Entity.IsProforma) {
293
293
  SetData.push({ qr: Entity.UPI, fit: '125', marginLeft: 150 });
294
294
  SetData.push({ text: 'Scan To Pay', fontSize: this.TermsandCond, marginLeft: 151, bold: true, marginTop: 2 });
295
- SetData.push({ text: 'UPI Number: ' + Entity.UPIPhone, fontSize: 9, marginLeft: 151, bold: true, marginTop: 5 });
295
+ // SetData.push({ text: 'UPI Number: ' + Entity.UPIPhone, fontSize: 9, marginLeft: 151, bold: true, marginTop: 5 });
296
+ if (!tr_utils_1.TrUtils.IsNull(Entity.UPIPhone)) {
297
+ SetData.push({ text: 'UPI Number: ' + Entity.UPIPhone, fontSize: 9, marginLeft: 151, bold: true, marginTop: 5 });
298
+ }
296
299
  }
297
300
  // SetData.push({ columns: [this.GetEntityTax(Entity)] })
298
301
  return {
@@ -2253,6 +2256,7 @@ class SharedPDFService {
2253
2256
  }
2254
2257
  static GetInvSignatures(CName, isCounterSale) {
2255
2258
  return {
2259
+ marginTop: 3,
2256
2260
  columns: [{
2257
2261
  stack: [
2258
2262
  { text: this.CompanyName(CName), alignment: 'right' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.80",
3
+ "version": "1.4.82",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",