3 "name": "Pman.Tab.XtupleArAging",
4 "parent": "Pman.Tab.XtupleAccountsTab",
6 "path": "/home/alan/gitlive/web.xtuple/Pman/Xtuple/Pman.Tab.XtupleArAging.bjs",
13 "title": "Accounts Recievable",
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]",
90 "render": "function (_self)\r\n{\r\n _this.relDate = _self;\r\n _self.setValue( new Date() );\r\n}",
91 "select": "function (combo, date)\n{\n _this.grid.footer.onClick('first');\n}"
104 "displayMsg": "Displaying araging{0} - {1} of {2}",
105 "emptyMsg": "Nothing found",
107 "xtype": "PagingToolbar",
111 "*prop": "colModel[]",
112 "dataIndex": "araging_docdate",
115 "xtype": "ColumnModel",
116 "|renderer": "function(v) { return String.format('{0}', v); }",
120 "*prop": "colModel[]",
121 "dataIndex": "araging_cust_name",
122 "header": "Customer",
124 "xtype": "ColumnModel",
125 "|renderer": "function(v) { return String.format('{0}', v); }",
129 "*prop": "colModel[]",
130 "dataIndex": "araging_doctype",
131 "header": "Doc Type",
133 "xtype": "ColumnModel",
134 "|renderer": "function(v) { return String.format('{0}', v); }",
138 "*prop": "colModel[]",
139 "dataIndex": "araging_docnumber",
140 "header": "Docnumber",
142 "xtype": "ColumnModel",
143 "|renderer": "function(v) { return String.format('{0}', v); }",
147 "*prop": "colModel[]",
148 "dataIndex": "araging_ponumber_pretty",
151 "xtype": "ColumnModel",
152 "|renderer": "function(v) { return String.format('{0}', v); }",
156 "*prop": "colModel[]",
158 "dataIndex": "araging_total_val",
161 "xtype": "ColumnModel",
162 "|renderer": "function(v) { return String.format('{0}', v); }",