]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 18 Dec 2024 09:40:42 +0000 (10:40 +0100)
commit4eb0a4babaa62fb7c6919323a422e3eb3ca2f168
treeacb54adde649038cb9d1ad59623c65180e765dd2
parent42ff59d691ff6d8d9d4b425dd3e4c7df222eb6e7
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>
(cherry picked from commit 5776f28efa094e2cdd0dd441ae58be09068cb49a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 848d6e07ef74111501d5e71d3e4336dd493c1d53)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Overdues.pm