function uc_reports_order_statuses in Ubercart 7.3
Returns a SQL friendly array of order statuses for orders used in reports.
11 calls to uc_reports_order_statuses()
- uc_reports_customers in uc_reports/
uc_reports.admin.inc - Displays the customer report.
- uc_reports_get_sales in uc_reports/
uc_reports.admin.inc - Returns sales that occurred in a given time period.
- uc_reports_help in uc_reports/
uc_reports.module - Implements hook_help().
- uc_reports_products in uc_reports/
uc_reports.admin.inc - Displays the product reports.
- uc_reports_products_custom in uc_reports/
uc_reports.admin.inc - Displays the custom product report.
File
- uc_reports/
uc_reports.module, line 233 - Displays reports on sales, customers, and products to store admin.
Code
function uc_reports_order_statuses() {
$statuses = variable_get('uc_reports_reported_statuses', array(
'completed',
));
return $statuses;
}