From 48dab3c1261870bf23c01eda3b57aa76a9814250 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 7 Nov 2018 17:06:26 -0300 Subject: [PATCH] Bug 19066: (QA follow-up) Fix ChargeReserveFee This patch fixes a bug in ChargeReserveFee: To test: - Run: $ kshell k$ prove t/db_dependent/Reserves.t => FAIL: Tests fail because branchcode is not set - Apply this patch - Run: k$ prove t/db_dependent/Reserves.t => SUCCESS: Tests pass! Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- C4/Reserves.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 0fbe310903..9e85854012 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -582,6 +582,7 @@ sub ChargeReserveFee { description => "Reserve Charge - $title", accounttype => 'Res', amountoutstanding => $fee, + branchcode => $branchcode } )->store(); } -- 2.39.5