I was customizing salary slip print format, and I need to save sum of salary components values in a variable and print it on the salary slip. I was managed to get values using jinja but dont know how to store sum of those values in a variable.
Below is the jinja code:
And this is what I got on salary slip:
I want to display sum of those components.