Bug 39411 - Add card number and patron expiration info to OPAC Virtual Card
Summary: Add card number and patron expiration info to OPAC Virtual Card
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 38792
  Show dependency treegraph
 
Reported: 2025-03-21 15:44 UTC by Heather Rommens
Modified: 2025-05-19 14:52 UTC (History)
3 users (show)

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


Attachments
Bug 39411: Add cardnumber and dateexpiry to OPAC virtual card (1.96 KB, patch)
2025-04-08 18:24 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 39411: Add cardnumber and dateexpiry to OPAC virtual card (2.10 KB, patch)
2025-04-14 19:38 UTC, Emmanuel Bétemps
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Heather Rommens 2025-03-21 15:44:01 UTC
Libraries are loving the new OPAC virtual card feature, but some locations lack the specific equipment needed to scan reflective surfaces. It would be lovely if the patron's card number and their expiration date were also added to the virtual card display to provide staff with additional information at a glance.
Comment 1 Carolyn Hughesman 2025-03-21 15:51:45 UTC
+1

This would be very useful to us.  Some of our smaller libraries cannot afford to upgrade their barcode scanners at this time. Having the card number display in the OPAC virtual card feature would be helpful.
Comment 2 Lucas Gass (lukeg) 2025-04-08 18:24:29 UTC
Created attachment 180730 [details] [review]
Bug 39411: Add cardnumber and dateexpiry to OPAC virtual card

To test:
1. APPLY PATCH
2. Enable  OPACVirtualCard
3. Login to the OPAC and visit the account page.
4. Click on 'My virtual card'
5. Notice that the cardnumber and expiratrion date are now listed.
Comment 3 Emmanuel Bétemps 2025-04-14 19:38:11 UTC
Created attachment 180932 [details] [review]
Bug 39411: Add cardnumber and dateexpiry to OPAC virtual card

To test:
1. APPLY PATCH
2. Enable  OPACVirtualCard
3. Login to the OPAC and visit the account page.
4. Click on 'My virtual card'
5. Notice that the cardnumber and expiratrion date are now listed.

Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com>
Comment 4 Emmanuel Bétemps 2025-04-14 19:44:51 UTC
Hi,

I tested with every type of barcode which was available in the syspref
-> what you were looking for is displayed


Note that if every format let cardnumber and expiration date displaying, some of them can't display the barcode : ean-13, ean-8, ITF-14, UPC-A and UPC-B were 'Unable to generate barcode'.


Manu.