You are here

function theme_uc_payment_by_order_form in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_payment/uc_payment.admin.inc \theme_uc_payment_by_order_form()

File

payment/uc_payment/uc_payment.module, line 695

Code

function theme_uc_payment_by_order_form($form) {
  $output = '<p><strong>' . t('Order total:') . '</strong> ' . drupal_render($form['order_total']) . '<br /><strong>' . t('Current balance:') . '</strong> ' . drupal_render($form['balance']) . '</p>';
  $output .= '<p>' . tapir_get_table('uc_payments_table', $form) . '</p>' . '<p>' . drupal_render($form['form_id']) . drupal_render($form['form_token']) . '</p>';
  return $output;
}