]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 31 Aug 2023 10:46:33 +0000 (10:46 +0000)
commit64077f45fc2842bc70b9d7f43b3a0f89bd3e5ad6
treeb90e1cce96136348afeeea59934a2a07082e33a8
parentcc105e01acaa4dc3623bb2b23c13503eacb02a97
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>
(cherry picked from commit 216542e4a6a499eb2a695a3647c4ce2f824af274)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
acqui/addorderiso2709.pl