Files
spliit/src/app
Stefan Hynst 0c05499107 Add support for group income (= negative expenses) (#158)
* Allow negative amount for expenses to be entered

- an expense becomes an income
- this does not affect calculations, i.e. an income can be split just like an expense

* Incomes should not be reimbursements

when entering a negative number
- deselect 'isReimbursement'
- hide reimbursement checkbox

* Change captions when entering a negative number

- "expense" becomes "income"
- "paid" becomes "received"

* Format incomes on expense list

- replace "paid by" with "received by"

* Format incomes on "Stats" tab

- a group's or participants balance might be negative
- in this case "spendings" will be "earnings" (display accordingly)
- always display positive numbers
- for active user: highlight spendings/earnings in red/green

* Fix typo

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2024-05-29 22:20:04 -04:00
..
2023-12-07 16:44:01 -05:00
2023-12-07 16:44:01 -05:00
2023-12-13 15:04:02 -05:00
2023-12-07 16:44:01 -05:00
2024-02-04 11:17:53 -05:00
2024-01-24 09:50:37 -05:00
2024-01-19 12:43:17 -05:00
2024-01-19 12:43:17 -05:00