Bug 8855 - Link from receipt to invoice
Summary: Link from receipt to invoice
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Jennifer Sutton
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 14:35 UTC by Nicole C. Engard
Modified: 2024-11-18 18:51 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement links the invoice number on the receiving orders page to the invoice page.
Version(s) released in:
24.11.00
Circulation function:


Attachments
Bug 8855: Make receipt page link to invoice page (1.26 KB, patch)
2024-07-25 22:53 UTC, Koha Training Catalyst
Details | Diff | Splinter Review
Bug 8855: Make receipt page link to invoice page (1.35 KB, patch)
2024-07-25 23:15 UTC, Chris Cormack
Details | Diff | Splinter Review
Bug 8855: Make receipt page link to invoice page (1.40 KB, patch)
2024-07-25 23:55 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2012-10-01 14:35:00 UTC
It would be nice if you could get from the receipt page to the invoice page with a click.  Right now you can get to the receipt page from the invoice page, just not the other way around. I think it would just require making the invoice number a link that goes to the corresponding invoice page.
Comment 1 Katrin Fischer 2014-11-02 09:34:56 UTC
Still valid.
Comment 2 Koha Training Catalyst 2024-07-25 22:53:06 UTC
Created attachment 169620 [details] [review]
Bug 8855: Make receipt page link to invoice page

To test:

Go to the receipts page of an order. Observe that the invoice number
is a clickable link to the corresponding invoice.
Comment 3 Chris Cormack 2024-07-25 23:15:00 UTC
Created attachment 169625 [details] [review]
Bug 8855: Make receipt page link to invoice page

To test:

Go to the receipts page of an order. Observe that the invoice number
is a clickable link to the corresponding invoice.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Works well and passed the qa tests
Comment 4 David Nind 2024-07-25 23:55:31 UTC
Created attachment 169632 [details] [review]
Bug 8855: Make receipt page link to invoice page

To test:

Go to the receipts page of an order. Observe that the invoice number
is a clickable link to the corresponding invoice.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Works well and passed the qa tests

Signed-off-by: David Nind <david@davidnind.com>
Comment 5 David Nind 2024-07-25 23:58:58 UTC
Testing notes (using koha-testing-docker (KTD):

1. Add some orders to a basket:
   1.1 Create a basket: Acquisitions > search for a vendor > + New > Basket
   1.2 Enter the details for a basket:
       - Basket name: BZ8855
       - Save
   1.3 Add an item to the basket:
       - + Add to basket
           . From an existing record: use perl as the search term and click the 
             submit button
           . For "Programming Perl" in the search results, click the 
             'Add order' link
       - Complete any required item information: the only required field 
         is y - Koha item type
       - Click 'Add item'
       - Complete the accounting details section:
         . Fund: select a fund
         . Enter a value in vendor price
         . Save
   Result ==> You now have a basket with an order
2. Close the basket: click 'Close basket' from the actions above the basket title
3. Receive the order:
   3.1 Select 'Receive shipments'
   3.2 For vendor invoice field, enter the invoice number, for example: INV001
   3.3 Next
4. Note that under the page title (Receive orders from My Vendor) that it displays "Invoice number: INV001 Shipment date: 07/25/2024" and that the invoice number is not linked.
5. Apply the patch
6. Refresh the page
7. Note that the invoice number, for example INV001, is now linked to the invoice page.
Comment 6 Katrin Fischer 2024-09-02 09:37:07 UTC
Thank you Jennifer!

I have updated the patch in main to have your name and email address as set in Bugzilla:
Author: Jennifer Sutton <jennifersutton@catalyst.net.nz>

This is to make sure you get proper credit in release notes and on the dashboard and hopefully is OK with you!
Comment 7 Katrin Fischer 2024-09-02 14:39:55 UTC
I realize there was some confusion, this patch already has proper attribution. Please disregard the last comment.
Comment 8 Katrin Fischer 2024-09-16 08:45:14 UTC
parcel.pl requires the order_receive permission.

invoice.pl seems to require any acq permission to view, so we should probably be good here.
Comment 9 Katrin Fischer 2024-09-16 08:53:48 UTC
Pushed for 24.11!

Well done everyone, thank you!