1 | <?xml version="1.0"?> |
---|
2 | <?xml-stylesheet type="text/xsl" href="layout.xsl"?> |
---|
3 | <object name="scratch_card_batch" meta_type="CPS Layout"> |
---|
4 | <property name="layout_create_method"></property> |
---|
5 | <property name="layout_edit_method"></property> |
---|
6 | <property name="layout_view_method"></property> |
---|
7 | <property name="style_prefix">layout_waeup_</property> |
---|
8 | <property name="flexible_widgets"/> |
---|
9 | <property name="validate_values_expr"></property> |
---|
10 | <widget name="cost" meta_type="Float Widget"> |
---|
11 | <property name="title">Cost</property> |
---|
12 | <property name="fields"> |
---|
13 | <element value="cost"/> |
---|
14 | </property> |
---|
15 | <property name="is_required">True</property> |
---|
16 | <property name="label">Cost</property> |
---|
17 | <property name="label_edit">Cost</property> |
---|
18 | <property name="readonly_layout_modes"/> |
---|
19 | <property name="hidden_layout_modes"/> |
---|
20 | <property name="hidden_readonly_layout_modes"/> |
---|
21 | </widget> |
---|
22 | <widget name="no_of_pins" meta_type="Int Widget"> |
---|
23 | <property name="title">Number of PINs </property> |
---|
24 | <property name="fields"> |
---|
25 | <element value="no_of_pins"/> |
---|
26 | </property> |
---|
27 | <property name="is_required">True</property> |
---|
28 | <property name="label">Number of PINs </property> |
---|
29 | <property name="label_edit">Number of PINs </property> |
---|
30 | <property name="readonly_layout_modes"/> |
---|
31 | <property name="hidden_layout_modes"/> |
---|
32 | <property name="hidden_readonly_layout_modes"/> |
---|
33 | <property name="min_value">1000</property> |
---|
34 | <property name="max_value">100000</property> |
---|
35 | </widget> |
---|
36 | <widget name="prefix" meta_type="Select Widget"> |
---|
37 | <property name="title">Prefix</property> |
---|
38 | <property name="fields"> |
---|
39 | <element value="prefix"/> |
---|
40 | </property> |
---|
41 | <property name="is_required">True</property> |
---|
42 | <property name="label">Prefix</property> |
---|
43 | <property name="label_edit">Prefix</property> |
---|
44 | <property name="readonly_layout_modes"/> |
---|
45 | <property name="hidden_layout_modes"/> |
---|
46 | <property name="hidden_readonly_layout_modes"/> |
---|
47 | <property name="vocabulary">pin_prefixes</property> |
---|
48 | </widget> |
---|
49 | <widget name="sold_by" meta_type="String Widget"> |
---|
50 | <property name="title">Sold by</property> |
---|
51 | <property name="fields"> |
---|
52 | <element value="sold_by"/> |
---|
53 | </property> |
---|
54 | <property name="label">Sold by</property> |
---|
55 | <property name="label_edit">Sold by</property> |
---|
56 | <property name="readonly_layout_modes"/> |
---|
57 | <property name="hidden_layout_modes"/> |
---|
58 | <property name="hidden_readonly_layout_modes"/> |
---|
59 | </widget> |
---|
60 | <table> |
---|
61 | <row> |
---|
62 | <cell name="prefix"/> |
---|
63 | </row> |
---|
64 | <row> |
---|
65 | <cell name="sold_by"/> |
---|
66 | </row> |
---|
67 | <row> |
---|
68 | <cell name="no_of_pins"/> |
---|
69 | </row> |
---|
70 | <row> |
---|
71 | <cell name="cost"/> |
---|
72 | </row> |
---|
73 | </table> |
---|
74 | </object> |
---|