Is there a reason for hardcoding the credit card types in the following template:

http://svn.apache.org/repos/asf/ofbiz/trunk/framework/common/webcommon/includes/cctypes.ftl

?

Why not getting the values from the Enumeration entity (we already have value for credit card types, with enumTypeId="CREDIT_CARD_TYPE")?

Also, I've noticed that in the CreditCard.cardType field, instead of storing the Enumeration.enumId field (e.g. CCT_VISA) we store the Enumeration.enumCode field (e.g. "Visa")

Jacopo

Reply via email to