]> git.koha-community.org Git - koha.git/commit
Bug 22713: Pass replacement price in to order if defined by MarcItemFieldsToOrder
authorNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 16:23:22 +0000 (16:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 May 2019 13:46:56 +0000 (14:46 +0100)
commitb0ab8904a81ae2ae590193932d015dcc7006e13d
tree05672efc50558b6b6eac456cdda1f815f2982b10
parent12cb120742ecffac30f73b7b300c33dcac99762d
Bug 22713: Pass replacement price in to order if defined by MarcItemFieldsToOrder

To test:
 1 - Have AcqCreateItems set to 'On ordering' (or set in a basket)
 2 - Define MARCItemFieldsToOrder
    homebranch: 975$a
    holdingbranch: 975$b
    itype: 975$y
    nonpublic_note: 975$x
    public_note: 975$z
    loc: 975$c
    ccode: 970$c
    notforloan: 975$7
    uri: 975$u
    copyno: 975$n
    quantity: 975$q
    budget_code: 975$h
    price: 975$g
    replacementprice: 975$p
 3 - Have a marc record with some order info defined as above, including a replacementprice
 4 - Add to basket - > from a new file
 5 - Don't check for duplicates, add the order
 6 - Note the order has no replacementprice, but the item does
 7 - Close basket, receive order, do not enter a new replacement price
 8 - Note the items replacement price is clear
 9 - Apply patch
10 - Repeat
11 - Note when order added to basket it has a replacement price
12 - Note when order is received the replacement price is populated and passed into item correctly

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 57b027734e3c1a315cd11fedbf94771fa8381a30)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
acqui/addorderiso2709.pl