Skip to content

Comments

O3-5061: Enabled and Added Configuration for Bill Waiver #609

Open
reshma2004 wants to merge 5 commits intoopenmrs:mainfrom
reshma2004:O3-5061-fix
Open

O3-5061: Enabled and Added Configuration for Bill Waiver #609
reshma2004 wants to merge 5 commits intoopenmrs:mainfrom
reshma2004:O3-5061-fix

Conversation

@reshma2004
Copy link

Requirements

  • This PR has a title that briefly describes the work done including a conventional commit type prefix and a Jira ticket number if applicable. See existing PR titles for inspiration.
  • My work is based on designs, which are linked or shown either in the Jira ticket or the description below.
  • My work includes tests or is validated by existing tests.

Summary

  1. Reverted the code to O3-5057 PR to enable Waiver Bill.
  2. Remove hard-coded waiver UUID.
  3. Modified waiver logic to create negative line items instead of payment records.
  4. Add configurable waiverBillableServiceUuid to config schema.
  5. Waivers now reduce bill total as line item discounts rather than recorded payments

Screenshots

image image

Related Issue

Other

@reshma2004
Copy link
Author

reshma2004 commented Feb 3, 2026

This branch has continious updates. I did not push the file billable-services/bill-waiver/utils.ts as it has folder missing. It worked properly without getting updated code yesterday. Today it does not work because utils file is removed. I will work further on this PR with latest code.

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.

1 participant