fixed invoice payment calculations

Temp fix to get back to $0.00