From 7c7f7002d49542783bc61e45fbd54a22d29c208a 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 --- 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.19.2