Bug 14080

Summary: Cancelled orders should show on invoice
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, r.delahunty, sfayle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: cancelled on basket only

Description Nicole C. Engard 2015-04-29 18:03:18 UTC
Created attachment 38672 [details]
cancelled on basket only

Right now if you cancel an order it doesn't show under on the receiving page as a confirmation (under already received would make sense) and it doesn't show on the invoice.  This item can only be seen in the basket, but most people want to know what was cancelled on their invoice.  

Side note - you also can't find it by doing an order search.
Comment 1 Katrin Fischer 2015-04-29 19:01:11 UTC
Hi Nicole,
you can search for cancelled orders by selecting the cancelled status on the order search form -I think we just don't include them by default.
Comment 2 Katrin Fischer 2020-01-06 20:41:56 UTC
(In reply to Nicole C. Engard from comment #0)
> Created attachment 38672 [details]
> cancelled on basket only
> 
> Right now if you cancel an order it doesn't show under on the receiving page
> as a confirmation (under already received would make sense) and it doesn't
> show on the invoice.  This item can only be seen in the basket, but most
> people want to know what was cancelled on their invoice.  
> 
> Side note - you also can't find it by doing an order search.

This can't quite work as suggested, as there is no link between the invoice and the cancelled orders. You'd have to somehow make that link manually after it was cancelled (when it's cancelled before receiving from the basket page) or we could make the link when it's cancelled from the receive page.

But I wonder if that is really necessary?
Comment 3 Ray Delahunty 2020-08-11 11:45:37 UTC
If we understand this bug, and also Bug 6819 correctly, if the latter bug is fixed then we think the manual workaround for solving this bug would no longer be needed. 

We actually don’t think cancelled orders should show on invoices.  

Given that there is no connection between the cancelled item and the invoice, we use a manual method to tidy, as in creating another Koha basket with the orders again and then relinking these new orders to the affected invoice, and deleting the item lines on the Cataloguing side that were attached to the originally correct order but subsequently wrongly cancelled. But yes, there is a lot of manual work to tidy and make them real orders again so that an invoice total can balance correctly.
Comment 4 Katrin Fischer 2020-09-13 10:03:48 UTC
I think there is some consensus on that cancelled orders should not show on invoices. 

Ray seems to describe a separate issue that concerns falsely cancelled orders for received orders, if I understand correctly. I suggest that we deal with this on bug 6819 as suggested and file a new bug report if there is another aspect to it.