Pman.Dialog.XtuplePurchaseOrder.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 10 Dec 2013 06:16:11 +0000 (14:16 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Dec 2013 06:16:11 +0000 (14:16 +0800)
Pman.Dialog.XtuplePurchaseOrder.js

Pman.Dialog.XtuplePurchaseOrder.bjs
Pman.Dialog.XtuplePurchaseOrder.js

index 5da17fc..48f5d8a 100644 (file)
                                                     "header": "Amount",
                                                     "width": 100,
                                                     "xtype": "ColumnModel",
-                                                    "|renderer": "function(v,x,r) { \n   var f = r.data.invfifo_void * 1 ? '<s>{0}</s>' : '{0}';\n    return String.format(f, (v*1).toFixed(0)); \n}",
+                                                    "|renderer": "function(v,x,r) { \n return String.format('{0}', v); \n\n}",
                                                     "|xns": "Roo.grid"
                                                 },
                                                 {
index 3acf178..4eb0f4d 100644 (file)
@@ -1739,8 +1739,8 @@ Pman.Dialog.XtuplePurchaseOrder = {
                                             header : 'Amount',
                                             width : 100,
                                             renderer : function(v,x,r) { 
-                                               var f = r.data.invfifo_void * 1 ? '<s>{0}</s>' : '{0}';
-                                                return String.format(f, (v*1).toFixed(0)); 
+                                             return String.format('{0}', v); 
+                                            
                                             }
                                         },
                                         {