Hi,

We are preparing for our move to the web client and are currently going
through and updating print templates. For the Checkout, Items Out, and
Renew templates, many of our libraries print "You saved $x.yz by borrowing
from your local library." The price of the items out would be added
together and displayed at the end of the receipt with the above text.

We did this by adding the following code to the line item section of the
template:
%price% %price% <span style="display: none;" sum="sum1">%price%</span>
and the following in the footer, where the sum is displayed:
<span sumout="sum1" fixed="2"></span>

I updated the line item portion for the web client with the new variable
name,
<span style="display: none;" sum="sum1"> {{checkout.copy.price}} </span>
but no matter what I do, the total sum is blank.

I cannot figure how to make this work. I was wondering if anyone has gotten
this to work yet and would be willing to share their code. If not, does
anyone have any suggestions I could try?

Thank you,
John

<http://www.cwmars.org>

John Amundson | Library Applications Associate III | CW MARS

jamund...@cwmars.org | 508-755-3323 x322 <%28508%29%20755-3323>

http://www.cwmars.org

Reply via email to