You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Steve Tremblay <su...@modumatic.com> on 2014/07/02 19:03:30 UTC

Issue with PrintChecks.fo.ftl

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.

 


Re: Issue with PrintChecks.fo.ftl

Posted by Jacques Le Roux <ja...@les7arts.com>.
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.
>
>   
>
>

--