Index: WAeUP_SRP/trunk/profiles/default/layouts/payment.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/layouts/payment.xml	(revision 1224)
+++ WAeUP_SRP/trunk/profiles/default/layouts/payment.xml	(revision 1224)
@@ -0,0 +1,106 @@
+<?xml version="1.0"?>
+<object name="payment" meta_type="CPS Layout">
+ <property name="layout_create_method"></property>
+ <property name="layout_edit_method"></property>
+ <property name="layout_view_method"></property>
+ <property name="style_prefix">layout_waeup_</property>
+ <property name="flexible_widgets"/>
+ <property name="validate_values_expr"></property>
+ <property name="label"></property>
+ <property name="label_edit"></property>
+ <property name="is_i18n">False</property>
+ <widget name="amount" meta_type="Float Widget">
+  <property name="title">Amount Payed</property>
+  <property name="fields">
+   <element value="amount"/>
+  </property>
+  <property name="label">Amount Payed</property>
+  <property name="label_edit">Amount Payed</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="decimals_number">2</property>
+ </widget>
+ <widget name="date" meta_type="DateTime Widget">
+  <property name="title">Payment Date</property>
+  <property name="fields">
+   <element value="date"/>
+  </property>
+  <property name="label">Payment Date</property>
+  <property name="label_edit">Payment Date</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+ </widget>
+ <widget name="order_id" meta_type="String Widget">
+  <property name="title">Order Id</property>
+  <property name="fields">
+   <element value="order_id"/>
+  </property>
+  <property name="label">Order Id</property>
+  <property name="label_edit">Order Id</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="display_width">20</property>
+ </widget>
+ <widget name="resp_approved_amount" meta_type="String Widget">
+  <property name="title">Approved Amount</property>
+  <property name="fields">
+   <element value="resp_approved_amt"/>
+  </property>
+  <property name="label">Approved Amount</property>
+  <property name="label_edit">Approved Amount</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="display_width">120</property>
+ </widget>
+ <widget name="resp_card_num" meta_type="String Widget">
+  <property name="title">Card Nr Used</property>
+  <property name="fields">
+   <element value="resp_card_num"/>
+  </property>
+  <property name="label">Card Used</property>
+  <property name="label_edit">Card Used</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="display_width">20</property>
+ </widget>
+ <widget name="resp_code" meta_type="String Widget">
+  <property name="title">Response Code</property>
+  <property name="fields">
+   <element value="resp_code"/>
+  </property>
+  <property name="label">Response Code</property>
+  <property name="label_edit">Response Code</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+ </widget>
+ <widget name="resp_desc" meta_type="String Widget"/>
+ <widget name="type_code" meta_type="String Widget">
+  <property name="title">Payment Type Code</property>
+  <property name="fields">
+   <element value="type_code"/>
+  </property>
+  <property name="label">Payment Type Code</property>
+  <property name="label_edit">Payment Type Code</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+ </widget>
+ <widget name="type_description" meta_type="String Widget">
+  <property name="title">Payment Type Description</property>
+  <property name="fields">
+   <element value="type_description"/>
+  </property>
+  <property name="label">Payment Type Description</property>
+  <property name="label_edit">Payment Type Description</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+ </widget>
+ <table/>
+</object>
Index: WAeUP_SRP/trunk/profiles/default/schemas/payment.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/schemas/payment.xml	(revision 1224)
+++ WAeUP_SRP/trunk/profiles/default/schemas/payment.xml	(revision 1224)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<object name="payment" meta_type="CPS Schema">
+ <field name="date" meta_type="CPS DateTime Field"/>
+ <field name="type_code" meta_type="CPS String Field"/>
+ <field name="type_description" meta_type="CPS String Field"/>
+ <field name="order_id" meta_type="CPS String Field"/>
+ <field name="transaction_code" meta_type="CPS String Field"/>
+ <field name="pay_type" meta_type="CPS String Field"/>
+ <field name="amount" meta_type="CPS Float Field"/>
+ <field name="amount" meta_type="CPS Float Field"/>
+ <field name="resp_desc" meta_type="CPS String Field"/>
+ <field name="resp_code" meta_type="CPS String Field"/>
+ <field name="resp_card_num" meta_type="CPS String Field"/>
+ <field name="resp_approved_amount" meta_type="CPS String Field"/>
+</object>
Index: WAeUP_SRP/trunk/profiles/default/types.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/types.xml	(revision 1222)
+++ WAeUP_SRP/trunk/profiles/default/types.xml	(revision 1224)
@@ -12,4 +12,6 @@
  <object name="Department" meta_type="CPS Flexible Type Information"/>
  <object name="Faculty" meta_type="CPS Flexible Type Information"/>
+ <object name="PaymentsFolder" meta_type="CPS Flexible Type Information"/>
+ <object name="Payment" meta_type="CPS Flexible Type Information"/>
  <object name="ScratchCardBatch" meta_type="CPS Flexible Type Information"/>
  <object name="ScratchCardBatchesFolder" meta_type="CPS Flexible Type Information"/>
Index: WAeUP_SRP/trunk/profiles/default/types/Payment.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/types/Payment.xml	(revision 1224)
+++ WAeUP_SRP/trunk/profiles/default/types/Payment.xml	(revision 1224)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<object name="Payment" meta_type="CPS Flexible Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Payment Data</property>
+ <property name="description"></property>
+ <property name="content_icon"></property>
+ <property name="content_meta_type">Payment</property>
+ <property name="product">WAeUP_SRP</property>
+ <property name="factory">addPayment</property>
+ <property name="immediate_view">waeup_document_view</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <property name="cps_is_searchable">False</property>
+ <property name="cps_proxy_type">folder</property>
+ <property name="cps_display_as_document_in_listing">True</property>
+ <property name="schemas">
+  <element value="payment"/>
+ </property>
+ <property name="layouts">
+  <element value="payment"/>
+ </property>
+ <property name="layout_clusters"/>
+ <property name="flexible_layouts"/>
+ <property name="storage_methods"/>
+ <property name="cps_is_portlet">False</property>
+ <alias from="(Default)" to="student_index"/>
+ <alias from="view" to="student_index"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    url_expr="string:${object_url}/student_index" visible="True">
+  <permission value="View"/>
+ </action>
+ <action title="action_edit" action_id="edit" category="object"
+    condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
+    visible="False">
+  <permission value="Modify portal content"/>
+ </action>
+</object>
Index: WAeUP_SRP/trunk/profiles/default/types/PaymentsFolder.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/types/PaymentsFolder.xml	(revision 1224)
+++ WAeUP_SRP/trunk/profiles/default/types/PaymentsFolder.xml	(revision 1224)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<object name="PaymentsFolder" meta_type="CPS Flexible Type Information"
+   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">WAeUP Payments Folder</property>
+ <property name="description"></property>
+ <property name="content_icon"></property>
+ <property name="content_meta_type">PaymentsFolder</property>
+ <property name="product">WAeUP_SRP</property>
+ <property name="factory">addPaymentsFolder</property>
+ <property name="immediate_view">payments_folder_index</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types">
+  <element value="Payment"/>
+ </property>
+ <property name="allow_discussion">False</property>
+ <property name="cps_is_searchable">True</property>
+ <property name="cps_proxy_type">btreefolder</property>
+ <property name="cps_display_as_document_in_listing">True</property>
+ <property name="schemas">
+  <element value="metadata"/>
+  <element value="common"/>
+ </property>
+ <property name="layouts"/>
+ <property name="layout_clusters"/>
+ <property name="flexible_layouts"/>
+ <property name="storage_methods"/>
+ <property name="cps_is_portlet">False</property>
+ <alias from="(Default)" to="acco_folder_index"/>
+ <alias from="view" to="acco_folder_index"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+    url_expr="string:${object_url}/acco_folder_index" visible="True">
+  <permission value="View"/>
+ </action>
+ <action title="Add Hall" action_id="new_entry" category="object"
+    condition_expr=""
+    url_expr="string:${object_url}/content_create?type_name=AccoHall"
+    visible="True">
+  <permission value="Modify portal content"/>
+ </action>
+ <action title="Update Bed List" action_id="new_bed_list" category="object"
+    condition_expr="" url_expr="string:${object_url}/generateFreeBedsList"
+    visible="True">
+  <permission value="Modify portal content"/>
+ </action>
+ <action title="Delegate" action_id="localroles" category="object"
+    condition_expr="here/isSectionOfficer"
+    url_expr="string:${object_url}/folder_localrole_form" visible="True">
+  <permission value="Modify portal content"/>
+ </action>
+</object>
