[Koha-bugs] [Bug 11092] New: Need a processing fee and billing fee on late notices.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 21 15:41:03 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11092

            Bug ID: 11092
           Summary: Need a processing fee and billing fee  on late
                    notices.
 Change sponsored?: ---
           Product: Koha
           Version: 3.10
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: philippe.blouin at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

Created attachment 22158
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22158&action=edit
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');

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