When I try to add a payment method to the Payment Method List (admin->lists), it does not allow to add or edit anything. I already noticed that all the entries in this particular list have a duplicate, so when adding I get an error :
SQL Error with statement:insert failed: INSERT INTO list_options ( list_id, option_id, title, seq, is_default, option_value, mapping, notes, codes, toggle_setting_1, toggle_setting_2, activity, subtype ) VALUES ( ‘payment_method’, ‘check_payment’, ‘Check Payment’, ‘10’, ‘’, ‘0’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’ )–Duplicate entry ‘payment_method-check_payment’ for key ‘PRIMARY’==>/var/www/openvemr/interface/super/edit_list.php at 203:sqlInsert, referer: http://openemr.lan/interface/super/edit_list.php
I can also replicate this behavior in the online demo. Every entry in the PM list also has a duplicate, and when I add anything, it throws the same error, then returns a list with only one option (check_payment) AND a duplicate of it.
It is not doing that when I use the list editor with other lists. Why?
I’m using the latest stable version 5.01(6), the same as the online demo. Both have the same problem.