]> git.koha-community.org Git - koha.git/commit
Bug 34445: Set default budget in addorderiso2709.pl
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 31 Jul 2023 09:48:18 +0000 (09:48 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 30 Aug 2023 20:14:50 +0000 (10:14 -1000)
commit216542e4a6a499eb2a695a3647c4ce2f824af274
tree76e694efbef377fd0f3aea0370ba8bb529d7caa0
parente0098b4b58dae7d509326157de39457d2b6aa774
Bug 34445: Set default budget in addorderiso2709.pl

This patch allows the default budget to be used as a fallback if no budget is selected. Currently the default budget is set using lines 129-133 but then is never used.

QA follow-up:
- perl tidied
- budget_codes changed to budget_ids for consistency

Test plan:
1) Apply patch
2) restart_all
3) Follow the steps from the bug description
4) Order lines should be added properly

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Rearranged comments
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b3427f71aede6cf0c8915c1b3e0ef970d2f188de)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
acqui/addorderiso2709.pl