3 "name": "Pman.Tab.XtupleArAging",
4 "parent": "Pman.Tab.XtupleAccountsTab",
6 "path": "/home/edward/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleArAging.bjs",
14 "xtype": "NestedLayoutPanel",
19 "xtype": "BorderLayout",
24 "xtype": "LayoutRegion",
29 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
35 "tableName": "aropen",
42 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
45 "autoExpandColumn": "araging_docnumber",
52 "beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n \n var dt = _this.relDate.getValue();\n \n var params = {\n _group : 'arAging',\n _name : 'bydate',\n 'relDate:text' : typeof(dt) == 'string' ? dt : dt.format('Y-m-d'),\n 'useDocDate:text' : false\n };\n \n Roo.apply(o.params,params);\n}"
54 "*prop": "dataSource",
64 "|url": "baseURL + '/Roo/Metasql.php'",
71 "totalProperty": "total",
72 "xtype": "JsonReader",
73 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n },\n {\n 'name': 'type',\n 'type': 'int'\n },\n {\n 'name': 'leader',\n 'type': 'int'\n },\n {\n 'name': 'leader_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_office_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_name',\n 'type': 'string'\n },\n {\n 'name': 'leader_phone',\n 'type': 'string'\n },\n {\n 'name': 'leader_fax',\n 'type': 'string'\n },\n {\n 'name': 'leader_email',\n 'type': 'string'\n },\n {\n 'name': 'leader_company_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_role',\n 'type': 'string'\n },\n {\n 'name': 'leader_active',\n 'type': 'int'\n },\n {\n 'name': 'leader_remarks',\n 'type': 'string'\n },\n {\n 'name': 'leader_passwd',\n 'type': 'string'\n },\n {\n 'name': 'leader_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_lang',\n 'type': 'string'\n },\n {\n 'name': 'leader_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'leader_action_type',\n 'type': 'string'\n },\n {\n 'name': 'leader_project_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'leader_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'leader_firstname',\n 'type': 'string'\n },\n {\n 'name': 'leader_lastname',\n 'type': 'string'\n },\n {\n 'name': 'leader_name_facebook',\n 'type': 'string'\n },\n {\n 'name': 'leader_url_blog',\n 'type': 'string'\n },\n {\n 'name': 'leader_url_twitter',\n 'type': 'string'\n },\n {\n 'name': 'leader_url_linkedin',\n 'type': 'string'\n },\n {\n 'name': 'leader_crm_lead_percentage',\n 'type': 'int'\n },\n {\n 'name': 'leader_crm_industry_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_crm_updated_action_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_crm_created_action_id',\n 'type': 'int'\n },\n {\n 'name': 'leader_crm_type_id',\n 'type': 'int'\n }\n]",
85 "render": "function (_self)\r\n{\r\n _this.relDate = _self;\r\n _self.setValue( new Date() );\r\n}",
86 "select": "function (combo, date)\n{\n _this.grid.footer.onClick('first');\n}"
99 "displayMsg": "Displaying araging{0} - {1} of {2}",
100 "emptyMsg": "Nothing found",
102 "xtype": "PagingToolbar",
106 "*prop": "colModel[]",
107 "dataIndex": "araging_docdate",
110 "xtype": "ColumnModel",
111 "|renderer": "function(v) { return String.format('{0}', v); }",
115 "*prop": "colModel[]",
116 "dataIndex": "araging_cust_name",
117 "header": "Customer",
119 "xtype": "ColumnModel",
120 "|renderer": "function(v) { return String.format('{0}', v); }",
124 "*prop": "colModel[]",
125 "dataIndex": "araging_doctype",
128 "xtype": "ColumnModel",
129 "|renderer": "function(v) { return String.format('{0}', v); }",
133 "*prop": "colModel[]",
134 "dataIndex": "Docnumber",
135 "header": "araging_docnumber",
137 "xtype": "ColumnModel",
138 "|renderer": "function(v) { return String.format('{0}', v); }",
142 "*prop": "colModel[]",
143 "dataIndex": "Total",
144 "header": "araging_total_val",
146 "xtype": "ColumnModel",
147 "|renderer": "function(v) { return String.format('{0}', v); }",