[Koha-bugs] [Bug 8876] New: branch not always stored in the stats table for payments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 4 13:55:31 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8876
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: branch not always stored in the stats table for
                    payments
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: nengard at gmail.com
          Hardware: All
            Status: NEW
           Version: rel_3_8
         Component: Patrons
           Product: Koha

When making payments the branch is not always grabbed for the stats table and
people really need that info for accounting purposes.  I have no nailed down
when it's not saving yet but I wanted to report this so that we can look in to
it.

This is true in 3.8 and master.  I have included the proccode in this in case
that's the key - I don't know what these numbers mean.


mysql> select branch, datetime, type, proccode from statistics where type=
'payment' order by datetime desc;
+--------+---------------------+---------+----------+
| branch | datetime            | type    | proccode |
+--------+---------------------+---------+----------+
| NULL   | 2012-09-11 04:13:37 | payment | 32       |
| NIC    | 2012-08-23 11:34:56 | payment | 31       |
| NULL   | 2012-08-23 11:34:48 | payment | 21       |
| NIC    | 2012-08-02 14:19:53 | payment | 12       |
| NIC    | 2012-06-26 01:42:29 | payment | 26       |
| NIC    | 2012-05-14 07:53:22 | payment | 23       |
| NULL   | 2012-05-14 07:53:09 | payment | 19       |
| NULL   | 2012-04-11 20:41:57 | payment | 16       |
| NULL   | 2012-04-11 20:41:45 | payment | 16       |
| NULL   | 2012-04-11 20:39:55 | payment | 24       |
| NIC    | 2012-03-31 14:42:25 | payment | 31       |
| NULL   | 2012-02-28 09:51:41 | payment | 4        |
| NULL   | 2012-02-28 09:51:30 | payment | 3        |
| NULL   | 2012-02-28 09:51:10 | payment | 2        |
| NULL   | 2012-02-26 22:16:22 | payment | 2        |
| NULL   | 2012-02-26 22:15:56 | payment | 4        |
| FFL    | 2012-02-24 16:10:50 | payment | 50       |
| NULL   | 2012-02-24 16:10:41 | payment | 46       |
| NULL   | 2012-02-24 16:10:35 | payment | 44       |
| NULL   | 2012-02-24 15:51:01 | payment | 40       |
| NULL   | 2012-02-24 15:50:53 | payment | 40       |
| NIC    | 2012-02-24 15:50:08 | payment | 42       |
| NULL   | 2012-02-24 15:45:24 | payment | 38       |

-- 
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