Merge pull request #22693 from surajshetty3416/fix-financial-statement-print-format

fix: Show total row in print format of financial statement