Bug 9081 - Opac news not output on checkin and checkout notices
Summary: Opac news not output on checkin and checkout notices
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 7001 27451
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-14 19:58 UTC by Katrin Fischer
Modified: 2023-11-17 01:01 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2012-11-14 19:58:21 UTC
When creating a template for check in and check out notices the list of fields offered includes:

---OPAC_NEWS---
<<opac_news.idnew>>
<<opac_news.title>>
<<opac_news.new>>
<<opac_news.lang>>
<<opac_news.expirationdate>>
<<opac_news.number>>


I added news unser tools > news for:
- OPAC (en)
- OPAC (DE-de)
- Slips

For testing I created a check out and check in notice that included:

OPAC NEWS
idnew <<opac_news.idnew>>
title <<opac_news.title>>
new <<opac_news.new>>
lang <<opac_news.lang>>
expirationdate <<opac_news.expirationdate>>
number <<opac_news.number>>

None of the news made it into my generated notices. I am not sure if the content should display or if we need to remove the OPAC_NEWS fields from the notices tool, because it's not intended to use them on those notices.
Comment 1 Jonathan Druart 2015-04-01 10:59:02 UTC
Looking at the code, I would say it only works for letter_code == ISSUESLIP
Comment 2 Katrin Fischer 2015-04-01 12:00:33 UTC
I am switching to an enhancement request :)
Comment 3 Agnes Rivers-Moore 2017-04-20 18:48:59 UTC
+1 for this enhancement!
Would be good to add news to pre-due, due, and all the rest. I use checkout email for testing new layout & options, and I had tried this and found it not working April 2017.
Comment 4 Lisette Scheer 2018-03-15 20:45:17 UTC
+1 for this enhancement. It would be great if anything that could go to a patron could have the news on it:
CHECKIN
CHECKOUT
DUE
DUEDGST
FinesPaidToday
ISSUEQSLIP
PREDUE
PREDUEDGST
ACCTDETAILS
HOLD
ODUE

This way e-mailed or printed notices could all have news. 

Lisette Scheer