08585f7fca
Make import/read-csv more testable, warn about any unexpected categories
...
Previously import/read-csv opened a file on the filesystem, making it hard to
test. Now it takes a string or java.io.Reader.
The warning about non-zero records with category "PFML ER PU" has now been
generalised to flag any non-zero records with an unknown category.
2026-02-13 18:30:58 +11:00
23cc4657ee
Make CSV file an argument, handle blank amounts and add non-zero PFML warning
...
Was producing an error due to new PFML field with blank amounts.
2026-02-13 13:36:15 +11:00
7c3b1b9864
Move another System/exit out of run
2025-09-20 00:55:35 +10:00
3e665a4141
Reorder and document import tests
2025-09-20 00:24:01 +10:00
a49880cc94
Fix demo mode and add a test to run demo
...
I've extracted the main functionality into the `run` function so that this can
be tested without triggering the `System/exit` in `-main`.
2025-09-20 00:19:32 +10:00
5b8951c0f0
Support rename of "Liability" to "Liability Expense" on recent CSVs
2025-07-04 16:14:18 +10:00
39198db642
Switch bank account from First Republic to Citizens
2025-05-16 09:16:28 +10:00
2cebde781c
Apply cljfmt
2025-02-10 12:53:33 +11:00
da22fc9339
Add tests for ACH debit transactions
2024-03-15 13:51:04 +11:00
dc5692c718
Add prototype ACH debit transactions
...
Also rearranged transaction functions to have the entry template a the top for
readability. Added helpers for totalling.
2024-03-15 12:22:06 +11:00
8029f8b60c
Fix error handling, add CLI option to assign employee to project
...
Project assignment was previously hard-coded.
2024-03-06 15:26:19 +11:00
69f13c9a52
Add unit tests for each report, rendering and parsing
2024-02-23 19:11:41 +11:00
87d10199e4
Tidy headers
2024-02-22 14:21:47 +11:00
47cabfb0a9
Add example data and test, fix ungrouping, extend docs
2024-02-22 14:06:45 +11:00