Calculate Total Qty of items table of Sales Invoice

@2002m what is the issue?

Do you can see any error in browser console?
try use console.log to check the values