Bug 38431

Summary: Allow access to messages table in notices/slips
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: RESOLVED WORKSFORME QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lucas Gass (lukeg) 2024-11-12 23:35:45 UTC
Librarians use messages to convey things to their patrons so it would be nice it we could easily grab a borrower's messages and display them on a slip: 


https://schema.koha-community.org/main/tables/messages.html
Comment 1 Lucas Gass (lukeg) 2024-12-03 19:01:02 UTC
(In reply to Lucas Gass (lukeg) from comment #0)
> Librarians use messages to convey things to their patrons so it would be
> nice it we could easily grab a borrower's messages and display them on a
> slip: 
> 
> 
> https://schema.koha-community.org/main/tables/messages.html

I'm wrong: 

[% FOREACH message IN borrower.messages %]
     [% message.message %]
[% END %]

Setting this to WORKSFORME.