function uc_order_invoice in Ubercart 6.2
Same name and namespace in other branches
- 5 uc_order/uc_order.module \uc_order_invoice()
Displays an invoice in the browser.
1 string reference to 'uc_order_invoice'
- uc_order_menu in uc_order/
uc_order.module - Implements hook_menu().
File
- uc_order/
uc_order.admin.inc, line 1704 - Order administration menu items.
Code
function uc_order_invoice($order, $op = 'view') {
$output = theme('uc_order', $order, $op, variable_get('uc_cust_order_invoice_template', 'customer'));
if ($op == 'print') {
print $output;
exit;
}
return $output;
}