function uc_reports_init in Ubercart 7.3
Same name and namespace in other branches
- 6.2 uc_reports/uc_reports.module \uc_reports_init()
Implements hook_init().
File
- uc_reports/
uc_reports.module, line 192 - Displays reports on sales, customers, and products to store admin.
Code
function uc_reports_init() {
if (arg(0) == 'admin' && arg(1) == 'store' && arg(2) == 'reports') {
drupal_add_css(drupal_get_path('module', 'uc_reports') . '/uc_reports.css');
}
}