add custnum to invoice template vars