[Bug 34078] New: Add --branchcode to writeoff_debts.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 Bug ID: 34078 Summary: Add --branchcode to writeoff_debts.pl Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz I think it would be useful to have a branchcode flag to the writeoff_debts.pl script. My specific use case is that I wanted to use it in an Independent branch environment to writeoff fines for a specific branch. I'm sure there are other use cases (one branch was closed or something). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Depends on| |27049 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27049 [Bug 27049] Add a script to bulk writeoff debts -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- 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? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 --- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I was going to file this bug again, good thing I searched first lol! My new use case is again in the same independent branches environment. One of the libraries closed and we are trying to remove all their stuff from the environment (namely patrons and items). In order to remove patrons, I had to "return" checkouts (I used BWS' End Checkouts plugin), but I also have to remove fines. So in this case, I really want the patron's library. Maybe we could start with --patronbranch or something like that? If necessary, we can add --itemhomebranch or something like that later on? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34078 Aude Charillon <aude.charillon@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aude.charillon@openfifth.co | |.uk --- Comment #4 from Aude Charillon <aude.charillon@openfifth.co.uk> --- My use case is a temporary library closure - the library had to close unexpectedly and patrons occured fines because they couldn't return their items. In this case, the library filter to waive fines should be the patron's library. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org