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

awaitingPayment should never go below 0

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 4.2.0
    • None
    • ACQ Sprint 81
    • 1
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases