Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtuplePriceList.js
index dd20806..6a8c702 100644 (file)
@@ -86,8 +86,8 @@ Pman.Dialog.XtuplePriceList = {
                        {
                             '|xns' : 'Roo.form',
                             url : baseURL + '/Roo/ipshead.php',
-                            xtype : 'Form',
                             method : 'POST',
+                            xtype : 'Form',
                             style : 'margin:10px;',
                             xns : Roo.form,
                             listeners : {
@@ -155,8 +155,8 @@ Pman.Dialog.XtuplePriceList = {
                                         proxy : {
                                             '|xns' : 'Roo.data',
                                             url : baseURL + '/Roo/curr_symbol.php',
-                                            method : 'GET',
                                             xtype : 'HttpProxy',
+                                            method : 'GET',
                                             xns : Roo.data
                                         },
                                         reader : {
@@ -216,8 +216,8 @@ Pman.Dialog.XtuplePriceList = {
                                     '|xns' : 'Roo.form',
                                     fieldLabel : 'Effective',
                                     format : 'd/M/Y',
-                                    useIso : true,
                                     xtype : 'DateField',
+                                    useIso : true,
                                     allowBlank : false,
                                     width : 250,
                                     xns : Roo.form,
@@ -228,13 +228,19 @@ Pman.Dialog.XtuplePriceList = {
                                     '|xns' : 'Roo.form',
                                     fieldLabel : 'Expires',
                                     format : 'd/M/Y',
-                                    useIso : true,
                                     xtype : 'DateField',
+                                    useIso : true,
                                     allowBlank : false,
                                     width : 250,
                                     xns : Roo.form,
                                     altFormats : 'Y-m-d',
                                     name : 'ipshead_expires'
+                                },
+                               {
+                                    '|xns' : 'Roo.form',
+                                    name : 'ipshead_id',
+                                    xtype : 'Hidden',
+                                    xns : Roo.form
                                 }
                             ]