Issue #23459 Issue #23937 Support external pre-auths with no card_id.

Uses:
https://github.com/xtuple/qt-client/pull/381
@gilmoskowitz
This is the conditional logic we talked about. You will need to do something similar for the ccpay_card_pan_trunc and ccpay_card_type in the Qt client.

Do you want me to take this further and populate ccpay_card_type from historic ccard_type data and remove all references to ccard_type that can use ccpay_card_type instead? We would need to change the logic on all inserts or add a trigger to pull it form ccard if ccpay_ccard_id is set and it's null.