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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 30 Aug 2023 13:07:05 +0000 (10:07 -0300)
commitb3427f71aede6cf0c8915c1b3e0ef970d2f188de
treedca46c72fb9bc76f4e02c120834804a55a9fb8e7
parent62a757acd1d370f442f49992933f998bb5b3702e
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>
acqui/addorderiso2709.pl