https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42598

            Bug ID: 42598
           Summary: Spent totals on acq homepage and funds page should
                    calculate using quantity received
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Acquisitions
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The GetBudgetHierarchy sub from C4/Budgets.pm is used to calculate the Spent
amount shown on the acq homepage (/cgi-bin/koha/acqui/acqui-home.pl) and the
funds page in admin (/cgi-bin/koha/admin/aqbudgets.pl). This sub calculates
using aqorders.quantity rather than aqorders.quantityreceived, which is not
strictly accurate.

It is possible to receive more items than were ordered, in which case quantity
will show the number ordered while quantityreceived will show the number
actually received (and therefore the number actually paid for).

Note that /cgi-bin/koha/acqui/spent.pl does use quantityreceived, which will
lead the two given totals to disagree.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to