Bug 15004 - Allow to change amounts of duplicated budgets
Summary: Allow to change amounts of duplicated budgets
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Julian Maurice
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-13 11:34 UTC by Julian Maurice
Modified: 2017-06-14 22:05 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 15004: Allow to change amounts of duplicated budgets (7.45 KB, patch)
2015-10-13 11:35 UTC, Julian Maurice
Details | Diff | Splinter Review
Bug 15004: Allow to change amounts of duplicated budgets (7.66 KB, patch)
2015-11-02 21:08 UTC, Frédéric Demians
Details | Diff | Splinter Review
Bug 15004: Allow to change amounts of duplicated budgets (7.73 KB, patch)
2015-12-02 12:28 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15004: Ensure that the reset_all_budgets behavior is kept (1.72 KB, patch)
2015-12-02 12:28 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15004: Update help files for 'duplicating a budget' (1.86 KB, patch)
2015-12-14 15:24 UTC, Julian Maurice
Details | Diff | Splinter Review
Bug 15004: Allow to change amounts of duplicated budgets (7.73 KB, patch)
2015-12-15 08:17 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15004: Ensure that the reset_all_budgets behavior is kept (1.72 KB, patch)
2015-12-15 08:17 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15004: Update help files for 'duplicating a budget' (1.93 KB, patch)
2015-12-15 08:17 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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!