Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Apr 19, 2024
1 parent f26e6b1 commit 970d6f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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 "[email protected]"
And I sort the orders ascending by channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 970d6f8

Please sign in to comment.