Re: PO Numbers on Invoices, Searchable in Orders.
I just added this hack to order_invoice.tpl. It displays the PO number by using regex in the smarty template to remove everything after the first line break in $order.details.
{if $order.payment_method eq "Purchase Order"}{$order.details|regex_replace:"/[\n].*/":""}{/if}
__________________
X-Cart Gold 4.6.3
|