How to display total amount in my form