From b0dbca57c21400a411c53fa966cb64a6e7314d35 Mon Sep 17 00:00:00 2001 From: Ashish Vijaywargiya Date: Sat, 18 Oct 2014 09:29:33 +0000 Subject: [PATCH] I forgot to commit a file in one of my recent commit r1626425. Committing it now. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632747 13f79535-47bb-0310-9956-ffa450edef68 --- .../common/webcommon/WEB-INF/actions/includes/CcTypes.groovy | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy 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