When you change your billing address later, it's
creating a new billingAccountId, not updating the
current one.  Because of this, the invoice will have
the same information before changing your address as
it does after.

--- Hans Bakker <[EMAIL PROTECTED]> wrote:

> Hi Si,
> 
> Do you trhink that the content of the invoice should
> change when the billing 
> address is changed later, after sending the invoice?
> Our should it stay at 
> the orginal content?
> 
> regards,
> Hans
> 
> 
> On Wednesday 22 November 2006 08:37, Si Chen wrote:
> > 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]
> 
> -- 
> Regards,
> Hans Bakker
> ANT Websystems Co.,Ltd
> (http://www.antwebsystems.com)
> 
> If you want to verify that this message really
> originates from
> from the above person, download the public key from:
>
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
> 

Reply via email to