Bug 17976

Summary: TT syntax for notices - Add an equivalence for items.fine
Product: Koha Reporter: Jonathan Druart <jonathan.druart+koha>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17967
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 22421, 14757    
Bug Blocks:    

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?