Hi Jonathan
Many thanks for the hint! I found more about this syntax and table
references in
https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit
Now our ACQORDER notice lokks something like this:
[%- USE Price -%]
[% FOREACH order IN orders %]
Author: [% order.biblio.abstract
Use the "Price" template plugin
At the top of the template, add:
[%- USE Price -%]
Then:
[% order.listprice | $Price %]
Le ven. 20 sept. 2024 à 11:07, Michael Kuhn a écrit :
>
> Hi
>
> In database field "aqorders.listprice" is given with six decimal places,
> thus a price would look like: 40.10
2 matches
Mail list logo