[Koha-bugs] [Bug 34078] Add --branchcode to writeoff_debts.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 22:00:00 CET 2024


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

--- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
(In reply to Martin Renvoize from comment #1)
> So.. for clarification.. you mean the library the charge was recorded at..
> not the patrons library or the checkouts library or... right?
> 
> It would be simple enough to filter on the branchcode as recorded in the
> accountlines table.. I just wanted to clarify that's what you want.. not the
> branchcodes from various related tables?

In my specific case, with independentbranches, I think all branchcodes would be
the same since patrons and items can't travel between branches. 

I was going to say that using the branchcode from accountlines would be fine,
but it seems it's not recorded for overdue fines? Unless I'm doing something
wrong... I added fines in the circ rules, issues an item to a patron with a due
date in the past, ran fines.pl, checked accountlines.branchcode and it's NULL.

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