diff --git a/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy b/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy new file mode 100644 index 0000000000..9b06b2c0a0 --- /dev/null +++ b/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy @@ -0,0 +1,5 @@ +import org.ofbiz.entity.condition.EntityCondition; +import org.ofbiz.entity.condition.EntityOperator; + +context.creditCardTypes = delegator.findList("Enumeration", EntityCondition.makeCondition("enumTypeId", EntityOperator.EQUALS, "CREDIT_CARD_TYPE"), + ["enumId", "enumCode"] as Set, null, null, false); \ No newline at end of file