@frankie My client gets exact same error and failure behavior causing this ‘Batch Payments’ feature not to work at all in 5.0.2 as Distribute/Show All Transactions functionality gets broken . I was also able to recreate this issue in Demo 5.0.2 as well as by steps you had listed above.
Initially, payment related data is entered (dates, payment method, payment from (insurance) etc. in the top portion of the Batch Payment Entry form, and then Allocate/ Save button options are clicked on (see Screenshot #1). This causes form’s three fields: Payment Method, Paying Entity and Payment Category to fill up strangely with a html table syntax (available selection values for that dropdown box) as shown on attached screenshot #2. Next, in the bottom part of form in the Distribute section, a patient name still can be selected but related distribute’s select radio buttons incl. “Show All Transactions” functionality is not working and no transactions gets queried and displayed nor can be associated with a payment. These are same exact errors and results as in this previous initial post reported here by @frankie . Thanks for your help on this.
OpenEMR Version
5.0.2
Browser:
Chrome 76.0.3809.100 /Firefox 68.0.2
Install Type / PHP:
Linux / PHP 7.3
For example Payment Method gets filled up with a following html syntax (available dropdown box selection values for Payment Method):
<table cellpadding='0' cellspacing='0' width='100%'><tr><td width='100%' nowrap><input type='radio'>Check Payment</td></tr><tr><td width='100%' nowrap><input type='radio'>Cash</td></tr><tr><td width='100%' nowrap><input type='radio'>Credit Card</td></tr><tr><td width='100%' nowrap><input type='radio' checked>Electronic</td></tr><tr><td width='100%' nowrap><input type='radio'>Bank Draft</td></tr><tr><td width='100%' nowrap><input type='radio'>Authorize.net</td></tr><tr><td colspan='1' style='height:0.7em'></td></tr></table>