Issue with PrintChecks.fo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with PrintChecks.fo.ftl

Steve Tremblay
Hi,

I'm having issues printing a check from the webtools (the amount is not
displayed before the **************).

 

I believe it is one of the following lines but I could not get it fixed :

<#assign amount =
Static["org.ofbiz.base.util.UtilNumber"].formatRuleBasedAmount(payment.getDo
uble("amount"), "%dollars-and-hundredths", locale).toUpperCase()/>

<fo:block padding-before="0.4cm" margin-left="1.3cm">${amount}<#list
1..(100-amount.length()) as x>*</#list></fo:block>

 

Can anyone help? Thanks, Steve.

 

Reply | Threaded
Open this post in threaded view
|

Re: Issue with PrintChecks.fo.ftl

Jacques Le Roux
Administrator
Works on trunk demo (as long as it will not be restarted, ie before next commit)

http://demo-trunk-ofbiz.apache.org/accounting/control/printChecks.pdf?paymentId=10000

Jacques

Le 02/07/2014 19:03, Steve Tremblay a écrit :

> Hi,
>
> I'm having issues printing a check from the webtools (the amount is not
> displayed before the **************).
>
>  
>
> I believe it is one of the following lines but I could not get it fixed :
>
> <#assign amount =
> Static["org.ofbiz.base.util.UtilNumber"].formatRuleBasedAmount(payment.getDo
> uble("amount"), "%dollars-and-hundredths", locale).toUpperCase()/>
>
> <fo:block padding-before="0.4cm" margin-left="1.3cm">${amount}<#list
> 1..(100-amount.length()) as x>*</#list></fo:block>
>
>  
>
> Can anyone help? Thanks, Steve.
>
>  
>
>

--