Totals per day not yet refactored.
Totals per day refactored.
Totals per day refactored.
Totals moved to footer (with refactoring)