Hi,

Something about viewInvoice.fo.ftl looks wrong to me. I don't want to remove something which people are using, so I thought I'd check.

When printing the billing address of this invoice, there is this code block:
               <#if billingAddress?has_content>
<#assign billingPartyNameResult = dispatcher.runSync ("getPartyNameForDate", Static["org.ofbiz.base.util.UtilMisc"].toMap ("partyId", billingParty.partyId, "compareDate", invoice.invoiceDate, "userLogin", userLogin))/> <fo:block>${billingPartyNameResult.fullName?default (billingAddress.toName)?default("Billing Name Not Found")}</fo:block>
                <#if billingAddress.attnName?exists>
                    <fo:block>${billingAddress.attnName}</fo:block>
                </#if>

Why do we need to do this getPartyNameForDate? Shouldn't it just be billingAddress.toName?


Best Regards,

Si
[EMAIL PROTECTED]



Reply via email to