From c419f7aff0b1c5c60a01abea5533cea0ab08cc4c Mon Sep 17 00:00:00 2001 From: s j <sj@1729.be> Date: Sun, 23 Jan 2022 09:52:54 +0100 Subject: [PATCH] fix: accounts view vbo 4 --- config/optional/views.view.accounts.yml | 207 +++++++++--------------- 1 file changed, 74 insertions(+), 133 deletions(-) diff --git a/config/optional/views.view.accounts.yml b/config/optional/views.view.accounts.yml index 650ce55..2ce89d9 100644 --- a/config/optional/views.view.accounts.yml +++ b/config/optional/views.view.accounts.yml @@ -4,7 +4,6 @@ dependencies: module: - accounting - user - - views_bulk_operations id: accounts label: Accounts module: views @@ -12,123 +11,15 @@ description: '' tag: '' base_table: accounting_account base_field: id -core: 8.x display: default: - display_plugin: default id: default display_title: Master + display_plugin: default position: 0 display_options: - access: - type: perm - options: - perm: 'view published account entities' - cache: - type: tag - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: full - options: - items_per_page: 80 - offset: 0 - id: 0 - total_pages: null - tags: - previous: ‹‹ - next: ›› - first: '« First' - last: 'Last »' - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - quantity: 9 - style: - type: table - row: - type: fields + title: Accounts fields: - views_bulk_operations_bulk_form: - id: views_bulk_operations_bulk_form - table: views - field: views_bulk_operations_bulk_form - relationship: none - group_type: group - admin_label: '' - label: 'Views bulk operations' - 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 - batch: true - batch_size: 10 - form_step: true - buttons: false - action_title: Action - selected_actions: - views_bulk_operations_delete_entity: 0 - 'entity:save_action:accounting_account': 0 - preconfiguration: { } - plugin_id: views_bulk_operations_bulk_form type: id: type table: accounting_account @@ -136,6 +27,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: accounting_account + entity_field: type + plugin_id: field label: 'Account type' exclude: false alter: @@ -191,19 +85,16 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: accounting_account - entity_field: type - plugin_id: field name: + id: name table: accounting_account field: name - id: name - entity_type: null - entity_field: name - plugin_id: field relationship: none group_type: group admin_label: '' + entity_type: null + entity_field: name + plugin_id: field label: Name exclude: false alter: @@ -265,6 +156,9 @@ display: relationship: none group_type: group admin_label: '' + entity_type: accounting_account + entity_field: state + plugin_id: field label: State exclude: false alter: @@ -320,9 +214,6 @@ display: multi_type: separator separator: ', ' field_api_classes: false - entity_type: accounting_account - entity_field: state - plugin_id: field balance: id: balance table: accounting_account @@ -330,6 +221,8 @@ display: relationship: none group_type: group admin_label: '' + entity_type: accounting_account + plugin_id: accounting_account_view_account_balance label: Balance exclude: false alter: @@ -371,8 +264,6 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - entity_type: accounting_account - plugin_id: accounting_account_view_account_balance operations: id: operations table: accounting_account @@ -380,6 +271,8 @@ display: relationship: none group_type: group admin_label: '' + entity_type: accounting_account + plugin_id: entity_operations label: 'Operations links' exclude: false alter: @@ -422,19 +315,66 @@ display: empty_zero: false hide_alter_empty: true destination: false - entity_type: accounting_account - plugin_id: entity_operations - filters: { } + pager: + type: full + options: + offset: 0 + items_per_page: 80 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'view published account entities' + cache: + type: tag + options: { } + empty: { } sorts: { } - title: Accounts + arguments: { } + filters: { } + style: + type: table + row: + type: fields + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } header: { } footer: { } - empty: { } - relationships: { } - arguments: { } display_extenders: { } cache_metadata: - max-age: 0 + max-age: -1 contexts: - 'languages:language_content' - 'languages:language_interface' @@ -442,18 +382,19 @@ display: - user.permissions tags: { } page_1: - display_plugin: page id: page_1 display_title: Page + display_plugin: page position: 1 display_options: display_extenders: { } path: admin/accounting/accounting_account cache_metadata: - max-age: 0 + max-age: -1 contexts: - 'languages:language_content' - 'languages:language_interface' - url.query_args - user.permissions tags: { } + -- GitLab