Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleCurrency.bjs
index 4909b1e..a2fa943 100644 (file)
@@ -8,7 +8,7 @@
         {
             "closable": false,
             "collapsible": false,
-            "height": 400,
+            "height": 200,
             "modal": true,
             "resizable": false,
             "title": "Edit / Create Currency",
@@ -38,6 +38,7 @@
                             "|xns": "Roo.form",
                             "items": [
                                 {
+                                    "allowBlank": false,
                                     "fieldLabel": "Name",
                                     "name": "curr_name",
                                     "width": 200,
                                     "|xns": "Roo.form"
                                 },
                                 {
+                                    "allowBlank": false,
                                     "fieldLabel": "Symbol",
                                     "name": "curr_symbol",
-                                    "width": 75,
+                                    "width": 200,
                                     "xtype": "TextField",
                                     "|xns": "Roo.form"
                                 },
                                 {
-                                    "fieldLabel": "Symbol",
-                                    "name": "curr_symbol",
-                                    "width": 75,
+                                    "allowBlank": false,
+                                    "fieldLabel": "Abbr.",
+                                    "name": "curr_abbr",
+                                    "width": 200,
                                     "xtype": "TextField",
                                     "|xns": "Roo.form"
                                 },
+                                {
+                                    "boxLabel": "Yes / No",
+                                    "fieldLabel": "Base",
+                                    "inputValue": "true",
+                                    "name": "curr_base",
+                                    "valueOff": 0,
+                                    "xtype": "Checkbox",
+                                    "|xns": "Roo.form"
+                                },
                                 {
                                     "name": "curr_id",
                                     "xtype": "Hidden",