Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleCurrency.js
index 7213532..3b0ca84 100644 (file)
@@ -32,7 +32,7 @@ Pman.Dialog.XtupleCurrency = {
             xns: Roo,
             closable : false,
             collapsible : false,
-            height : 400,
+            height : 200,
             modal : true,
             resizable : false,
             title : "Edit / Create Currency",
@@ -85,6 +85,7 @@ Pman.Dialog.XtupleCurrency = {
                                 {
                                     xtype: 'TextField',
                                     xns: Roo.form,
+                                    allowBlank : false,
                                     fieldLabel : 'Name',
                                     name : 'curr_name',
                                     width : 200
@@ -92,16 +93,27 @@ Pman.Dialog.XtupleCurrency = {
                                 {
                                     xtype: 'TextField',
                                     xns: Roo.form,
+                                    allowBlank : false,
                                     fieldLabel : 'Symbol',
                                     name : 'curr_symbol',
-                                    width : 75
+                                    width : 200
                                 },
                                 {
                                     xtype: 'TextField',
                                     xns: Roo.form,
+                                    allowBlank : false,
                                     fieldLabel : 'Abbr.',
                                     name : 'curr_abbr',
-                                    width : 75
+                                    width : 200
+                                },
+                                {
+                                    xtype: 'Checkbox',
+                                    xns: Roo.form,
+                                    boxLabel : 'Yes / No',
+                                    fieldLabel : 'Base',
+                                    inputValue : 'true',
+                                    name : 'curr_base',
+                                    valueOff : 0
                                 },
                                 {
                                     xtype: 'Hidden',