Index: /WAeUP_SRP/base/skins/waeup_epayment/getScratchCardCost.py
===================================================================
--- /WAeUP_SRP/base/skins/waeup_epayment/getScratchCardCost.py	(revision 2668)
+++ /WAeUP_SRP/base/skins/waeup_epayment/getScratchCardCost.py	(revision 2668)
@@ -0,0 +1,14 @@
+##parameters=key=None
+# $Id$
+"""
+Return the faculties as an vocabulary
+
+"""
+if key is None:
+    res = context.portal_catalog.search({'portal_type': "ScratchCardBatch"})    
+    return [(d.getId,d.getObject().getContent().cost) for d in res]
+res = context.portal_catalog.search({'portal_type': "ScratchCardBatch", 'id': key})
+if res:
+    return res[-1].getObject().getContent().cost
+return "unknown batch %s" % key
+
