[Koha-bugs] [Bug 12128] New: Acq basket shows some values with single decimal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 23 09:41:04 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12128

            Bug ID: 12128
           Summary: Acq basket shows some values with single decimal
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Created attachment 27450
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27450&action=edit
Format values in acq basket display with two decimals

In the acquisitions basket, the values for total GSTE, total GSTI and GST are
shown with a single decimal.

Attached patch (re)formats the values to have two decimals.

(The values are fetched from get_order_infos(), which formats the values
correctly, but the formatting is lost when the values are added together)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list