[Koha-bugs] [Bug 17975] TT syntax for notices - Prove that HOLD_SLIP is compatible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 23 18:31:20 CET 2017


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 59449
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59449&action=edit
Bug 17975: TT syntax for notices - Prove that HOLD_SLIP is compatible

Here we need to test <<today>>.
We already pass a value, but it was wrong. We must pass a string, not a
DateTime object, otherwise the KohaDates plugin will not display the
hours part if we need it.

Test plan:
Define a HOLD_SLIP notice template to match your need.
Do not forget to use
  [% today | $KohaDates %]
or
  [% today | $KohaDates with_hours => 1 %]
To access data from the reserves table, use the 'hold' variable

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


More information about the Koha-bugs mailing list