{$vars['field_alias']}; if (module_exists('uc_credit')) { // Clear credit cache, otherwise the load function below will return // the same cached credit information for all the subsequent orders // invoices uc_credit_cache('clear'); } $order = uc_order_load($order_id); $invoice = uc_order_invoice($order); $vars['invoice'] = $invoice; }