components/table/

how a file's values look

itemkindamountbudgetbalancescoreonpaid
1salaryincome4,200.004,000.004,200.009Mon 2 Nov 2026yes
2rentrent(1,350.00)(1,400.00)2,850.006Tue 3 Nov 2026yes
3marketfood(86.40)(120.00)2,763.607Thu 5 Nov 2026no
4savingstransfer(1,000.00)(800.00)1,763.604Fri 6 Nov 2026no
5birthdaygift(64.99)(50.00)1,698.612Sun 8 Nov 2026no
6refundother23.500.001,722.1110Mon 9 Nov 2026no
space picks it up, the arrows move it, space puts it down, escape puts it backspace picks it up, the arrows move it, space puts it down, escape puts it back
ledger.cells
---
type Kind = income#green|rent#red|food#orange|transfer#blue|gift#9b5de5|other
type Money = EUR
look Money: grouped, negative in parentheses, negative red
look balance: red when balance < budget, green when balance >= budget
look score: scale red..green
look on: as 'ddd D MMM YYYY'
look row: gray when paid
---
item: text!,kind: Kind,amount: Money,budget: Money,balance: Money,score: 0..10,on: date,paid: yes/no
salary,income,4200.00,4000.00,4200.00,9,2026-11-02,yes
rent,rent,-1350.00,-1400.00,2850.00,6,2026-11-03,yes
market,food,-86.40,-120.00,2763.60,7,2026-11-05,no
savings,transfer,-1000.00,-800.00,1763.60,4,2026-11-06,no
birthday,gift,-64.99,-50.00,1698.61,2,2026-11-08,no
refund,other,23.50,0.00,1722.11,10,2026-11-09,no