Index: WAeUP_SRP/trunk/profiles/default/layouts/scratch_card_batch.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/layouts/scratch_card_batch.xml	(revision 440)
+++ WAeUP_SRP/trunk/profiles/default/layouts/scratch_card_batch.xml	(revision 440)
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<object name="scratch_card_batch" 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_default_</property>
+ <property name="flexible_widgets"/>
+ <property name="validate_values_expr"></property>
+ <widget name="cost" meta_type="Float Widget">
+  <property name="title">Cost</property>
+  <property name="fields">
+   <element value="cost"/>
+  </property>
+  <property name="is_required">True</property>
+  <property name="label">Cost</property>
+  <property name="label_edit">Cost</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+ </widget>
+ <widget name="no_of_pins" meta_type="Int Widget">
+  <property name="title">Nr of Pins </property>
+  <property name="fields">
+   <element value="no_of_pins"/>
+  </property>
+  <property name="is_required">True</property>
+  <property name="label">Nr of Pins </property>
+  <property name="label_edit">Nr of Pins </property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="min_value">1000</property>
+  <property name="max_value">100000</property>
+ </widget>
+ <widget name="prefix" meta_type="String Widget">
+  <property name="title">Prefix</property>
+  <property name="fields">
+   <element value="prefix"/>
+  </property>
+  <property name="is_required">True</property>
+  <property name="label">Prefix</property>
+  <property name="label_edit">Prefix</property>
+  <property name="readonly_layout_modes"/>
+  <property name="hidden_layout_modes"/>
+  <property name="hidden_readonly_layout_modes"/>
+  <property name="display_width">3</property>
+  <property name="size_max">3</property>
+ </widget>
+ <widget name="sold_by" meta_type="String Widget">
+  <property name="title">Sold by</property>
+  <property name="fields">
+   <element value="sold_by"/>
+  </property>
+  <property name="label">Sold by</property>
+  <property name="label_edit">Sold by</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/layouts/study_level.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/layouts/study_level.xml	(revision 434)
+++ WAeUP_SRP/trunk/profiles/default/layouts/study_level.xml	(revision 440)
@@ -7,59 +7,13 @@
  <property name="flexible_widgets"/>
  <property name="validate_values_expr"></property>
- <widget name="Title" meta_type="String Widget">
-  <property name="title">Title</property>
+ <widget name="code" meta_type="String Widget">
+  <property name="title">Level No</property>
   <property name="fields">
-   <element value="Title"/>
-  </property>
-  <property name="label">Level Nr</property>
-  <property name="label_edit">Level Nr</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="display_width">40</property>
- </widget>
- <widget name="sc_id" meta_type="String Widget">
-  <property name="title">SC ID</property>
-  <property name="fields">
-   <element value="sc_id"/>
-  </property>
-  <property name="label">Card Serial Number </property>
-  <property name="label_edit">Card Serial Number</property>
-  <property name="description">Card Serial Number </property>
-  <property
-     name="help">This can be found on the bottom right of the reverse side of your Scratch Card</property>
-  <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="hidden_if_expr">python:1</property>
-  <property name="display_width">10</property>
- </widget>
- <widget name="sc_pin" meta_type="Scratchcard Pin Widget">
-  <property name="title">SC PIN</property>
-  <property name="fields">
-   <element value="sc_pin"/>
+   <element value="code"/>
   </property>
   <property name="is_required">True</property>
-  <property name="label">Enter  PIN</property>
-  <property
-     name="label_edit">Enter Scratchcard Pin with the value above</property>
-  <property
-     name="help">Please enter a Scratchcard Pin valid for Registration of Next Level</property>
+  <property name="label">Level No</property>
+  <property name="label_edit">Level No</property>
   <property name="readonly_layout_modes"/>
-  <property name="hidden_layout_modes"/>
-  <property name="hidden_readonly_layout_modes"/>
-  <property name="display_width">10</property>
-  <property name="size_max">10</property>
- </widget>
- <widget name="sc_value" meta_type="Float Widget">
-  <property name="title">Scratch card value</property>
-  <property name="fields">
-   <element value="sc_value"/>
-  </property>
-  <property name="label">Scratcard Value</property>
-  <property name="label_edit">Scratcard Value</property>
-  <property name="readonly_layout_modes">
-   <element value="create"/>
-  </property>
   <property name="hidden_layout_modes"/>
   <property name="hidden_readonly_layout_modes"/>
@@ -67,5 +21,5 @@
  <table>
   <row>
-   <cell name="Title"/>
+   <cell name="code"/>
   </row>
  </table>
