Bug 36140 - Wrong for attribute on Invoice number: label in invoice.tt
Summary: Wrong for attribute on Invoice number: label in invoice.tt
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Lucas Gass (lukeg)
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-20 23:17 UTC by Lucas Gass (lukeg)
Modified: 2024-07-25 11:11 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00,23.11.04,23.05.10
Circulation function:


Attachments
Bug 36140: Correct label for attribute invoice.tt (1.46 KB, patch)
2024-02-20 23:21 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36140: Correct label for attribute invoice.tt (1.85 KB, patch)
2024-02-27 21:37 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36140: Correct label for attribute invoice.tt (1.92 KB, patch)
2024-02-29 10:42 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-02-20 23:17:54 UTC
The Invoice label is `<label for="shipmentdate">Invoice number:</label>` when it should be `<label for="invoicenumber">Invoice number:</label>`
Comment 1 Lucas Gass (lukeg) 2024-02-20 23:21:48 UTC
Created attachment 162311 [details] [review]
Bug 36140: Correct label for attribute invoice.tt

To test:
1. Go to /cgi-bin/koha/acqui/invoice.pl?invoiceid=X  where X is the invoice number.
2. Look at the Invoice number with your dev tools, the for attribute is wrong. ( shippingdate )
3. Apply patch and look again, the attribute should correctly be invoicenumber.

Alternatively, just look at the diff of this trivial change. :)
Comment 2 Myka Kennedy Stephens 2024-02-22 16:12:24 UTC
Followed test plan as outlined. Confirmed <label for="shipmentdate">Invoice number:</label> in html when viewing an invoice. Applied patch in Koha Testing Docker. Restarted Apache. Cleared browser cached files. Navigated to invoice and inspected page. Still seeing <label for="shipmentdate">Invoice number:</label>.
Comment 3 Lucas Gass (lukeg) 2024-02-27 21:37:28 UTC
Created attachment 162518 [details] [review]
Bug 36140: Correct label for attribute invoice.tt

To test:
1. Go to /cgi-bin/koha/acqui/invoice.pl?invoiceid=X  where X is the invoice number.
2. Look at the Invoice number with your dev tools, the for attribute is wrong. ( shippingdate )
3. Apply patch and look again, the attribute should correctly be invoicenumber.

Alternatively, just look at the diff of this trivial change. :)
Comment 4 Martin Renvoize (ashimema) 2024-02-29 10:42:01 UTC
Created attachment 162589 [details] [review]
Bug 36140: Correct label for attribute invoice.tt

To test:
1. Go to /cgi-bin/koha/acqui/invoice.pl?invoiceid=X  where X is the invoice number.
2. Look at the Invoice number with your dev tools, the for attribute is wrong. ( shippingdate )
3. Apply patch and look again, the attribute should correctly be invoicenumber.

Alternatively, just look at the diff of this trivial change. :)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 5 Martin Renvoize (ashimema) 2024-02-29 10:42:31 UTC
Obvious correction of a copy/paste.  Works as intended.. Straight to PQA.
Comment 6 Katrin Fischer 2024-03-07 14:04:36 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 7 Fridolin Somers 2024-03-11 09:44:40 UTC
Pushed to 23.11.x for 23.11.04
Comment 8 Lucas Gass (lukeg) 2024-03-19 15:37:03 UTC
Backported to 23.05.x for upcoming 23.05.10