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 9f895f2 commit d87f0af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
"doctrine/orm": ">= 2.16.0",
"lexik/jwt-authentication-bundle": "^2.18",
"stof/doctrine-extensions-bundle": "1.8.0",
"twig/twig": "3.9.0"
"twig/twig": "3.9.0",
"twig/intl-extra": "3.9.0"
},
"require-dev": {
"behat/behat": "^3.6.1",
Expand Down
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 @@ -24,17 +24,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 d87f0af

Please sign in to comment.