shareneus 1.4.80 → 1.4.81

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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.4.80",
3
+ "version": "1.4.81",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",