https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39716 --- Comment #11 from David Nind <david@davidnind.com> --- (In reply to Lisette Scheer from comment #10)
(In reply to David Nind from comment #9)
I've signed off, although I haven't tested step 13 - I don't really know what this means or what I should be looking for (I have never set up a circulation trigger, and I'm not sure where I should see the warning - when editing the notice?).
Testing notes (using KTD): 1. Step 11: Replace the complete contents of the notice with: [% x | $Price %] 2. Step 13: Don't really understand this step. 3. Step 14: I'm assuming something like this is what is meant: - Access the database: koha-mysql kohadev - Update the ODUE notice: update letter set content="[% x | $Price %]" where code="ODUE"; - Access the ODUE notice again using Tools > Notices and slips - When you open the Email notice for ODUE here is this text before the "Last updated" field: Template Toolkit error: undef error - : filter not found
1. Yes, 2. You can select any notice code to be the odue notice when setting up the trigger, so you can set something like SR_SLIP to be the triggered OD notice, then when you go back to edit that notice, it will tell you it's missing the odue item information. 3. I'll need to look at that, it should warn about [% USE Price %] missing.
Thanks Lisette! I managed to work out Step 13 (2 above) - can now see what was meant: - Go to Administration > Patrons and circulation > Circulation triggers - Click "Add new trigger" - Use the defaults for confirm trigger context: . Library: Default rule for all libraries . Patron category: Default rule for all categories . Item type: Default rule for all item types - Click "Confirm context" - For "Existing overdues triggers for this context" click "Add" - For "Add new trigger 1" add: . Delay: 1 . Restrict checkouts: No - For "Notice for trigger 1":: . Letter: select SR_SLIP . Transport type(s): select Email - Click "Submit" - Go to Tools > Patrons and circulation > Notices and slips - Edit the SR_SLIP - Expand the Email section and note the warning: Warnings: This notice is sent with a list of items, but the message body has nothing to list them with, so the items will not be in the notice. Add [% FOREACH ... IN overdues %] ... [% END %] or <<items.content>> or <item>...</item>. -- You are receiving this mail because: You are watching all bug changes.