[Koha-bugs] [Bug 12768] Replacement cost and processing fee management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 21 12:44:39 CEST 2015


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

--- Comment #46 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Charles Farmer from comment #45)
> (In reply to Jonathan Druart from comment #38)
> > It does not seem to work if item-level_itypes  is set to biblio.
> > You should also provide tests for C4::Circulation::LostItem (I suspect that
> > the problem comes from the query executed in this subroutine).
> 
> When you say "provide tests for LostItem", do you mean that a separate file
> should be written under t/db_dependent/Circulation/ for that purpose, or
> would you accept if the tests were added to everything else in Circulation.t
> ?

The last patch could do the job, if the itemtype type you used (BK) was created
(tests should create their own data).
But thinking about it, I am wondering why you pass the processfee to
chargelostitem and don't retrieve it in the chargelostitem subroutine.
It also a bit weird to pass an issue, the name of the sub is chargelost*item*
:)

Kyle, could I get your opinion on that please?

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


More information about the Koha-bugs mailing list