Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Receiving Order Display Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame committed Nov 15, 2024
1 parent e6d13f4 commit 2dec49e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/utils/ADempiere/contextUtils/evaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,11 @@ export class evaluator {
// parse to number to evaluate "0" with "0.00"
if (!Number.isNaN(value1)) {
const convertedNumber1 = Number(value1)
if (!isEmptyValue(convertedNumber1)) {
value1 = convertedNumber1
}
if (!isEmptyValue(convertedNumber1)) value1 = convertedNumber1
}
if (!Number.isNaN(value2)) {
const convertedNumber2 = Number(value2)
if (!isEmptyValue(convertedNumber2)) {
value2 = convertedNumber2
}
if (!isEmptyValue(convertedNumber2)) value2 = convertedNumber2
}
let isValueLogic
switch (operand) {
Expand Down

0 comments on commit 2dec49e

Please sign in to comment.