[Koha-bugs] [Bug 11887] Add script for collections agency reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 8 01:20:55 CET 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #12 from David Nind <david at davidnind.com> ---
For whatever reason, I can't get this to run and get this error message:

root at d541025c7641:cronjobs(bz11887)$ ./account_collections.pl -h
Can't locate Koha/Accounts.pm in @INC (you may need to install the
Koha::Accounts module) (@INC contains: /kohadevbox/koha
/kohadevbox/qa-test-tools /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
/usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
./account_collections.pl line 27.
BEGIN failed--compilation aborted at ./account_collections.pl line 27.

For reference for testing:

Add four patron attribute codes (Home > Administration > Patrons and
circulation > Patron attribute types) and use these codes when running,
suggestions are:
- COLLECT-CF (Description: Code used to define if a patron can be collected
from; YES_NO authorized value)
- COLLECT-IN (Description: Code used to define if a patron is currently in
collections; YES_NO authorized value)
- COLLECT-LU (Description: Attribute field used to define the date the patron
was last updated for collections purposes)
- COLLECT-PB (Description: Attribute field to record the patron balance of the
last time the update report was run)

Add a collection fee code (Home > Administration > Accounting > Debit types),
suggestion is:
- COLLECT (Default amount: 10.00; Description: Collection fee; Can be manually
invoiced: ticked)

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


More information about the Koha-bugs mailing list