Statement.inc.php file incorrectly sets the billing facility to the same value of service facility regardless of what is entered in Admin->Facility

When printing statements it looks like the billing facility will always be the service facility. Am I missing something? This doesn’t make sense to me. Here is the code that confuses me. This seems wrong.

strong text

good point @growlingflea, looks like we need another sqlstatement to grab the billing location and/or need to modify the facility location statement :slight_smile:

I’m looking into that now. It looks a little more complicated than just changing the billing facility. I’m working on this now and will have a solution soon.

1 Like

Its looking like some of the issues are coming from the interface/billing/sl_eob_search.php file.

OK. Testing my changes on the 501 branch. It works on 500.

OK. Pull request made about three days ago

Please reference the P.R # when referencing so folks don’t have to look for it. Just copy/paste the url in message.
Thanks for fixing this.