Compare commits
2 Commits
0a179c2503
...
e123fdaf49
| Author | SHA1 | Date | |
|---|---|---|---|
| e123fdaf49 | |||
| d8bef8bbe7 |
2
BUGS
2
BUGS
@@ -1,3 +1,5 @@
|
||||
* cannot remove bill type (Kayo) - OR (TODO): modify it to yearly from monthly
|
||||
|
||||
* can put in dumb dates - DO SOME INPUT VALIDATION, *sigh*
|
||||
- e.g. 0026-02-19 for a Gas bill
|
||||
|
||||
|
||||
2
calc.py
2
calc.py
@@ -285,6 +285,8 @@ def calculate_savings_depletion(finance, bill_data, bill_type):
|
||||
D_CBA_shares -= 1
|
||||
Sell_shares -= 1
|
||||
|
||||
# can run out, if so, no need to add :)
|
||||
if actual_sell>0:
|
||||
current_savings += actual_sell
|
||||
add_annotation(finance, current_date, current_savings, actual_sell, "Sell shares" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user