diff --git a/features/admin/user/managing_customers/browsing_orders_of_customer.feature b/features/admin/user/managing_customers/browsing_orders_of_customer.feature index 37c09b9b9813..36da86b42cc2 100644 --- a/features/admin/user/managing_customers/browsing_orders_of_customer.feature +++ b/features/admin/user/managing_customers/browsing_orders_of_customer.feature @@ -17,14 +17,14 @@ Feature: Browsing orders of a customer And the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment And I am logged in as an administrator - @api @todo @ui + @api @ui Scenario: Browsing orders of a specific customer in the list When I browse orders of a customer "logan@wolverine.com" Then I should see a single order in the list And I should see the order with number "#00000007" in the list And I should not see the order with number "#00000008" in the list - @api @todo @ui + @api @ui Scenario: Sorting orders of customer by channel When I browse orders of a customer "logan@wolverine.com" And I sort the orders ascending by channel diff --git a/src/Sylius/Bundle/AdminBundle/Resources/config/routing/customer.yml b/src/Sylius/Bundle/AdminBundle/Resources/config/routing/customer.yml index c42c6755ab85..133a87f270a7 100644 --- a/src/Sylius/Bundle/AdminBundle/Resources/config/routing/customer.yml +++ b/src/Sylius/Bundle/AdminBundle/Resources/config/routing/customer.yml @@ -7,13 +7,6 @@ sylius_admin_customer: redirect: update grid: sylius_admin_customer permission: true - vars: - all: - subheader: sylius.ui.manage_your_customers - templates: - form: "@SyliusAdmin/Customer/_form.html.twig" - index: - icon: users type: sylius.resource sylius_admin_customer_order_index: @@ -24,17 +17,8 @@ sylius_admin_customer_order_index: _sylius: section: admin permission: true - template: "@SyliusAdmin/Crud/index.html.twig" + template: "@SyliusAdmin/Shared/Crud/index.html.twig" grid: sylius_admin_customer_order - vars: - route: - parameters: - $customerId: $id - templates: - breadcrumb: '@SyliusAdmin/Customer/Order/Index/_breadcrumb.html.twig' - header_title: '@SyliusAdmin/Customer/Order/Index/_headerTitle.html.twig' - subheader: sylius.ui.process_your_orders - icon: cart sylius_admin_customer_orders_statistics: path: /orders-statistics