Bug 40629 - Issue with Price Formatting in ACQORDER Email Notice
Summary: Issue with Price Formatting in ACQORDER Email Notice
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-11 06:11 UTC by Developer Inside
Modified: 2025-08-11 06:11 UTC (History)
0 users

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


Attachments
Notice format (80.11 KB, image/png)
2025-08-11 06:11 UTC, Developer Inside
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Developer Inside 2025-08-11 06:11:54 UTC
Created attachment 185300 [details]
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?