Juerd Waalboer
eed0db7897
Cleanup: use subroutine signatures, remove deprecated methods.
...
The signatures feature has been "experimental" since Perl 5.20 (May 2014), but
expected to stay. After 8 years I'm ready to take the risk :)
Have added Perl v5.28 (June 2018) as the minimum requirement, even though the
current revbank should work with 5.20, to see if this bothers any users. Perl
v5.28 is in Debian "buster", which is now oldstable.
2021-12-03 18:00:34 +01:00
Juerd Waalboer
1661661ffd
Use amount object directly internally,
...
instead of relying on operator overloading, but keep the ones where direct use
would result in overly messy code.
2021-12-03 03:23:16 +01:00
Juerd Waalboer
38a0229899
Ditch floating point numbers, use cents instead; bump version to 3.2
2021-12-02 22:18:06 +01:00
Juerd Waalboer
32e84f3725
Fix that 'changed' would return true just because the attribute existed :)
...
Another option would have been to implement 'delete_attribute'.
2019-11-06 17:43:31 +01:00
Juerd Waalboer
bb8c52b593
Do provide final cart when no pending cart was ever shown...
2019-11-06 06:13:18 +01:00
Juerd Waalboer
0354b3d740
Tweak whitespace
...
Most amounts will have 1 digit before the decimal point, and
I prefer 4 space indents :)
2019-11-05 05:27:37 +01:00
Juerd Waalboer
08af3442a4
Restore # in logs (external tooling and plugin/users::recent depend on it)
2019-11-05 01:50:02 +01:00
Juerd Waalboer
63f81e3711
Change logging of quantity: replace EUR field
2019-11-05 01:32:42 +01:00
Juerd Waalboer
1cbc906f1e
Further update to new ledger-like internals
2019-11-05 00:57:39 +01:00
Juerd Waalboer
5a7a7184dd
Refactor cart to use "entries" instead of "items"
2019-11-04 21:53:07 +01:00
Juerd Waalboer
ed03f09414
Class for transaction (cart) entries.
2019-11-04 19:44:08 +01:00