added footer summary (total) in view