[Koha-bugs] [Bug 34717] Incorrect method call in addorderiso2709.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 5 16:28:34 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34717

Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155217|0                           |1
        is obsolete|                            |

--- Comment #3 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 155220
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155220&action=edit
Bug 34717: Fix budget selection

This patch replaces GetBudgetByCode with GetBudget to allow budget population
to happen correctly

Test plan:

Needs to be tested using the file attached as it includes the field mappings
Needs to be tested in KTD as the mappings match a budget created in the KTD
sample data (sandboxes run on KTD so are suitable for this)

1) In system preferences, search for MarcFieldsToOrder
2) Paste the following into the syspref:
price: 975$p
quantity: 975$q
budget_code: 975$h
3) Save the syspref
4) In Acquistions, choose a vendor and go into a basket
5) Click Add to basket
6) Select From a new file
7) Use the file attached to this bug
8) Click Upload file
9) At the bottom, click Stage for import
10) When the import is complete, click Add staged files to basket
11) Tick the box next to the record name
12) Observe that under fund, you are being asked to select a fund and the
budget being mapped in the file has not been populated as it should be
13) Apply patch
14) restart_all
15) Refresh the page
16) Observe that the budget has now correctly defaulted to Fund 1_2 as per the
mappings in the marc file

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list