Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-1656

Amount doesn't match the sum of the Items error when invoicing estimate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.8
    • Fix versions: 1.8.1, 1.9
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      To reproduce:
      1. In the Edit Visit dialog select the Estimates tab.
      2. Create an estimate with multiple items.
      3. Invoice the estimate. The Invoice tab will be displayed, and the first item highlighted in the table.
      4.Click Delete (do not select any other item)
      5. The first item will be deleted, but the total won't reflect this.
      6. Click Apply. A validation error like "Failed to validate: Amount ($28.10) doesn't match the sum of the Items ($25.10)" will be displayed.

      Workarounds:
      1. select the item in the table, prior to deleting it
      2. change any item (e.g. edit the clinician), to force the totals to recalculate

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              tanderson Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6h
                6h

                  Who's Looking?