Skip to content

[Issue]: Donation value calculation #30

Open

Description

@MariyaSamrout

Branch Name

feature/30-donation-value-calculation

Task

Description
Calculate the value of a donation line as quantity × price × quality percentage, using the price in effect on the donation date.

Scope

  • Calculation service
  • Use of the price in effect on the donation date
  • Exact decimal arithmetic with a defined rounding rule
  • Unit tests with hand-computed examples

Acceptance Criteria

  • The value of a line equals quantity × price × quality percentage
  • The price used is the one in effect on the donation date
  • The rounding rule is documented and tested

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the Sprint - 2 milestone on Oct 25, 2026
  2. lauriechammah commented on Oct 26, 2026

    @lauriechammah
    Collaborator

    Review comments:

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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions