Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-82

awaitingPayment should never go below 0

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 81
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview

      As a follow-on story to MODFISTO-28, budget.awaitingPayment should never be less than 0. When a credit is processed, awaitingPayment should decreases as described on the wiki, but never below 0.

      Example:
      awaitingPayment: 10, and you receive a credit of 20, awaitingPayment -> 0.

      The wiki has been updated/clarified with the necessary calculation details.

      Acceptance Criteria

      • budget.awaitingPayment is updated upon credit as described on the wiki
      • unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases