Bug 15004

Summary: Allow to change amounts of duplicated budgets
Product: Koha Reporter: Julian Maurice <julian.maurice>
Component: AcquisitionsAssignee: Julian Maurice <julian.maurice>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: brendan, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 15004: Allow to change amounts of duplicated budgets
Bug 15004: Allow to change amounts of duplicated budgets
Bug 15004: Allow to change amounts of duplicated budgets
Bug 15004: Ensure that the reset_all_budgets behavior is kept
Bug 15004: Update help files for 'duplicating a budget'
Bug 15004: Allow to change amounts of duplicated budgets
Bug 15004: Ensure that the reset_all_budgets behavior is kept
Bug 15004: Update help files for 'duplicating a budget'

Description Julian Maurice 2015-10-13 11:34:07 UTC
Use case:
"I want to create a '2016' budget, same as '2015' budget, but I will have 15% more (or less) money in 2016, and I don't want to update all the funds manually"
Comment 1 Julian Maurice 2015-10-13 11:35:41 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2015-11-02 21:08:08 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-12-02 12:28:21 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2015-12-02 12:28:25 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2015-12-02 12:28:57 UTC
Julian, Please add few lines in the help about these 2 new fields.
Comment 6 Julian Maurice 2015-12-14 15:24:12 UTC Comment hidden (obsolete)
Comment 7 Julian Maurice 2015-12-14 15:25:18 UTC
Switched status to signed off, the last patch only update help files
Comment 8 Jonathan Druart 2015-12-15 08:17:40 UTC
Created attachment 45681 [details] [review]
Bug 15004: Allow to change amounts of duplicated budgets

When duplicating a budget we now have the possibility to change amounts
of budget and funds by a given percentage.  Additionally, we can
configure how to round the amounts.

Test plan:
1. Create a budget and several funds with different amounts
2. Duplicate it using the 2 new options
3. Check that the amounts are correct

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  It works exactly as advertised. Was happy to see that decimal point
  can be used: for example, increase a budget by 2.6%, and round the
  amound to 0.5.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 9 Jonathan Druart 2015-12-15 08:17:45 UTC
Created attachment 45682 [details] [review]
Bug 15004: Ensure that the reset_all_budgets behavior is kept

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 10 Jonathan Druart 2015-12-15 08:17:49 UTC
Created attachment 45683 [details] [review]
Bug 15004: Update help files for 'duplicating a budget'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 11 Brendan Gallagher 2016-01-27 06:06:03 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!