From eb6f394c113ae06c5aa149fc0f207994aa123908 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Tue, 17 Dec 2024 20:46:05 +0000 Subject: [PATCH] Bug 22403: Add sample patron custom slip to print temporary card Test plan: 1. Apply patch, reset_all 2. From a patron record click print in the menu bar 3. Notice the new option to Print a temporary card 4. Confirm it works to print the patron's barcode --- .../data/mysql/en/mandatory/sample_notices.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index e054a5a0fa..b0ae4eaac2 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -2649,3 +2649,18 @@ tables: - "[% skipped %] records skipped" - "[% in_error %] records in error" - "[% total %] total" + + - module: patron_slip + code: TEMP_CARD + branchcode: "" + name: "a temporary card" + is_html: 1 + title: "Print a temporary library card" + message_transport_type: print + lang: default + content: + - "

Quick library card

" + - "

[% borrower.firstname %] [% borrower.surname %]

" + - "

" + - " " + - "

" \ No newline at end of file -- 2.39.5