@tomei/finance 0.6.73 → 0.6.74

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/finance",
3
- "version": "0.6.73",
3
+ "version": "0.6.74",
4
4
  "description": "NestJS package for finance module",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -343,7 +343,7 @@ export default class Document extends AccountSystemEntity {
343
343
 
344
344
  //updated Status to DocumentStatus.SETTLED if Params.AmountToReduce equals to document.Amount.
345
345
  let updatedStatus;
346
- if (AmountToReduce === document.Amount) {
346
+ if (AmountToReduce == document.Amount) {
347
347
  updatedStatus = DocumentStatus.SETTLED;
348
348
  } else {
349
349
  updatedStatus = DocumentStatus.PARTIALSETTLED;