Last active
August 29, 2015 14:17
-
-
Save maciejzgadzaj/6357480b65bae79b465e to your computer and use it in GitHub Desktop.
Export of Drupal admin view listing all commerce_payment_transaction entities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $view = new view(); | |
| $view->name = 'payment_transactions'; | |
| $view->description = ''; | |
| $view->tag = 'default'; | |
| $view->base_table = 'commerce_payment_transaction'; | |
| $view->human_name = 'Payment transactions'; | |
| $view->core = 7; | |
| $view->api_version = '3.0'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
| /* Display: Master */ | |
| $handler = $view->new_display('default', 'Master', 'default'); | |
| $handler->display->display_options['title'] = 'Payment transactions'; | |
| $handler->display->display_options['use_more_always'] = FALSE; | |
| $handler->display->display_options['access']['type'] = 'perm'; | |
| $handler->display->display_options['access']['perm'] = 'view payments'; | |
| $handler->display->display_options['cache']['type'] = 'none'; | |
| $handler->display->display_options['query']['type'] = 'views_query'; | |
| $handler->display->display_options['exposed_form']['type'] = 'basic'; | |
| $handler->display->display_options['pager']['type'] = 'full'; | |
| $handler->display->display_options['pager']['options']['items_per_page'] = '50'; | |
| $handler->display->display_options['style_plugin'] = 'table'; | |
| $handler->display->display_options['style_options']['columns'] = array( | |
| 'status' => 'status', | |
| 'transaction_id' => 'transaction_id', | |
| 'order_id' => 'order_id', | |
| 'order_group' => 'order_group', | |
| 'amount' => 'amount', | |
| 'message' => 'message', | |
| 'name' => 'name', | |
| 'created' => 'created', | |
| 'operations' => 'operations', | |
| ); | |
| $handler->display->display_options['style_options']['default'] = 'transaction_id'; | |
| $handler->display->display_options['style_options']['info'] = array( | |
| 'status' => array( | |
| 'sortable' => 0, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'transaction_id' => array( | |
| 'sortable' => 1, | |
| 'default_sort_order' => 'desc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'order_id' => array( | |
| 'sortable' => 1, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'order_group' => array( | |
| 'sortable' => 1, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'amount' => array( | |
| 'sortable' => 0, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'message' => array( | |
| 'sortable' => 0, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'name' => array( | |
| 'sortable' => 1, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'created' => array( | |
| 'sortable' => 1, | |
| 'default_sort_order' => 'asc', | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| 'operations' => array( | |
| 'align' => '', | |
| 'separator' => '', | |
| 'empty_column' => 0, | |
| ), | |
| ); | |
| /* Relationship: Commerce Payment Transaction: Creator */ | |
| $handler->display->display_options['relationships']['uid']['id'] = 'uid'; | |
| $handler->display->display_options['relationships']['uid']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['relationships']['uid']['field'] = 'uid'; | |
| $handler->display->display_options['relationships']['uid']['required'] = TRUE; | |
| /* Field: Commerce Payment Transaction: Status */ | |
| $handler->display->display_options['fields']['status']['id'] = 'status'; | |
| $handler->display->display_options['fields']['status']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['status']['field'] = 'status'; | |
| /* Field: Commerce Payment Transaction: Transaction ID */ | |
| $handler->display->display_options['fields']['transaction_id']['id'] = 'transaction_id'; | |
| $handler->display->display_options['fields']['transaction_id']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['transaction_id']['field'] = 'transaction_id'; | |
| $handler->display->display_options['fields']['transaction_id']['label'] = 'ID'; | |
| /* Field: Commerce Payment Transaction: Order ID */ | |
| $handler->display->display_options['fields']['order_id']['id'] = 'order_id'; | |
| $handler->display->display_options['fields']['order_id']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['order_id']['field'] = 'order_id'; | |
| $handler->display->display_options['fields']['order_id']['link_to_order'] = 'admin'; | |
| /* Field: Commerce Order: Order group ID */ | |
| $handler->display->display_options['fields']['order_group']['id'] = 'order_group'; | |
| $handler->display->display_options['fields']['order_group']['table'] = 'commerce_order'; | |
| $handler->display->display_options['fields']['order_group']['field'] = 'order_group'; | |
| $handler->display->display_options['fields']['order_group']['label'] = 'Order group'; | |
| /* Field: Commerce Payment Transaction: Amount */ | |
| $handler->display->display_options['fields']['amount']['id'] = 'amount'; | |
| $handler->display->display_options['fields']['amount']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['amount']['field'] = 'amount'; | |
| /* Field: Commerce Payment Transaction: Message */ | |
| $handler->display->display_options['fields']['message']['id'] = 'message'; | |
| $handler->display->display_options['fields']['message']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['message']['field'] = 'message'; | |
| $handler->display->display_options['fields']['message']['label'] = 'Result message'; | |
| /* Field: User: Name */ | |
| $handler->display->display_options['fields']['name']['id'] = 'name'; | |
| $handler->display->display_options['fields']['name']['table'] = 'users'; | |
| $handler->display->display_options['fields']['name']['field'] = 'name'; | |
| $handler->display->display_options['fields']['name']['relationship'] = 'uid'; | |
| $handler->display->display_options['fields']['name']['label'] = 'User'; | |
| /* Field: Commerce Payment Transaction: Created date */ | |
| $handler->display->display_options['fields']['created']['id'] = 'created'; | |
| $handler->display->display_options['fields']['created']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['created']['field'] = 'created'; | |
| $handler->display->display_options['fields']['created']['label'] = 'Created'; | |
| $handler->display->display_options['fields']['created']['date_format'] = 'custom'; | |
| $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d H:i:s'; | |
| $handler->display->display_options['fields']['created']['second_date_format'] = 'long'; | |
| /* Field: Commerce Payment Transaction: Operations links */ | |
| $handler->display->display_options['fields']['operations']['id'] = 'operations'; | |
| $handler->display->display_options['fields']['operations']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['fields']['operations']['field'] = 'operations'; | |
| $handler->display->display_options['fields']['operations']['label'] = 'Operations'; | |
| $handler->display->display_options['fields']['operations']['element_label_colon'] = FALSE; | |
| /* Filter criterion: Commerce Order: Order group ID */ | |
| $handler->display->display_options['filters']['order_group']['id'] = 'order_group'; | |
| $handler->display->display_options['filters']['order_group']['table'] = 'commerce_order'; | |
| $handler->display->display_options['filters']['order_group']['field'] = 'order_group'; | |
| $handler->display->display_options['filters']['order_group']['group'] = 1; | |
| $handler->display->display_options['filters']['order_group']['exposed'] = TRUE; | |
| $handler->display->display_options['filters']['order_group']['expose']['operator_id'] = 'order_group_op'; | |
| $handler->display->display_options['filters']['order_group']['expose']['label'] = 'Order group'; | |
| $handler->display->display_options['filters']['order_group']['expose']['operator'] = 'order_group_op'; | |
| $handler->display->display_options['filters']['order_group']['expose']['identifier'] = 'order_group'; | |
| $handler->display->display_options['filters']['order_group']['expose']['remember_roles'] = array( | |
| 2 => '2', | |
| 1 => 0, | |
| 3 => 0, | |
| 4 => 0, | |
| 5 => 0, | |
| ); | |
| /* Filter criterion: Commerce Payment Transaction: Order ID */ | |
| $handler->display->display_options['filters']['order_id']['id'] = 'order_id'; | |
| $handler->display->display_options['filters']['order_id']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['filters']['order_id']['field'] = 'order_id'; | |
| $handler->display->display_options['filters']['order_id']['group'] = 1; | |
| $handler->display->display_options['filters']['order_id']['exposed'] = TRUE; | |
| $handler->display->display_options['filters']['order_id']['expose']['operator_id'] = 'order_id_op'; | |
| $handler->display->display_options['filters']['order_id']['expose']['label'] = 'Order ID'; | |
| $handler->display->display_options['filters']['order_id']['expose']['operator'] = 'order_id_op'; | |
| $handler->display->display_options['filters']['order_id']['expose']['identifier'] = 'order_id'; | |
| $handler->display->display_options['filters']['order_id']['expose']['remember_roles'] = array( | |
| 2 => '2', | |
| 1 => 0, | |
| 3 => 0, | |
| 4 => 0, | |
| 5 => 0, | |
| ); | |
| /* Filter criterion: Commerce Payment Transaction: Status */ | |
| $handler->display->display_options['filters']['status']['id'] = 'status'; | |
| $handler->display->display_options['filters']['status']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['filters']['status']['field'] = 'status'; | |
| $handler->display->display_options['filters']['status']['group'] = 1; | |
| $handler->display->display_options['filters']['status']['exposed'] = TRUE; | |
| $handler->display->display_options['filters']['status']['expose']['operator_id'] = 'status_op'; | |
| $handler->display->display_options['filters']['status']['expose']['label'] = 'Status'; | |
| $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op'; | |
| $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status'; | |
| $handler->display->display_options['filters']['status']['expose']['remember_roles'] = array( | |
| 2 => '2', | |
| 1 => 0, | |
| 3 => 0, | |
| 4 => 0, | |
| 5 => 0, | |
| ); | |
| /* Filter criterion: Commerce Payment Transaction: Created date */ | |
| $handler->display->display_options['filters']['created']['id'] = 'created'; | |
| $handler->display->display_options['filters']['created']['table'] = 'commerce_payment_transaction'; | |
| $handler->display->display_options['filters']['created']['field'] = 'created'; | |
| $handler->display->display_options['filters']['created']['group'] = 1; | |
| $handler->display->display_options['filters']['created']['exposed'] = TRUE; | |
| $handler->display->display_options['filters']['created']['expose']['operator_id'] = 'created_op'; | |
| $handler->display->display_options['filters']['created']['expose']['label'] = 'Created date'; | |
| $handler->display->display_options['filters']['created']['expose']['description'] = 'A date in any machine readable format. CCYY-MM-DD HH:MM:SS is preferred'; | |
| $handler->display->display_options['filters']['created']['expose']['use_operator'] = TRUE; | |
| $handler->display->display_options['filters']['created']['expose']['operator'] = 'created_op'; | |
| $handler->display->display_options['filters']['created']['expose']['identifier'] = 'created'; | |
| $handler->display->display_options['filters']['created']['expose']['remember_roles'] = array( | |
| 2 => '2', | |
| 1 => 0, | |
| 3 => 0, | |
| 4 => 0, | |
| 5 => 0, | |
| ); | |
| /* Display: Page */ | |
| $handler = $view->new_display('page', 'Page', 'page'); | |
| $handler->display->display_options['path'] = 'admin/commerce/transactions'; | |
| $handler->display->display_options['menu']['type'] = 'normal'; | |
| $handler->display->display_options['menu']['title'] = 'Payment transactions'; | |
| $handler->display->display_options['menu']['weight'] = '0'; | |
| $handler->display->display_options['menu']['name'] = 'management'; | |
| $handler->display->display_options['menu']['context'] = 0; | |
| $handler->display->display_options['menu']['context_only_inline'] = 0; | |
| $translatables['payment_transactions'] = array( | |
| t('Master'), | |
| t('Payment transactions'), | |
| t('more'), | |
| t('Apply'), | |
| t('Reset'), | |
| t('Sort by'), | |
| t('Asc'), | |
| t('Desc'), | |
| t('Items per page'), | |
| t('- All -'), | |
| t('Offset'), | |
| t('« first'), | |
| t('‹ previous'), | |
| t('next ›'), | |
| t('last »'), | |
| t('Payment transaction creator'), | |
| t('Status'), | |
| t('ID'), | |
| t('.'), | |
| t(','), | |
| t('Order ID'), | |
| t('Order group'), | |
| t('Amount'), | |
| t('Result message'), | |
| t('User'), | |
| t('Created'), | |
| t('Operations'), | |
| t('Created date'), | |
| t('A date in any machine readable format. CCYY-MM-DD HH:MM:SS is preferred'), | |
| t('Page'), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment