WIP: Credit card
This MR allows to handle credit card and deffered debit cards:
- Import debitDate
- Compute balance based on debitDate and operation type
- display outstanding balance if it exists in the client
- display outstanding balance in reports if it exists.
Still to do :
-
Split commit about balance computation and display of outstanding balance -
Display outstanding balance in reports -
Check if balance chart is OK -
Share as much code as possible between server and client for balance and outstanding balance computation. -
Use helpers to compute balanceOffset
-
Merge debit dates as well. -
Use smaller text for 'future' information -
Move outstanding balance to last well -
Add oustanding in/out operations in middle wells -
Add future balance in the first well (instead of outstanding balance) -
Add explenatory text for outstanfing information. For example: Outstanding balance: -100 €
Edited by Antoine