Bug 38431 - Allow access to messages table in notices/slips
Summary: Allow access to messages table in notices/slips
Status: RESOLVED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-12 23:35 UTC by Lucas Gass (lukeg)
Modified: 2024-12-03 19:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.