[Koha-bugs] [Bug 10032] Uncertain prices hide 'close basket' without explanation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 3 16:47:11 CET 2018


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

Jon Knight <J.P.Knight at lboro.ac.uk> changed:

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

--- Comment #6 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Created attachment 70250
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70250&action=edit
Bug 10032: Uncertain prices hide 'close basket' without explanation

Added disabled "Close this basket" button when uncertain prices are
present. Note that whilst this has a "title" attribute, there is no
tooltip shown because JQueryUI disabled buttons don't get DOM events.

To test:

1) Before applying the patch, go to staff UI, and select Acquisitions,
pick one of your existing vendors (or create a new one) and then open
a new basket (call it anything you want).

2) Add a new (empty) record order to the basket.

3) Give the new record a made up title, add a single item (no need to
fill in any details), set a price of 10.00 and check the "Uncertain
price" checkbox before saving the record.

4) Confirm that the resulting summary page has a button bar that does
NOT include any button for closing the basket.

5) Modify the record and remove the check mark from the "Uncertain
price" checkbox before saving.

6) Confirm that the resulting basket summary page button bar now does
have a "Close this basket" button (as the basket no longer has
uncertain prices).

7) Apply the patch.

8) Modify the record again to check the "Uncertain price" checkbox
again, then save it.

9) Confirm that the resulting summary page has a button bar that does
include a "Close this basket" button but that this button is greyed
out and inoperative.

10) Modify the record again to remove the check mark in the "Uncertain
price" checkbox, then save the record.

11) Confirm that the resulting summary page has a button bar that does
include a "Close this basket" button which is now active (as the order
no longer has an uncertain price).

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


More information about the Koha-bugs mailing list