You are here

function theme_uc_payment_pack_receive_check_form in Ubercart 5

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

File

payment/uc_payment_pack/uc_payment_pack.module, line 423
Provides the check/money order, COD, and "other" payment methods.

Code

function theme_uc_payment_pack_receive_check_form($form) {
  uc_add_js(drupal_get_path('module', 'uc_payment') . '/uc_payment.js');
  $output = '<p>' . t('Use the form to enter the check into the payments system and set the expected clear date.') . '</p>';
  $output .= '<p><strong>' . t('Order balance:') . '</strong> ' . drupal_render($form['balance']) . '</p>';
  $output .= drupal_render($form);
  return $output;
}