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

Séverine Queune <severine.que...@bulac.fr> changed:

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

--- Comment #2 from Séverine Queune <severine.que...@bulac.fr> ---
Created attachment 111990
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111990&action=edit
Bug 26190: Allow to close a basket with only cancelled order lines

At the moment there are several cases, when closing a basket is not
possible:
- when there are no order lines in it
- when there are order lines with uncertain prices
- when the basket is marked as a standing order

The first case wasn't checked correctly as only pending/received
orders would be counted, but not cancelled orders.

To test:
- Create a basket
- Create an order line
- Verify the "close this basket" button shows
- Cancel the order line - the button disappears
- Apply the patch
- Verify the button appears and works now
- Create another basket - make sure you cannot close it
  without order lines
- Create an order line with uncertain price checked
  - you cannot close it
- Resolve the uncertain price - you can now close the basket.

Signed-off-by: Séverine QUEUNE <severine.que...@bulac.fr>

-- 
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