Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Customize invoice View modes: 
User avatar
Member
Member
max! - 7/6/2012 5:11:01 AM
   
Customize invoice
Hello,

I'd like to customize the invoices created with a new transformation.
It deals with the SiteID, so I'm using this line in my template :
{%Order.SiteID.ApplyTransformation("custom.transformations.Information")%}

but it returns nothing.
Where am i wrong ?

Cheers

User avatar
Member
Member
max! - 7/12/2012 10:23:22 AM
   
RE:Customize invoice
Hello,

I update the post as I'm having weird behaviour but Forget about the previous thing.

I have changed the whole design of the invoice, and once the order is set I go to check the invoice generated. Some data (custom fields in the Order table) dont appear,I need to do "Generate Invoice" in order to make them appear.

Why do I need to re generate the Invoice ?

Thanks

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 7/13/2012 5:09:22 AM
   
RE:Customize invoice
Hi,

Do you mean that after you modify the template, the existing invoices in Order details in the E-commerce section of CMSDesk are not updated automatically?

That's a standard behavior. You need to force the "Generate Invoice".
It is for the purpose of changing the new invoices, but keeping the already sent (and generated) ones to keep a consistent history.

Does it make sense?

Regards,
Zdenek