From d7141c801c8b16fc77a1448e5dbed7a746598947 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 20 Nov 2025 22:01:52 +0000 Subject: [PATCH] Bug 9750: Add customizable ROUTING_LIST slip To test: 1 .To test this properly you'll need install several language packes, the more the better for testing. 2. After installing the language packs go to Tools > HTML customizations 3. Find RoutingListNote and add customizations for each language in a way that you can differentiate between them. 4. Enable TranslateNotices 5. APPLY PATCH, updatedatabase, restart_all 6. To to Tools > Notices and look for ROUTING_LIST 7. Ensure that your RoutingListNote has migarted over to the new notice and its correct for each language. This content should be appened to the bottom of the new notice. 8. GO to the Serials and find or create a subscription. 9. Revieve some serials and click "Print list", ensuring everthing looks right. 10. NOw try customizing the ROUTING_LIST slip. 11. Regenerate the slip and make sure your customizations look right and it all makes sense. --- .../modules/serials/routing-preview-slip.tt | 24 +------- .../prog/en/modules/serials/routing.tt | 4 +- .../en/modules/serials/serials-collection.tt | 2 +- serials/routing-preview.pl | 57 ++++++++++++------- 4 files changed, 41 insertions(+), 46 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt index 3f95a1ba75b..2c07aaea000 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview-slip.tt @@ -22,27 +22,7 @@

[% tx("Routing slip for {title}", { title = title }) | html %]

-
- - - - - - - - - - - - [% FOREACH memberloo IN memberloop %] - - - - - [% END %] -

[% libraryname | html %]

Title: [% title | html %]
[% issue | html %]
NameDate due
[% memberloo.name | html %] 
-
- +
[% letter_content | $raw %]
[%- SET RoutingListNote = AdditionalContents.get( location => "RoutingListNote", lang => lang, library => logged_in_user.branchcode ) -%] @@ -56,8 +36,6 @@ [% END %]
[% END %] - -

[% routingnotes | html %]