Report not showing total

Hi,
Below is my screenshot of my report code as well as the output but I am not getting the total at the end.


7 posts were merged into an existing topic: How to Write Script Report in ERPNext