Skip to content

Defective maximum amount field for entitlement manager Cash #728

@anthonymarkQA

Description

@anthonymarkQA

Describe the bug
If beneficiary is entitled to 20$ entitlement then i input 50 in Maximum amount field. when i click prepare entitlement, the entitlement generated for the beneficiary would be 50$ instead of 20$.

To Reproduce

  1. Make sure OpenSPP cash is installed and activated
  2. Create a program and select cash as entitlement manager
  3. Input 20$ as amount per cycle
  4. In Maximum field, enter 50 then complete program creation
  5. Create a cycle and Prepare entitlements
  6. Notice the generated entitlement is 50 instead of 20$

Expected behavior
If total amount per beneficiary > Maximum amount, entitlement = maximum amount
else entitlement = total amount.

Screenshots

Image

Additional context

🔔 Note: This ticket should address common considerations without including country-specific content. Please ensure all references are generic and applicable across various contexts.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions