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

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

index 03d14e3..40c531e 100644 (file)
                                             "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
                                             "|xns": "Roo.grid",
                                             "*prop": "colModel[]"
+                                        },
+                                        {
+                                            "xtype": "ColumnModel",
+                                            "header": "Curr rate",
+                                            "width": 75,
+                                            "dataIndex": "curr_rate",
+                                            "|renderer": "function(v) { return String.format('{0}', v); }",
+                                            "|xns": "Roo.grid",
+                                            "*prop": "colModel[]"
                                         }
                                     ]
                                 }
index b8c9b8b..bb3564f 100644 (file)
@@ -330,6 +330,14 @@ Pman.Tab.XtupleCurrency = new Roo.XComponent({
                                     width : 75,
                                     dataIndex : 'curr_expires',
                                     renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }
+                                },
+                                {
+                                    xtype: 'ColumnModel',
+                                    xns: Roo.grid,
+                                    header : 'Curr rate',
+                                    width : 75,
+                                    dataIndex : 'curr_rate',
+                                    renderer : function(v) { return String.format('{0}', v); }
                                 }
                             ]
                         }