]> git.koha-community.org Git - koha.git/commit
Bug 38303: Set item's replacement price to defaultreplacecost if 0.00
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Oct 2024 15:37:36 +0000 (16:37 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 31 Oct 2024 10:03:26 +0000 (11:03 +0100)
commit5776f28efa094e2cdd0dd441ae58be09068cb49a
treea94f29dff62be239e3dd807688c166b2ae1b5401
parent593cd04f1eec1bd2ee4c496d08cf61c1e289b9b7
Bug 38303: Set item's replacement price to defaultreplacecost if 0.00

No idea if this is a real bug. This code is fixing the following test
failure:
t/db_dependent/Circulation/CalcFine.t .. 1/7
    #   Failed test 'Amount is calculated correctly'
    #   at t/db_dependent/Circulation/CalcFine.t line 271.
    #          got: '0'
    #     expected: '6'
    # Looks like you failed 1 test of 2.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Overdues.pm