You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2014/10/18 11:29:33 UTC
svn commit: r1632747 -
/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy
Author: ashish
Date: Sat Oct 18 09:29:33 2014
New Revision: 1632747
URL: http://svn.apache.org/r1632747
Log:
I forgot to commit a file in one of my recent commit r1626425. Committing it now.
Added:
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy (with props)
Added: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy?rev=1632747&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy (added)
+++ ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy Sat Oct 18 09:29:33 2014
@@ -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
Propchange: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/CcTypes.groovy
------------------------------------------------------------------------------
svn:mime-type = text/plain