function discount_type_name in Ubercart Discounts (Alternative) 6.2
2 calls to discount_type_name()
- uc_discounts_admin_list in uc_discounts/
uc_discounts.admin.inc - Display a list of discounts.
- uc_discounts_report in uc_discounts/
uc_discounts.admin.inc - Generate report for all discounts.
File
- uc_discounts/
uc_discounts.module, line 2169
Code
function discount_type_name($discount_type) {
$options = discount_type_options();
return $options[$discount_type];
}