Adding Additional Fields for a purchase Order Payment


I need to add additional fields for a payment type “purchase Order”.

I need to update the template po.tpl, but how do I get the data stored for this order and get it to appear on invoices?

I added this to invoice.tpl

{$lang.po_number}: {$order_info.payment_info.po_number}

before {* /Order totals *}

This doesn’t answer the question. Maybe i didn’t explain too well…

This answer appears to relate to printing of PO Number.

I want to add a new field “Customer Account Number” that gets entered on the Purchase Order payments entry. The template file is po.tpl.

I then need to record and store this number in the orders table, and then print this on emails and invoices.