Commit graph

21 commits

Author SHA1 Message Date
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
ea5d8bd8b5 Merge branch 'master' of github.com:Juerd/revbank 2020-03-01 06:17:27 +01:00
Juerd Waalboer
f7a7a19d8d Fix #7 2020-03-01 06:16:08 +01:00
Wouter
4315f1ecb5
Fix the name of hook_checkout_done in Plugins.pod 2020-02-28 21:29:12 +01:00
Juerd Waalboer
464a6db78c Whitespace tweaks (newlines)
Consistency: empty line before each prompt, but not after.
2019-11-06 19:13:12 +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
f9554ec463 Move old stuff to bottom of source file 2019-11-05 01:35:22 +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
Juerd Waalboer
b6855df288 Make balance zero-crossing timestamp accessible 2019-09-21 01:38:07 +02:00
Juerd Waalboer
4178009405 Register timestamp of zero crossing in accounts file 2019-08-28 18:55:59 +02:00
Juerd Waalboer
b31b95ca37 Bugfix: 'stock' counted 1 after using 'repeat'
The 'stock' plugin uses the 'product_id' field in the cart item, but
this was not copied by the 'repeat' plugin. The confusion is caused by a
mismatch between the API for RevBank::Cart->add and the internal
representation.
2018-06-09 23:47:21 +02:00
Juerd Waalboer
c5c48dcd2c Split POD 2018-03-04 16:36:20 +01:00
Juerd Waalboer
4ad7129805 New hook: checkout_done 2017-05-10 22:08:33 +02:00
Juerd Waalboer
add3100401 New plugin: repeat (undocumented), new hook: "added" 2017-02-19 00:41:20 +01:00
Juerd Waalboer
b0ee7e88bf cwd is no longer in @INC in new perl versions 2017-02-18 22:31:19 +01:00