Преглед изворни кода

added licence infos in main user admin array

bach пре 1 година
родитељ
комит
245af0be0b

+ 47 - 0
config/sync/core.entity_view_display.commerce_product_variation.materio_product_licence_variatio.tableau_admin.yml

@@ -0,0 +1,47 @@
+uuid: 3648d647-7738-41cd-b692-c47955282019
+langcode: en
+status: true
+dependencies:
+  config:
+    - commerce_product.commerce_product_variation_type.materio_product_licence_variatio
+    - core.entity_view_mode.commerce_product_variation.tableau_admin
+    - field.field.commerce_product_variation.materio_product_licence_variatio.field_description
+    - field.field.commerce_product_variation.materio_product_licence_variatio.license_expiration
+    - field.field.commerce_product_variation.materio_product_licence_variatio.license_type
+  module:
+    - commerce_variation_cart_form
+third_party_settings:
+  commerce_variation_cart_form:
+    combine: true
+id: commerce_product_variation.materio_product_licence_variatio.tableau_admin
+targetEntityType: commerce_product_variation
+bundle: materio_product_licence_variatio
+mode: tableau_admin
+content:
+  product_id:
+    type: entity_reference_label
+    label: hidden
+    settings:
+      link: false
+    third_party_settings: {  }
+    weight: 0
+    region: content
+  title:
+    type: string
+    label: hidden
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    weight: 1
+    region: content
+hidden:
+  commerce_variation_cart_form: true
+  field_description: true
+  langcode: true
+  license_expiration: true
+  license_type: true
+  list_price: true
+  price: true
+  search_api_excerpt: true
+  sku: true
+  synonyms: true

+ 1 - 0
config/sync/core.entity_view_display.commerce_product_variation.materio_product_variation_type.default.yml

@@ -71,3 +71,4 @@ hidden:
   search_api_excerpt: true
   sku: true
   subscription_type: true
+  synonyms: true

+ 53 - 0
config/sync/core.entity_view_display.commerce_product_variation.materio_product_variation_type.tableau_admin.yml

@@ -0,0 +1,53 @@
+uuid: a2d8dae0-d413-40b9-9c38-9051b4959adb
+langcode: en
+status: true
+dependencies:
+  config:
+    - commerce_product.commerce_product_variation_type.materio_product_variation_type
+    - core.entity_view_mode.commerce_product_variation.tableau_admin
+    - field.field.commerce_product_variation.materio_product_variation_type.billing_schedule
+    - field.field.commerce_product_variation.materio_product_variation_type.field_description
+    - field.field.commerce_product_variation.materio_product_variation_type.field_multiple
+    - field.field.commerce_product_variation.materio_product_variation_type.license_expiration
+    - field.field.commerce_product_variation.materio_product_variation_type.license_type
+    - field.field.commerce_product_variation.materio_product_variation_type.subscription_type
+  module:
+    - commerce_variation_cart_form
+third_party_settings:
+  commerce_variation_cart_form:
+    combine: true
+id: commerce_product_variation.materio_product_variation_type.tableau_admin
+targetEntityType: commerce_product_variation
+bundle: materio_product_variation_type
+mode: tableau_admin
+content:
+  product_id:
+    type: entity_reference_label
+    label: hidden
+    settings:
+      link: false
+    third_party_settings: {  }
+    weight: 0
+    region: content
+  title:
+    type: string
+    label: hidden
+    settings:
+      link_to_entity: true
+    third_party_settings: {  }
+    weight: 1
+    region: content
+hidden:
+  billing_schedule: true
+  commerce_variation_cart_form: true
+  field_description: true
+  field_multiple: true
+  langcode: true
+  license_expiration: true
+  license_type: true
+  list_price: true
+  price: true
+  search_api_excerpt: true
+  sku: true
+  subscription_type: true
+  synonyms: true

+ 1 - 0
config/sync/language/en/webform.webform.multi_joueur.yml

@@ -17,3 +17,4 @@ elements: |
     '#submit__label': 'Ask for a quote'
 settings:
   confirmation_message: "Your quote request has been registered, we are already drafting it and will send it to you by email very quickly.<br />\r\n<br />\r\n<a href=\"/\">back to materiO&#39;</a>"
+title: Multiplayer

+ 228 - 56
config/sync/views.view.admin_users.yml

@@ -2461,7 +2461,7 @@ display:
           admin_label: ''
           plugin_id: field
           label: 'Member Type'
-          exclude: false
+          exclude: true
           alter:
             alter_text: false
             text: ''
@@ -3067,6 +3067,189 @@ display:
           separator: ', '
           custom_date_format: 'Y-m-d H:i'
           timezone: ''
+        product_variation:
+          id: product_variation
+          table: commerce_license
+          field: product_variation
+          relationship: reverse__commerce_license__uid
+          group_type: group
+          admin_label: ''
+          entity_type: commerce_license
+          entity_field: product_variation
+          plugin_id: field
+          label: 'Licensed product variation'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: entity_reference_entity_view
+          settings:
+            view_mode: tableau_admin
+          group_column: target_id
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+        expires:
+          id: expires
+          table: commerce_license
+          field: expires
+          relationship: reverse__commerce_license__uid
+          group_type: group
+          admin_label: ''
+          entity_type: commerce_license
+          entity_field: expires
+          plugin_id: field
+          label: Expire
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: timestamp
+          settings:
+            date_format: custom
+            custom_date_format: d-m-Y
+            timezone: ''
+          group_column: value
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+        operations_1:
+          id: operations_1
+          table: commerce_license
+          field: operations
+          relationship: reverse__commerce_license__uid
+          group_type: group
+          admin_label: ''
+          entity_type: commerce_license
+          plugin_id: entity_operations
+          label: 'Liens d''actions'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          destination: false
       filters:
         status:
           id: status
@@ -3173,61 +3356,6 @@ display:
             default_group_multiple: {  }
             group_items: {  }
           reduce_duplicates: false
-        field_member_type_value:
-          id: field_member_type_value
-          table: user__field_member_type
-          field: field_member_type_value
-          relationship: none
-          group_type: group
-          admin_label: ''
-          plugin_id: list_field
-          operator: or
-          value:
-            all: all
-            0: '0'
-            1: '1'
-            2: '2'
-          group: 1
-          exposed: true
-          expose:
-            operator_id: field_member_type_value_op
-            label: 'Member Type'
-            description: ''
-            use_operator: false
-            operator: field_member_type_value_op
-            operator_limit_selection: false
-            operator_list: {  }
-            identifier: field_member_type_value
-            required: false
-            remember: false
-            multiple: false
-            remember_roles:
-              authenticated: authenticated
-              unverified: '0'
-              anonymous: '0'
-              free_user: '0'
-              contact_company: '0'
-              alpha_testeur: '0'
-              student: '0'
-              adherent: '0'
-              translator: '0'
-              admin_showroom: '0'
-              admin: '0'
-              root: '0'
-            reduce: true
-          is_grouped: false
-          group_info:
-            label: ''
-            description: ''
-            identifier: ''
-            optional: true
-            widget: select
-            multiple: false
-            remember: false
-            default_group: All
-            default_group_multiple: {  }
-            group_items: {  }
-          reduce_duplicates: false
         mail:
           id: mail
           table: users_field_data
@@ -3527,6 +3655,9 @@ display:
             status: status
             record_id: record_id
             role_expire_expiry_data: role_expire_expiry_data
+            product_variation: product_variation
+            expires: product_variation
+            operations_1: product_variation
           default: '-1'
           info:
             views_bulk_operations_bulk_form:
@@ -3630,6 +3761,25 @@ display:
               separator: ''
               empty_column: false
               responsive: ''
+            product_variation:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: '<br>'
+              empty_column: false
+              responsive: ''
+            expires:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            operations_1:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
           override: true
           sticky: true
           summary: ''
@@ -3642,9 +3792,31 @@ display:
       defaults:
         style: false
         row: false
+        relationships: false
         fields: false
         filters: false
         filter_groups: false
+      relationships:
+        login_history:
+          id: login_history
+          table: users
+          field: login_history
+          relationship: none
+          group_type: group
+          admin_label: Logins
+          entity_type: user
+          plugin_id: standard
+          required: false
+        reverse__commerce_license__uid:
+          id: reverse__commerce_license__uid
+          table: users_field_data
+          field: reverse__commerce_license__uid
+          relationship: none
+          group_type: group
+          admin_label: Licence
+          entity_type: user
+          plugin_id: standard
+          required: false
       display_description: ''
       display_extenders:
         views_ef_fieldset:

+ 1 - 1
config/sync/webform.webform.multi_joueur.yml

@@ -14,7 +14,7 @@ uid: 1
 template: false
 archive: false
 id: multi_joueur
-title: Multi-Joueur
+title: Multijoueur
 description: ''
 category: ''
 elements: |-