Skip to content

Commit

Permalink
[ch37656] DEV apps bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
danNordlogic committed Jul 30, 2024
1 parent 7810423 commit 62d1e4b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ export class FindingsSummaryDialog extends CommonMethodsMixin(TableElementsMixin
${aeNumber} and Financial Findings: ${ffNumber} are in USD`;
}
let isvalid = true;
if (aeNumber < ffNumber) {
if (aeNumber <= ffNumber) {
ffElement.invalid = true;
ffElement.errorMessage = 'Cannot exceed Audited Expenditure';
ffElement.errorMessage = 'Must be less than Audited Expenditure';
isvalid = false;
} else {
ffElement.invalid = false;
Expand All @@ -383,9 +383,9 @@ export class FindingsSummaryDialog extends CommonMethodsMixin(TableElementsMixin
const ffNumberLocal = ffElementLocal && toNumber(ffElementLocal.value);
const aeElementLocal = this.shadowRoot!.querySelector('#audited-expenditure-local') as unknown as EtoolsCurrency;
const aeNumberLocal = aeElementLocal && toNumber(aeElementLocal.value);
if (aeNumberLocal < ffNumberLocal) {
if (aeNumberLocal <= ffNumberLocal) {
ffElementLocal.invalid = true;
ffElementLocal.errorMessage = 'Cannot exceed Audited Expenditure Local';
ffElementLocal.errorMessage = 'Must be less than Audited Expenditure Local';
isvalid = false;
} else {
ffElementLocal.invalid = false;
Expand Down

0 comments on commit 62d1e4b

Please sign in to comment.