Skip to content

Conversation

@ChinthakaPrasad
Copy link
Collaborator

No description provided.

PasinduW99 and others added 27 commits September 25, 2025 14:27
Signed-off-by: Dr M H B Ariyaratne <buddhika.ari@gmail.com>
Signed-off-by: OsaVS <41975253+OsaVS@users.noreply.github.com>
This hotfix implements privilege-based control for editing patient details
in OPD and Collecting Centre billing modules.

Changes:
- Added new privilege: OpdEditPatientDetails to Privileges.java
- Added privilege to OPD category grouping
- Added privilege tree node in UserPrivilageController
- Updated controllers with privilege checks:
  * OpdBillController
  * BillPackageController
  * CollectingCentreBillController
- Updated XHTML pages to hide edit toggle for users without privilege:
  * opd_bill_ac.xhtml
  * opd_bill.xhtml
  * opd_order.xhtml
  * opd_bill_package.xhtml
  * collecting_centre/bill.xhtml

Behavior:
- New patients: All users can add (no privilege required)
- Existing patients: Only users with OpdEditPatientDetails can edit
- Protection: Both UI-level (hidden toggle) and server-side validation

Closes #18246

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…ilege-hotfix

Add OPD Edit Patient Details privilege - HOTFIX for production
Resolved conflicts by accepting development branch changes for OPD package UI improvements.
This brings all latest features and improvements from development branch to production.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
Signed-off-by: damithdeshan98 <hkddrajapaksha@gmail.com>
Signed-off-by: damithdeshan98 <hkddrajapaksha@gmail.com>
Fixed - CC Print and OPD print Error
…mport-items

#18274 Need to download excel Import Items without stock
…ncome-category-wise-report

#18236 Create wireframe for IP Income Category Wise Report
…ic-data

18127 speciality wise demographic data
…-type-for-surgery

#17918 - Add text box for Surgery Type for surgery
@ChinthakaPrasad ChinthakaPrasad self-assigned this Feb 2, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ChinthakaPrasad ChinthakaPrasad merged commit 5a5b157 into hims-qa1 Feb 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants