Pman.Tab.XtupleCurrency.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:57:44 +0000 (18:57 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Dec 2013 10:57:44 +0000 (18:57 +0800)
Pman.Tab.XtupleCurrency.js

Pman.Tab.XtupleCurrency.bjs
Pman.Tab.XtupleCurrency.js

index a4d8b5f..e64feb4 100644 (file)
                                             "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
                                             "|xns": "Roo.grid"
                                         },
+                                        {
+                                            "*prop": "colModel[]",
+                                            "align": "right",
+                                            "dataIndex": "curr_rate",
+                                            "header": "Rate",
+                                            "width": 75,
+                                            "xtype": "ColumnModel",
+                                            "|renderer": "function(v) { return String.format('{0}', v); }",
+                                            "|xns": "Roo.grid"
+                                        },
                                         {
                                             "*prop": "colModel[]",
                                             "align": "right",
index c3cc462..fa9075e 100644 (file)
@@ -337,6 +337,15 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     width : 150,
                                     renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
                                 },
+                                {
+                                    xtype: 'ColumnModel',
+                                    xns: Roo.grid,
+                                    align : 'right',
+                                    dataIndex : 'curr_rate',
+                                    header : 'Rate',
+                                    width : 75,
+                                    renderer : function(v) { return String.format('{0}', v); }
+                                },
                                 {
                                     xtype: 'ColumnModel',
                                     xns: Roo.grid,