Add another Total Field

Hello. on which part of erpnext can i add another total field that will auto generate its total kindly check the image for your reference. thank you.

this can only be managed via a custom script

Hi eli can u share some codes for this to make it work? i try to search in this forum and change there codes according to mine but still no effect. thanks in advance.