shareneus 1.6.34 → 1.6.35

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.
@@ -1396,8 +1396,9 @@ class RoprintService {
1396
1396
  dataRow.push({ text: part[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
1397
1397
  }
1398
1398
  else {
1399
+ console.log(part.TCode);
1399
1400
  if (((column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt' || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc')
1400
- && !tr_utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
1401
+ && tr_utils_1.TrUtils.CheckInvalidSelect(part.TCode))) {
1401
1402
  part[column.Field] = '';
1402
1403
  dataRow.push({ text: part[column.Field].toString(), alignment: 'center' });
1403
1404
  }
@@ -1484,8 +1485,9 @@ class RoprintService {
1484
1485
  dataRow.push({ text: Ops[column.Field].toString(), marginLeft: 50, style: 'InlineHeader' });
1485
1486
  }
1486
1487
  else {
1488
+ console.log(Ops.TCode);
1487
1489
  if (((column.Field === 'CGSTAmt' || column.Field === 'SGSTAmt' || column.Field === 'CGSTPerc' || column.Field === 'SGSTPerc' || column.Field === 'IGSTAmt' || column.Field === 'IGSTPerc')
1488
- && !tr_utils_1.TrUtils.CheckInvalidSelect(Ops.TCode))) {
1490
+ && tr_utils_1.TrUtils.CheckInvalidSelect(Ops.TCode))) {
1489
1491
  Ops[column.Field] = '';
1490
1492
  dataRow.push({ text: Ops[column.Field].toString(), alignment: 'center' });
1491
1493
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.6.34",
3
+ "version": "1.6.35",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",