issue #23937 - part 2 of desktop client side

Part 2 of the Qt client changes that correspond to the xtuple changes in https://github.com/xtuple/xtuple/pull/1591 for transactions without a corresponding ccard record.
@gilmoskowitz 
Is `O` the preferred code for other cards? I need to use the same thing in Drupal.