Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Billing Manager Date of Service selector not working #7069

Closed
juggernautsei opened this issue Dec 2, 2023 · 2 comments · Fixed by #7126
Closed

bug: Billing Manager Date of Service selector not working #7069

juggernautsei opened this issue Dec 2, 2023 · 2 comments · Fixed by #7126
Labels
Milestone

Comments

@juggernautsei
Copy link
Member

Describe the bug

Date of Service selector not working in the demo.

console error
image

To Reproduce

Select the date of service selector and select one of the preselects.
image

Expected behavior

If the last year is selected set the dates for the previous year as before.

Client configuration

  • Browser: both chrome an firefox
  • OpenEMR version: 7.0.2
  • Operating system: Ubuntu or ...
@juggernautsei
Copy link
Member Author

After some poking around, we found that there have been major renovations to the generate_select_list. Suppose we replace the function with the previous version. The system works like it is supposed to. Now the task is debugging the function.

@stephenwaite
Copy link
Sponsor Member

hi @juggernautsei , looks like need to attr_js('=') in https://github.com/openemr/openemr/blob/master/interface/reports/criteria.tab.php#L101

'this.options[this.selectedIndex].value,' . attr_js('=') . ',' . attr_js('master_from_date_' . $DateNamePart) . ',' . attr_js('master_to_date_' . $DateNamePart) . ',

@adunsulag adunsulag changed the title Billing Manager Date of Service selector not working bug: Billing Manager Date of Service selector not working Dec 30, 2023
@adunsulag adunsulag added this to the 7.0.2.1 milestone Dec 30, 2023
@adunsulag adunsulag added the Bug label Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants