Browse customer orders (#16145)

| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         | bootstrap-admin-panel                  |
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations?   | no |
| Related tickets | n/a                      |
| License | MIT |
This commit is contained in:
Karol 2024-04-23 08:18:14 +02:00 committed by GitHub
commit 01ff1ac22a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 12 deletions

View file

@ -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 the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment
And I am logged in as an administrator And I am logged in as an administrator
@api @todo @ui @api @ui
Scenario: Browsing orders of a specific customer in the list Scenario: Browsing orders of a specific customer in the list
When I browse orders of a customer "logan@wolverine.com" When I browse orders of a customer "logan@wolverine.com"
Then I should see a single order in the list 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 see the order with number "#00000007" in the list
And I should not see the order with number "#00000008" 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 Scenario: Sorting orders of customer by channel
When I browse orders of a customer "logan@wolverine.com" When I browse orders of a customer "logan@wolverine.com"
And I sort the orders ascending by channel And I sort the orders ascending by channel

View file

@ -24,17 +24,8 @@ sylius_admin_customer_order_index:
_sylius: _sylius:
section: admin section: admin
permission: true permission: true
template: "@SyliusAdmin/Crud/index.html.twig" template: "@SyliusAdmin/Shared/Crud/index.html.twig"
grid: sylius_admin_customer_order 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: sylius_admin_customer_orders_statistics:
path: /orders-statistics path: /orders-statistics