Skip to content

Comments

O3-5198: Add CashPoint association to Payment entity#76

Open
RajPrakash681 wants to merge 1 commit intoopenmrs:mainfrom
RajPrakash681:O3-5198-payment-cashpoint
Open

O3-5198: Add CashPoint association to Payment entity#76
RajPrakash681 wants to merge 1 commit intoopenmrs:mainfrom
RajPrakash681:O3-5198-payment-cashpoint

Conversation

@RajPrakash681
Copy link
Contributor

@RajPrakash681 RajPrakash681 commented Dec 6, 2025

Description

Adds a cashPoint field to the Payment entity to track which CashPoint the payment was taken at.

Issue: O3-5198

Implementation

  • Added cashPoint field to Payment model with Hibernate mapping
  • REST API auto-loads CashPoint from user's current timesheet (per Ian's guidance)
  • Falls back to bill's CashPoint if no timesheet found
  • Database migration adds column with FK and migrates existing payments

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