Bug 38859

Summary: New bookings notices should be added for existing installs
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: NoticesAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: andrew, jzairo, nick
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:
Bug Depends on: 36915    
Bug Blocks:    

Description Nick Clemens (kidclamp) 2025-01-10 16:22:03 UTC
We should add the sample notices for bookings placed,cancellation, and modification via a DB rev for existing installs. As of now the library has to create them with no reference
Comment 1 Katrin Fischer 2025-01-10 16:34:00 UTC
There is refernce - if they create a notice with the language code, they can use the reset feature to pull the translated text.
Comment 2 Katrin Fischer 2025-01-10 16:35:43 UTC
There is no switch to turn them off. Koha will start sending them as soon as they are created, that's why I was against adding them out of the box (keep the behavior consistent). Especially since we only add them by default in English.
Comment 3 Andrew Fuerste-Henry 2025-02-28 14:55:36 UTC
Those letters are BOOKING_CANCELLATION, BOOKING_CONFIRMATION, and BOOKING_MODIFICATION.

If you're reading this bug because your system got upgraded and you want these notices, it's not hard to get the sample version into your system:
- go to Tools, Notices and Slips
- create a new notice in the Bookings module
- give it one of the letter codes above
- put in just enough content so you can save
- edit your newly created letter, click View Default, click Copy to Template
Comment 4 Katrin Fischer 2025-03-04 07:12:20 UTC
Given the language issue and the goal to have the least possible behavior change on update, we have discussed some other ideas for this:

* Make it super easy to create a new notice with the sample text. Right now you need to add a notice with the language code and use the reset. If we could add a button "create notice XXXX from default" that could make the barrier a lot lower.

* Create a switch for the notices to be turned off (but I like the first idea much better as it would also solve the translation issue).