function commerce_reports_tax_settings in Commerce Reporting 7
Same name and namespace in other branches
- 7.2 modules/tax/commerce_reports_tax.module \commerce_reports_tax_settings()
Admin settings form
1 string reference to 'commerce_reports_tax_settings'
- commerce_reports_tax_menu in commerce_reports_tax/
commerce_reports_tax.module - Implements hook_menu().
File
- commerce_reports_tax/
commerce_reports_tax.module, line 48
Code
function commerce_reports_tax_settings() {
$form = array();
$form['commerce_reports_tax_help'] = array(
'#prefix' => '<p>',
'#markup' => t('Due to the complexity of most taxation systems, the information needed to display a tax report must be built the first time you install this module.'),
'#suffix' => '</p>',
);
$form['commerce_reports_tax_rebuild'] = array(
'#type' => 'submit',
'#value' => t('Rebuild tax database'),
'#submit' => array(
'commerce_reports_tax_build',
),
);
return $form;
}