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

Prescriptions dispensed from Patients - Medical Records - Prescriptions invoice incorrectly when discounts used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.9
    • Fix versions: 2.0
    • Components: Financial
    • Labels:
      None
    • Sprint:

      Description

      To reproduce:
      1. create a 50% discount type
      2. create a product with Fixed Price=3, and Unit Price=0.10, and assign it the discount
      3. assign the patient the discount
      4. create a prescription for the product, with Quantity=10
      5. create and invoice in Customers - Charges and charge the product, clicking on Yes when the 'Use Prescription?' prompt is displayed
      6. verify that the invoice line item has:

      • Quantity = 10
      • Fixed Price = 3
      • Unit Price = 0.10
      • Discount = 2.0
      • Tax = 0.0 (assuming no tax for this test)
      • Total = 2.0

      7. Go to Patients - Medical Records - Prescriptions and click Dispense on the prescription
      8. Check the invoice. This has incorrect values i.e.:

      • Discount = 1.55
      • Total = 2.45

        Attachments

          Activity

            People

            • Assignee:
              Tim Anderson
              Reporter:
              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 - 8.5h
                8.5h

                  Who's Looking?