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.
Still valid.
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.
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
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>
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.
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!
I realize there was some confusion, this patch already has proper attribution. Please disregard the last comment.
parcel.pl requires the order_receive permission. invoice.pl seems to require any acq permission to view, so we should probably be good here.
Pushed for 24.11! Well done everyone, thank you!