PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminCompany.bjs
index 42bcf9f..3218716 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Dialog.BAdminCompany",
  "parent" : "Pman.Tab.BAdmin",
  "title" : "",
- "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.BAdminCompany.bjs",
+ "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Dialog.BAdminCompany.bjs",
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
   "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
   "66bc3ece76861852889e623217049d32" : "Edit Company Details",
   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
+  "ca0dbad92a874b2f69b549293387925e" : "Code",
   "a1fa27779242b4902f7ae3bdd5c6d508" : "Type",
   "dd7bf230fde8d4836917806aff6a6b27" : "Address",
   "c9cc8cce247e49bae79f15173ce97354" : "Save",
   "e6b391a8d2c4d45902a23a8b6585703d" : "URL"
  },
+ "named_strings" : {
+  "tel_fieldLabel" : "bcc254b55c4a1babdf1dcb82c207506b",
+  "comptype_display_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
+  "code_fieldLabel" : "ca0dbad92a874b2f69b549293387925e",
+  "name_fieldLabel" : "1c76cbfe21c6f44c1d1e59d54f3e4420",
+  "remarks_fieldLabel" : "231bc72756b5e6de492aaaa1577f61b1",
+  "url_fieldLabel" : "e6b391a8d2c4d45902a23a8b6585703d",
+  "email_fieldLabel" : "ce8ae9da5b7cd6c3df2929543a9af92d",
+  "address_fieldLabel" : "dd7bf230fde8d4836917806aff6a6b27",
+  "comptype_display_name_fieldLabel" : "a1fa27779242b4902f7ae3bdd5c6d508"
+ },
  "items" : [
   {
    "listeners" : {
+    "show" : "function (_self)\n{\n    _this.form.findField('code').hide();\n\n    if(appDisabled.indexOf('Coba.SuperAdmin') * 1 == -1) {\n        _this.form.findField('code').show();\n    }\n}",
     "render" : "function (_self)\n{\n    _this.modal = _self;\n}"
    },
-   "String cls" : "padding-bottom-trim badmin-dialog-company enable-overflow ",
+   "String cls" : "padding-bottom-trim badmin-dialog-company enable-modal-body-overflow",
    "xtype" : "Modal",
-   "int maxWidth" : 650,
+   "int max_width" : 650,
    "$ xns" : "Roo.bootstrap",
    "String title" : "Edit Company Details",
    "items" : [
        "xtype" : "Form",
        "$ xns" : "Roo.bootstrap",
        "items" : [
+        {
+         "xtype" : "Row",
+         "$ xns" : "Roo.bootstrap",
+         "items" : [
+          {
+           "Number md" : 12,
+           "xtype" : "Column",
+           "$ xns" : "Roo.bootstrap",
+           "items" : [
+            {
+             "listeners" : {
+              "render" : "function (_self)\n{\n    _this.company = _self;\n}"
+             },
+             "String name" : "code",
+             "xtype" : "Input",
+             "string fieldLabel" : "Code",
+             "$ xns" : "Roo.bootstrap",
+             "String indicatorpos" : "left"
+            }
+           ]
+          }
+         ]
+        },
         {
          "xtype" : "Row",
          "$ xns" : "Roo.bootstrap",
@@ -57,9 +93,9 @@
              "listeners" : {
               "render" : "function (_self)\n{\n    _this.type = _self;\n    _self.store.load({});\n}"
              },
-             "String loadingText" : "Searching...",
              "Boolean selectOnFocus" : true,
              "Boolean allowBlank" : false,
+             "String loadingText" : "Searching...",
              "String name" : "comptype_display_name",
              "Number minChars" : 2,
              "String valueField" : "name",