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

            Bug ID: 40629
           Summary: Issue with Price Formatting in ACQORDER Email Notice
 Change sponsored?: ---
           Product: Koha
           Version: 24.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Created attachment 185300
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185300&action=edit
Notice format

Hi,

I'm currently trying to use [% USE Price %] in the ACQORDER email notice, but
it doesn't seem to be working as expected.

I've updated the email notice as follows:


[%- USE Price -%]

<!-- This is printing as 0.00 -->
<th>[% aqorders.listprice | $Price %]</th>
[% aqorders.replacementprice | $Price %]


However, instead of displaying the formatted price, it shows 0.00.

When I use the angle bracket syntax, the actual price values are displayed
correctly, like:

<<aqorders.listprice>> → 123.00000  
<<aqorders.replacementprice>> → 123.00000

I've tested this both on my demo instance and on the community demo instance
(https://demo-intra.mykoha.co.nz), and the result is the same.

Could you please help me understand what might be going wrong or how I can get
the formatted price to display correctly?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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