We have a custom billing export file that we have created. To make it work correctly we need to have the list of encounters that are to be billed sorted by the doctor providing the service.
I have not been able to determine where in the code the sort order is set. Could someone please point me to the right location so that I can make the appropriate changes for our setup.
Thank you for the guidance. I was unable to find a location in billing_report.php that would change the sort order. I did find the SQL query in library/billrep.inc that is used to get the list for Billing Manager and I changed the ORDER BY there.
@JBegn,
Glad you have worked it out. From your earlier post, we assumed that you are going to add a new Search criteria in the list so we have pointed out the above file. kindly mark your answer as solved so that others can make use of it.