Skip to content

Same loan can be returned multiple times #3

Description

@IbrahimElhomsany1

Title: Duplicate return allowed for same loan

Description:
The same loan can be returned more than once, causing late fees or state changes to be applied multiple times.

Steps to Reproduce:

  1. Go to the Loans list and find an active loan (e.g., L1).
  2. Mark Loan L1 as Returned.
  3. From the list, attempt to return Loan L1 again.
    Expected Result:

System blocks the second return and shows “Loan already closed” or similar message.
Actual Result:

Second return is processed and late fees are added again.
Severity: Medium
Priority: P2
Status: New

Environment: Chrome 129, Windows 11

Screenshot / Evidence:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions