You are here

function uc_stock_report_form_submit in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_stock/uc_stock.admin.inc \uc_stock_report_form_submit()
  2. 7.3 uc_stock/uc_stock.admin.inc \uc_stock_report_form_submit()

File

uc_stock/uc_stock.module, line 295

Code

function uc_stock_report_form_submit($form_id, $form_values) {
  if ($form_values['threshold']) {
    drupal_goto('admin/store/reports/stock/threshold');
  }
  else {
    drupal_goto('admin/store/reports/stock');
  }
}