PHP8
[Pman.BAdmin] / Pman.Tab.BAdminLogEvents.bjs
index 1272437..8c79ec2 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Tab.BAdminLogEvents",
  "parent" : "Pman.Tab.BAdminLogs",
  "title" : "Pman.Tab.BAdminLogEvents",
- "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Tab.BAdminLogEvents.bjs",
+ "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Tab.BAdminLogEvents.bjs",
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
   "31c03fdb82204f0ac1fe916b2c713c8c" : "Show <i class=\"fa fa-search\" aria-hidden=\"true\"></i>",
   "2c92a9a6a5dbf570825e62eabcdecd8d" : "Affected"
  },
+ "named_strings" : {
+  "footer_displayMsg" : "155ca6a755e25c15ad7ce45e2f638f10",
+  "footer_emptyMsg" : "fc6f97505d89fe9277965c126744647a"
+ },
  "items" : [
   {
    "listeners" : {
                  "$ xns" : "Roo.bootstrap",
                  "items" : [
                   {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "String cls" : "roo-toolbar-label",
-                     "xtype" : "FieldLabel",
-                     "$ xns" : "Roo.bootstrap",
-                     "String html" : "Show <i class=\"fa fa-search\" aria-hidden=\"true\"></i>",
-                     "String style" : "line-height: 34px;"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 2,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.personSel = this;\n    \n}",
-                      "select" : "function (combo, record, index)\n{\n    _this.table.footer.onClick('first');\n}"
-                     },
-                     "Boolean allowBlank" : true,
-                     "String loadingText" : "test",
-                     "String valueField" : "id",
-                     "Boolean typeAhead" : true,
-                     "Boolean removable" : true,
-                     "xtype" : "ComboBox",
-                     "Boolean editable" : false,
-                     "String triggerAction" : "all",
-                     "Boolean alwaysQuery" : false,
-                     "string placeholder" : "Select Person",
-                     "$ xns" : "Roo.bootstrap",
-                     "Boolean multiple" : false,
-                     "String displayField" : "name",
-                     "Boolean forceSelection" : true,
-                     "items" : [
-                      {
-                       "listeners" : {
-                        "beforeload" : "function (_self, o)\n{\n    o.params = o.params || {};\n        o.params.limit = 9999;\n}"
-                       },
-                       "$ Object sortInfo" : "{field : 'name' , direction : 'ASC'}",
-                       "xtype" : "Store",
-                       "boolean remoteSort" : true,
-                       "$ xns" : "Roo.data",
-                       "* prop" : "store",
-                       "items" : [
-                        {
-                         "xtype" : "HttpProxy",
-                         "$ xns" : "Roo.data",
-                         "String method" : "GET",
-                         "* prop" : "proxy",
-                         "$ String url" : "baseURL+'/Roo/Core_person'"
-                        },
-                        {
-                         "$ Array fields" : "[\n    {\n        'name': 'id',\n        'type': 'int'\n    },\n    {\n        'name': 'office_id',\n        'type': 'int'\n    },\n    {\n        'name': 'name',\n        'type': 'string'\n    },\n    {\n        'name': 'phone',\n        'type': 'string'\n    },\n    {\n        'name': 'fax',\n        'type': 'string'\n    },\n    {\n        'name': 'email',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id',\n        'type': 'int'\n    },\n    {\n        'name': 'role',\n        'type': 'string'\n    },\n    {\n        'name': 'active',\n        'type': 'int'\n    },\n    {\n        'name': 'remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'passwd',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'lang',\n        'type': 'string'\n    },\n    {\n        'name': 'no_reset_sent',\n        'type': 'int'\n    },\n    {\n        'name': 'action_type',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id',\n        'type': 'int'\n    },\n    {\n        'name': 'deleted_by',\n        'type': 'int'\n    },\n    {\n        'name': 'deleted_dt',\n        'type': 'date',\n        'dateFormat': 'Y-m-d'\n    },\n    {\n        'name': 'office_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'office_id_company_id',\n        'type': 'int'\n    },\n    {\n        'name': 'office_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'office_id_address',\n        'type': 'string'\n    },\n    {\n        'name': 'office_id_phone',\n        'type': 'string'\n    },\n    {\n        'name': 'office_id_fax',\n        'type': 'string'\n    },\n    {\n        'name': 'office_id_email',\n        'type': 'string'\n    },\n    {\n        'name': 'office_id_role',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_code',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_address',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_tel',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_fax',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_email',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_isOwner',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_logo_id',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_background_color',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_comptype',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_url',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_main_office_id',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_created_by',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_created_dt',\n        'type': 'date'\n    },\n    {\n        'name': 'company_id_updated_by',\n        'type': 'int'\n    },\n    {\n        'name': 'company_id_updated_dt',\n        'type': 'date'\n    },\n    {\n        'name': 'company_id_passwd',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_dispatch_port',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_province',\n        'type': 'string'\n    },\n    {\n        'name': 'company_id_country',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_code',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_active',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_type',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_client_id',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_team_id',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_file_location',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_open_date',\n        'type': 'date'\n    },\n    {\n        'name': 'project_id_open_by',\n        'type': 'int'\n    },\n    {\n        'name': 'project_id_close_date',\n        'type': 'date'\n    },\n    {\n        'name': 'project_id_countries',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_languages',\n        'type': 'string'\n    },\n    {\n        'name': 'project_id_agency_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_office_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_phone',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_fax',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_email',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_company_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_role',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_active',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_passwd',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_lang',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_no_reset_sent',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_action_type',\n        'type': 'string'\n    },\n    {\n        'name': 'owner_id_project_id',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_deleted_by',\n        'type': 'int'\n    },\n    {\n        'name': 'owner_id_deleted_dt',\n        'type': 'date'\n    }\n]",
-                         "xtype" : "JsonReader",
-                         "$ xns" : "Roo.data",
-                         "* prop" : "reader"
-                        }
-                       ]
-                      }
-                     ]
-                    }
-                   ]
-                  },
-                  {
-                   "listeners" : {
-                    "render" : "function (_self)\n{\n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n}"
-                   },
-                   "Number md" : 2,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.actionSel = this;\n    \n}",
-                      "select" : "function (combo, record, index)\n{\n    _this.table.footer.onClick('first');\n}"
-                     },
-                     "Boolean allowBlank" : true,
-                     "String valueField" : "id",
-                     "Boolean typeAhead" : true,
-                     "Boolean removable" : true,
-                     "xtype" : "ComboBox",
-                     "Boolean editable" : false,
-                     "String triggerAction" : "all",
-                     "Boolean alwaysQuery" : false,
-                     "string placeholder" : "select action",
-                     "Number listWidth" : 300,
-                     "$ xns" : "Roo.bootstrap",
-                     "Boolean multiple" : false,
-                     "String displayField" : "action",
-                     "Boolean forceSelection" : true,
-                     "items" : [
-                      {
-                       "listeners" : {
-                        "beforeload" : "function (_self, o)\n{\n    o.params = o.params || {};\n    \n    /*\n    // staff can see all logs, other companies can only see their own.\n    if (Pman.Login.authUser.company_id_comptype != 'OWNER') {\n        o.params.company_id = Pman.Login.authUser.company_id;\n    }\n    */\n    o.params.limit = 9999;\n    o.params._distinct = 'action';\n    \n    o.params._columns ='action';\n}"
-                       },
-                       "$ Object sortInfo" : "{ field : 'action' , direction : 'ASC' }",
-                       "xtype" : "Store",
-                       "boolean remoteSort" : true,
-                       "$ xns" : "Roo.data",
-                       "* prop" : "store",
-                       "items" : [
-                        {
-                         "xtype" : "HttpProxy",
-                         "$ xns" : "Roo.data",
-                         "String method" : "GET",
-                         "* prop" : "proxy",
-                         "$ String url" : "baseURL + '/Roo/Events'"
-                        },
-                        {
-                         "$ Array fields" : "[\n    {\n        'name': 'id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_name',\n        'type': 'string'\n    },\n    {\n        'name': 'event_when',\n        'type': 'date',\n        'dateFormat': 'Y-m-d'\n    },\n    {\n        'name': 'action',\n        'type': 'string'\n    },\n    {\n        'name': 'ipaddr',\n        'type': 'string'\n    },\n    {\n        'name': 'on_id',\n        'type': 'int'\n    },\n    {\n        'name': 'on_table',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id',\n        'type': 'int'\n    },\n    {\n        'name': 'remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_office_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_phone',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_fax',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_email',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_company_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_role',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_active',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_passwd',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_lang',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_no_reset_sent',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_action_type',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_project_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_deleted_by',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_deleted_dt',\n        'type': 'date'\n    }\n]",
-                         "xtype" : "JsonReader",
-                         "$ xns" : "Roo.data",
-                         "* prop" : "reader"
-                        }
-                       ]
-                      }
-                     ]
-                    }
-                   ]
-                  },
-                  {
-                   "listeners" : {
-                    "render" : "function (_self)\n{\n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n}"
-                   },
-                   "Number md" : 2,
+                   "Number md" : 12,
                    "xtype" : "Column",
                    "$ xns" : "Roo.bootstrap",
                    "items" : [
                     {
                      "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.affectSel = this;\n}",
-                      "select" : "function (combo, record, index)\n{\n    _this.table.footer.onClick('first');\n}"
+                      "render" : "function (_self)\n{\n    this.indicator.setVisibilityMode(Roo.Element.DISPLAY).hide();\n}"
                      },
-                     "Boolean allowBlank" : true,
-                     "String valueField" : "id",
-                     "Boolean typeAhead" : true,
-                     "Boolean removable" : true,
-                     "xtype" : "ComboBox",
-                     "Boolean editable" : false,
-                     "String triggerAction" : "all",
-                     "Boolean alwaysQuery" : false,
-                     "string placeholder" : "select affected",
-                     "Number listWidth" : 300,
-                     "$ xns" : "Roo.bootstrap",
-                     "Boolean multiple" : false,
-                     "String displayField" : "on_table",
-                     "Boolean forceSelection" : true,
-                     "items" : [
-                      {
-                       "listeners" : {
-                        "beforeload" : "function (_self, o)\n{\n    o.params = o.params || {};\n    \n    /*\n    // staff can see all logs, other companies can only see their own.\n    if (Pman.Login.authUser.company_id_comptype != 'OWNER') {\n        o.params.company_id = Pman.Login.authUser.company_id;\n    }\n    */\n        o.params.limit = 9999;\n    o.params._distinct = 'on_table';\n    \n    o.params._columns ='on_table';\n}"
-                       },
-                       "Object sortInfo" : "{ field : 'on_table' , direction : 'ASC' }",
-                       "xtype" : "Store",
-                       "boolean remoteSort" : true,
-                       "$ xns" : "Roo.data",
-                       "* prop" : "store",
-                       "items" : [
-                        {
-                         "xtype" : "HttpProxy",
-                         "$ xns" : "Roo.data",
-                         "String method" : "GET",
-                         "* prop" : "proxy",
-                         "$ String url" : "baseURL + '/Roo/Events'"
-                        },
-                        {
-                         "$ Array fields" : "[\n    {\n        'name': 'id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_name',\n        'type': 'string'\n    },\n    {\n        'name': 'event_when',\n        'type': 'date',\n        'dateFormat': 'Y-m-d'\n    },\n    {\n        'name': 'action',\n        'type': 'string'\n    },\n    {\n        'name': 'ipaddr',\n        'type': 'string'\n    },\n    {\n        'name': 'on_id',\n        'type': 'int'\n    },\n    {\n        'name': 'on_table',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id',\n        'type': 'int'\n    },\n    {\n        'name': 'remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_office_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_name',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_phone',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_fax',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_email',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_company_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_role',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_active',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_remarks',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_passwd',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_owner_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_lang',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_no_reset_sent',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_action_type',\n        'type': 'string'\n    },\n    {\n        'name': 'person_id_project_id',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_deleted_by',\n        'type': 'int'\n    },\n    {\n        'name': 'person_id_deleted_dt',\n        'type': 'date'\n    }\n]",
-                         "xtype" : "JsonReader",
-                         "$ xns" : "Roo.data",
-                         "* prop" : "reader"
-                        }
-                       ]
-                      }
-                     ]
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "String cls" : "roo-toolbar-label",
-                     "xtype" : "FieldLabel",
-                     "$ xns" : "Roo.bootstrap",
-                     "String html" : "Date Range <i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>",
-                     "String style" : "line-height: 34px;"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.dateFrom = _self;\n}",
-                      "change" : "function (_self, newValue, oldValue)\n{\n      _this.table.footer.onClick('first');\n}"
-                     },
-                     "xtype" : "DateField",
-                     "string placeholder" : "Start",
-                     "$ xns" : "Roo.bootstrap"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
-                     "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.dateTo = _self;\n}",
-                      "change" : "function (_self, newValue, oldValue)\n{\n    _this.table.footer.onClick('first');\n}"
-                     },
-                     "xtype" : "DateField",
-                     "string placeholder" : "End",
-                     "$ xns" : "Roo.bootstrap"
-                    }
-                   ]
-                  }
-                 ]
-                },
-                {
-                 "String cls" : "roo-toolbar",
-                 "xtype" : "Row",
-                 "$ xns" : "Roo.bootstrap",
-                 "items" : [
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
-                    {
                      "String cls" : "roo-toolbar-label",
                      "xtype" : "FieldLabel",
                      "$ xns" : "Roo.bootstrap",
                      "String html" : "Show <i class=\"fa fa-search\" aria-hidden=\"true\"></i>",
-                     "String style" : "line-height: 34px;"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 2,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                     "String style" : "float: left; line-height: 34px; width: 80px;"
+                    },
                     {
                      "listeners" : {
                       "render" : "function (_self)\n{\n    _this.personSel = this;\n    \n}",
                      "Boolean alwaysQuery" : false,
                      "string placeholder" : "Select Person",
                      "$ xns" : "Roo.bootstrap",
+                     "String style" : "float: left; width: 300px;",
                      "Boolean multiple" : false,
                      "String displayField" : "name",
                      "Boolean forceSelection" : true,
                        ]
                       }
                      ]
-                    }
-                   ]
-                  },
-                  {
-                   "listeners" : {
-                    "render" : "function (_self)\n{\n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n}"
-                   },
-                   "Number md" : 2,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                    },
                     {
                      "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.actionSel = this;\n    \n}",
+                      "render" : "function (_self)\n{\n    _this.actionSel = this;\n    \n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n    \n}",
                       "select" : "function (combo, record, index)\n{\n    _this.table.footer.onClick('first');\n}"
                      },
                      "Boolean allowBlank" : true,
                      "String triggerAction" : "all",
                      "Boolean alwaysQuery" : false,
                      "string placeholder" : "select action",
-                     "Number listWidth" : 300,
                      "$ xns" : "Roo.bootstrap",
+                     "String style" : "float: left; width: 300px; margin-left: 15px;",
                      "Boolean multiple" : false,
                      "String displayField" : "action",
                      "Boolean forceSelection" : true,
                        ]
                       }
                      ]
-                    }
-                   ]
-                  },
-                  {
-                   "listeners" : {
-                    "render" : "function (_self)\n{\n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n}"
-                   },
-                   "Number md" : 2,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                    },
                     {
                      "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.affectSel = this;\n}",
+                      "render" : "function (_self)\n{\n    _this.affectSel = this;\n    \n    this.show();\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.hide();\n    }\n    \n}",
                       "select" : "function (combo, record, index)\n{\n    _this.table.footer.onClick('first');\n}"
                      },
                      "Boolean allowBlank" : true,
                      "String triggerAction" : "all",
                      "Boolean alwaysQuery" : false,
                      "string placeholder" : "select affected",
-                     "Number listWidth" : 300,
                      "$ xns" : "Roo.bootstrap",
+                     "String style" : "float: left; width: 300px; margin-left: 15px;",
                      "Boolean multiple" : false,
                      "String displayField" : "on_table",
                      "Boolean forceSelection" : true,
                        ]
                       }
                      ]
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                    },
                     {
+                     "listeners" : {
+                      "render" : "function (_self)\n{\n    this.indicator.setVisibilityMode(Roo.Element.DISPLAY).hide();\n}"
+                     },
                      "String cls" : "roo-toolbar-label",
                      "xtype" : "FieldLabel",
                      "$ xns" : "Roo.bootstrap",
                      "String html" : "Date Range <i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>",
-                     "String style" : "line-height: 34px;"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                     "String style" : "float: left; line-height: 34px; width: 125px; margin-left: 15px;"
+                    },
                     {
                      "listeners" : {
                       "render" : "function (_self)\n{\n    _this.dateFrom = _self;\n}",
                      },
                      "xtype" : "DateField",
                      "string placeholder" : "Start",
-                     "$ xns" : "Roo.bootstrap"
-                    }
-                   ]
-                  },
-                  {
-                   "Number md" : 1,
-                   "xtype" : "Column",
-                   "$ xns" : "Roo.bootstrap",
-                   "items" : [
+                     "$ xns" : "Roo.bootstrap",
+                     "String style" : "float:left; width: 150px;"
+                    },
                     {
                      "listeners" : {
                       "render" : "function (_self)\n{\n    _this.dateTo = _self;\n}",
                      },
                      "xtype" : "DateField",
                      "string placeholder" : "End",
-                     "$ xns" : "Roo.bootstrap"
+                     "$ xns" : "Roo.bootstrap",
+                     "String style" : "float:left; width: 150px; margin-left: 15px;"
                     }
                    ]
                   }
         {
          "listeners" : {
           "rowdblclick" : "function (_self, el, rowIndex, e)\n{\n/*\n    if (!_this.dialog) {\n        return;\n    }\n    _this.dialog.show(_this.grid.grid.store.getAt(rowIndex).data, function() {\n        if (_this.table) {\n            _this.table.footer.onClick('first');\n        }\n    });\n*/\n}",
-          "render" : "function (_self)\n{\n    \n    _this.table = _self;\n    \n}"
+          "render" : "function (_self)\n{\n    _this.table = _self;\n    \n    if(appDisabled.indexOf('Core.SuperAdmin') * 1 != -1) {\n        this.colModel.setHidden(this.colModel.findColumnIndex('id'), true);\n        this.colModel.setHidden(this.colModel.findColumnIndex('on_table'), true);\n        this.colModel.setHidden(this.colModel.findColumnIndex('ipaddr'), true);\n        this.colModel.getColumnByDataIndex('remarks').md = 7;\n        this.colModel.getColumnByDataIndex('remarks').sm = 7;\n        this.colModel.getColumnByDataIndex('remarks').xs = 7;\n    }\n    \n}"
          },
          "String cls" : "table-fixed",
          "boolean striped" : false,
          "boolean hover" : true,
          "xtype" : "Table",
-         "boolean responsive" : true,
          "Boolean rowSelection" : true,
          "$ xns" : "Roo.bootstrap",
          "Boolean loadMask" : true,
            "xtype" : "ColumnModel",
            "Number xs" : 1,
            "$ xns" : "Roo.grid",
-           "$ renderer" : "function(v) { return String.format('{0}', v); }",
+           "$ renderer" : "function(v) \n{ \n    var vv = v.charAt(0).toUpperCase() + v.slice(1).toLowerCase();\n    \n    return String.format('{0}', vv); \n}",
            "* prop" : "cm[]",
            "Number sm" : 1
           },