[Koha-bugs] [Bug 26554] allow news tag in all slips

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 13 18:19:10 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26554

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas at bywatersolutions.com
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
We can already do this by using something like this in any slip/notice:

[% USE AdditionalContents %]
[% SET my_news = AdditionalContents.get( location => "slip", library =>
borrower.branchcode  ) %]

[% IF my_news.content.count > 0 %]
    [% FOREACH item IN my_news.content %]
        <strong>Title: [% item.title %]</strong><br />
        Content: [%  item.content  %]
        <br /><br />
    [% END %]
[% END %]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list