Bug 2008 - Daily reconciliation report broken
Summary: Daily reconciliation report broken
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P3 major (vote)
Assignee: Paul Poulain
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 07:57 UTC by Owen Leonard
Modified: 2015-11-25 15:52 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 00:37:09 UTC


---- Reported by oleonard@myacpl.org 2008-04-09 07:57:49 ----

Clicking the link for the daily reconciliation report results in this error:

The following fatal error has occurred:
Undefined subroutine &main::getcharges called at /intranet/cgi-bin/circ/stats.pl line 100.

If you add "use C4::Accounts;" to stats.pl you get this error:

Undefined subroutine &main::Getpaidbranch called at /intranet/cgi-bin/circ/stats.pl line 147.

From IRC:
<gmcharlt>	that sub was in C4::Stats in 2.2.9
<gmcharlt>	see http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=commitdiff;h=43ad7fb4dfc1d7f57bac158049e51d4006ef7140 for the commit where it went away



---- Additional Comments From oleonard@myacpl.org 2008-04-22 08:25:56 ----

More details: /cgi-bin/koha/circ/stats.pl?time=yesterday does not generate an error for me now. It says "No statistics to report." /cgi-bin/koha/circ/stats.pl?time=today generates the same error as before.



---- Additional Comments From jmf@liblime.com 2008-07-02 11:40:21 ----

I've never seen this report work in any version of Koha. I suggest we delete it from 3.0.



---- Additional Comments From jmf@liblime.com 2008-07-08 18:04:03 ----

My solution for 3.0 is to comment this out, effectively it's deleted, without actually deleting it. If someone knows what it's for and has a generalized version that works for all Koha users,  please contribute it, because I've never seen it working in any version of Koha.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:37 UTC  ---

This bug was previously known as _bug_ 2008 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2008

Actual time not defined. Setting to 0.0