http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7129

Colin Campbell <colin.campb...@ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |colin.campbell@ptfs-europe.
                   |                            |com
   Patch complexity|---                         |Small patch

--- Comment #17 from Colin Campbell <colin.campb...@ptfs-europe.com> ---
Heres an approach using TT to format money amounts. At the top of the template
declare
[% USE money=format('%.2f') -%]
then in the body of the template when you want to display e.g. price use
[% money(price) %]

It takes the display logic out of the the cgi scripts ( a good thing) and
you've got an easier to maintain template

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to