Bug 40414

Summary: Update patron card layout with expiry date
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: Passed QA --- QA Contact: Laura Escamilla <Laura.escamilla>
Severity: enhancement    
Priority: P5 - low CC: Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 40414: Update patron card layout with expiry date
Bug 40414: Update patron card layout with expiry date
Bug 40414: Update patron card layout with expiry date

Description Caroline Cyr La Rose 2025-07-16 13:44:32 UTC
The patron card layout that comes with Koha has "Expires: August 31, 2010" on it. I feel like that's a bit out of date. I propose to change it to the patron's actual expiry date.
Comment 1 Caroline Cyr La Rose 2025-07-16 13:53:35 UTC
Created attachment 184152 [details] [review]
Bug 40414: Update patron card layout with expiry date

This patch updates the default patron card layout to replace "Expires:
August 31, 2010" with the patron's account expiry date.

To test:
1. Apply patch and reset_all
2. Go to Tools > Patron card creator
3. Click New > Card batch
4. In Add by borrowernumber(s), enter borrowernumbers 1 to 6, one per line
5. Click Add patron(s)
6. Click Export card batch
7. Click Export
8. Open the PDF
   --> Note that the patron's account expiry date is printed on the card

Optional : Change the expiry date of one or more patrons and redo steps 6-8.
--> The updated expiry dates should be printed on the cards.
Comment 2 Eric Garcia 2025-07-16 15:46:44 UTC
Created attachment 184154 [details] [review]
Bug 40414: Update patron card layout with expiry date

This patch updates the default patron card layout to replace "Expires:
August 31, 2010" with the patron's account expiry date.

To test:
1. Apply patch and reset_all
2. Go to Tools > Patron card creator
3. Click New > Card batch
4. In Add by borrowernumber(s), enter borrowernumbers 1 to 6, one per line
5. Click Add patron(s)
6. Click Export card batch
7. Click Export
8. Open the PDF
   --> Note that the patron's account expiry date is printed on the card

Optional : Change the expiry date of one or more patrons and redo steps 6-8.
--> The updated expiry dates should be printed on the cards.

Signed-off-by: Eric Garcia <cubingguy714@gmail.com>
Comment 3 Laura Escamilla 2025-07-25 21:37:21 UTC
Created attachment 184681 [details] [review]
Bug 40414: Update patron card layout with expiry date

This patch updates the default patron card layout to replace "Expires:
August 31, 2010" with the patron's account expiry date.

To test:
1. Apply patch and reset_all
2. Go to Tools > Patron card creator
3. Click New > Card batch
4. In Add by borrowernumber(s), enter borrowernumbers 1 to 6, one per line
5. Click Add patron(s)
6. Click Export card batch
7. Click Export
8. Open the PDF
   --> Note that the patron's account expiry date is printed on the card

Optional : Change the expiry date of one or more patrons and redo steps 6-8.
--> The updated expiry dates should be printed on the cards.

Signed-off-by: Eric Garcia <cubingguy714@gmail.com>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>