Created attachment 22158 [details] [review] Add a processing fee and billing fee on late notices This is a RFC, with a proof of concept. Our client needed a billing fee (added to the total), a processing feed(added to each late item) and a default replacement fee, added to the Invoice sent to the patron. Plus they needed to determine when to send the invoice (1st, 2nd or 3rd notice) so we modified overduerules.tt (along with overdue_notices.pl and overduerules.pl). That change was made on Koha 3.10. **But community member kivilahtio wanted to try it on the master. So I attach the diffs/patches, below the DB instructions, and am now asking for feedbacks by the community on what feature would be needed by the community, before I bring it all cleanly to Master. DB modifications: alter table overduerules add invoice1 int(1) default 0 after debarred1, add invoice2 int(1) default 0 after debarred2, add invoice3 int(1) default 0 after debarred3; insert into systempreferences values('InvoiceProcessingFee', 0, NULL, 'Invoice processing fee (charged once per item)', 'Float'); insert into systempreferences values('InvoiceBillingFee', 0, NULL, 'Invoice billing fee (charged once per bill)', 'Float'); insert into systempreferences values('DefaultReplacementPrice', 10.0, NULL, 'Amount to use when the item has none associated to it.', 'Float');
Created attachment 22159 [details] [review] Add a processing fee and billing fee on late notices
Created attachment 22160 [details] [review] Add a processing fee and billing fee on late notices
Comment on attachment 22159 [details] [review] Add a processing fee and billing fee on late notices I suspect this hard-coded horror was replaced by templates. I don't know how to apply this to the current 3.10 series.
Blou, you may wish to rebase this, because I can't apply this to master or 3.10.12. Your patches are also not git-bz friendly. Patch 2 bombs badly when attempting to manually apply.
Comment on attachment 22160 [details] [review] Add a processing fee and billing fee on late notices I attached these for the benefit of kivi, but they cause too much confusion. I'll redo them cleanly in the master.
Hi Blou! Do you know when you might be able to submit this for master? I know someone who is very interested in testing it! :-)
January, at the earliest. I have a few such Koha items stacked up, I'll start working on them after the Holidays. That's the plan, at least.
(In reply to Blou from comment #7) > January, at the earliest. I have a few such Koha items stacked up, I'll > start working on them after the Holidays. That's the plan, at least. Cool, thanks!
(In reply to Blou from comment #7) > January, at the earliest. I have a few such Koha items stacked up, I'll > start working on them after the Holidays. That's the plan, at least. I hate to nag, but is there a new timeline for this bug?
I would love to see this make it into Koha asap :) It sounds very much like the thing we need. The most important thing for me as of now is to know if it's on it's way or if it got buried under the other things that tend to pile up.
Created attachment 28716 [details] [review] Bug 11092 - Add invoice on overdue items This is a draft for Viktor, to see where he needs the functionnality to go. It was my first try with the letter mechanism, and I haven't managed (yet) to get the email in HTML. Much formatting is still needed. See tools/letter.pl?op=add_form&branchcode=&module=circulation&code=INVOICE for new letter added by updatedatabase.pl modified: ../../installer/data/mysql/updatedatabase.pl modified: ../../koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt modified: overdue_notices.pl modified: ../../tools/overduerules.pl http://bugs.koha-community.org/show_bug.cgi?id=10192
NOTE: We'll be getting specs to upgrade the feature quite a bit. So this will get a new patch somewhere in August.
I'm not sure exactly how to close this, but this bz will never get further. We have developped a much larger and improved solution described in http://wiki.koha-community.org/wiki/Overdue_Notice_Enhancement#Enhancement_to_manage_more_than_3_levels_of_overdue_notice The following bugzillas are involved for the various steps/patches: #13624,#12768,#12769,#12770,#12771 and #12772. That is where our energy is being put. *** This bug has been marked as a duplicate of bug 12771 ***