Currently, the behaviour of a viewobj when a period for which it has no data is undefined.
I would rather that it keeps its old values but greys itself out to indicate that it's no longer current.
Note also that there's no UI for changing the period. There's another issue for that.
This will involve considerable work in viewobj.js. The object will need to keep track of the last valid period, and the renderer will have to get the last valid period, and render on that basis, then grey it out somehow (perhaps apply another css class that does ... something? perhaps create 'revenueGreyedOut'/'expensesGreyedOut' or something with a better name?).
This is 2-3 hours ($40-$60), with definite potential for extension.
Currently, the behaviour of a viewobj when a period for which it has no data is undefined. I would rather that it keeps its old values but greys itself out to indicate that it's no longer current.
Note also that there's no UI for changing the period. There's another issue for that.
This will involve considerable work in viewobj.js. The object will need to keep track of the last valid period, and the renderer will have to get the last valid period, and render on that basis, then grey it out somehow (perhaps apply another css class that does ... something? perhaps create 'revenueGreyedOut'/'expensesGreyedOut' or something with a better name?).
This is 2-3 hours ($40-$60), with definite potential for extension.