Bug 17976 - TT syntax for notices - Add an equivalence for items.fine
Summary: TT syntax for notices - Add an equivalence for items.fine
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
Depends on: 22421 14757
  Show dependency treegraph
Reported: 2017-01-23 18:01 UTC by Jonathan Druart
Modified: 2020-10-18 17:06 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2017-01-23 18:01:32 UTC
The items.fine is a trick of our historical syntax.
We need to provide a way to access this value from the a notice template using the TT syntax.
Comment 1 Martin Renvoize 2020-10-12 08:09:23 UTC
[% checkout.overdue_fine.amount | $Price %] feels like the 'right' syntax for this to me.. problem is, half the relations don't exist yet to do that.. and worse still we've not got the constraints either.
Comment 2 Katrin Fischer 2020-10-18 17:06:33 UTC
[% checkout.overdue_fine.amount | $Price %] would work for me - I imagine overdue_fine could be used to pull other values from the account line?