allocate quick payment only when customer has multiple open invoices, #15861