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

ByWater Sandboxes <bws.sandbo...@gmail.com> changed:

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

--- Comment #3 from ByWater Sandboxes <bws.sandbo...@gmail.com> ---
Created attachment 144077
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144077&action=edit
Bug 32167: (bug 14860 follow-up) Populate price fields even if no discount on
vendor

On bug 14860 an 'else' was removed, assuming the price fields were set before
discount,
this was incorrect. This patch renames the variable and always set the price,
only discounting
ecost if a discount, but setting the values even if not

To test:
 0 - Have a vendor with a discount of 0% specified (no discount)
 1 - Export a record from your Koha
 2 - Stage the record for import and match on biblionumber
 3 - Add to a basket in acq from the staged file
 4 - Select the title, and set order price to $10 and do not fill the discount
field
 5 - Add the order - note $0 order line
 6 - Repeat with another vendor with a 10% discount and confirm that is correct
 7 - Apply patch
 8 - Repeat 2-4
 9 - Add the order and confirm $10 price
10 - Repeat with discounted vendor, confirm prices are set discounted correctly

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

Signed-off-by: Andrew Fuerste-Henry <andre...@dubcolib.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to