Prevent "Null" from being displayed on payments with no payment type set.

The javascript was trying to perform string modifications to NULL on the customers/payments page.
This just needed to check and see if a payment type was actually set and ignore it if it's not.