Refactor total_charge method
Replace temp variable with query method
Add html_statement method