Skip to content

Commit

Permalink
fix: Error message 'Converted amount can not be greater then 99999999…
Browse files Browse the repository at this point in the history
…' is displayed if user try to create entry for INR currency
  • Loading branch information
the-prateek-mishra committed Jan 21, 2021
1 parent cbd8dd9 commit aae38ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web-giddh/src/app/ledger/ledger.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ export class LedgerComponent implements OnInit, OnDestroy {
this.getCurrencyRate();
} else {
this.baseCurrencyDetails = this.foreignCurrencyDetails;
this.lc.blankLedger = { ...this.lc.blankLedger, exchangeRate: 1, exchangeRateForDisplay: 1 };
}
this.selectedCurrency = 0;
this.assignPrefixAndSuffixForCurrency();
Expand Down

0 comments on commit aae38ef

Please sign in to comment.