spliit icon indicating copy to clipboard operation
spliit copied to clipboard

Add ability to write math expression in amount field

Open parthokunda opened this issue 6 months ago • 2 comments

When creating new expenses, currently there is no support to write mathematical expressions. My solution includes a package math-expression-evaluator. On change in the amount field, it tries to evaluate the string and shows the evaluated value if correct and 'Invalid expression' otherwise. The evaluated amount is shown below the input box. 'This is a reimbursement' is renamed to 'Reimbursement' and shifted to the right side of the total value field.

Fixes #183

parthokunda avatar Jul 27 '24 08:07 parthokunda