Bugzilla – Attachment 127408 Details for
Bug 29429
Cannot close budgets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29429: Cannot close budgets
Bug-29429-Cannot-close-budgets.patch (text/plain), 1.36 KB, created by
Joonas Kylmälä
on 2021-11-06 12:31:05 UTC
(
hide
)
Description:
Bug 29429: Cannot close budgets
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2021-11-06 12:31:05 UTC
Size:
1.36 KB
patch
obsolete
>From c41eb88f45ae17fb6a1feb63479741f32cab5077 Mon Sep 17 00:00:00 2001 >From: Florian Bontemps <florian.bontemps@biblibre.com> >Date: Fri, 5 Nov 2021 16:28:37 +0000 >Subject: [PATCH] Bug 29429: Cannot close budgets >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Adds GetBudgetHierarchy to the functions called by C4::Budgets > >Plan : >1. Create a budget with a random amount, save it. >2. Try to close the budget. >3. You should get an Error Trace. > >4. Apply the patch >5. Close the budget again >6. It should work. > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> >--- > admin/aqbudgetperiods.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/aqbudgetperiods.pl b/admin/aqbudgetperiods.pl >index 71ede5dccb..efd174c167 100755 >--- a/admin/aqbudgetperiods.pl >+++ b/admin/aqbudgetperiods.pl >@@ -55,7 +55,7 @@ use C4::Context; > use C4::Auth qw( get_template_and_user ); > use C4::Output qw( output_html_with_http_headers ); > use C4::Acquisition; >-use C4::Budgets qw( GetBudgetPeriod GetBudgetPeriods ModBudgetPeriod AddBudgetPeriod GetBudgets DelBudgetPeriod CloneBudgetPeriod MoveOrders ); >+use C4::Budgets qw( GetBudgetPeriod GetBudgetHierarchy GetBudgetPeriods ModBudgetPeriod AddBudgetPeriod GetBudgets DelBudgetPeriod CloneBudgetPeriod MoveOrders ); > use C4::Log qw(logaction); > use Koha::Acquisition::Currencies; > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29429
:
127399
| 127408