title | issue |
---|---|
Add create order button in customer order list |
NEXT-13602 |
- Added in
src/module/sw-order/component/sw-order-customer-grid/index.js
- Added method
mountedComponent
. - Added computed
customerData
which is get from order state. - Changed method
onCheckCustomer
andhandleSelectCustomer
to update customer data correctly.
- Added method
- Added method
createdComponent
insrc/module/sw-order/view/sw-order-create-base/index.js
- Added method
createdComponent
insrc/module/sw-order/view/sw-order-create-initial/index.js
- Added "Add order" button inside block
sw_customer_detail_order_add_button
andsw_customer_detail_order_card_grid_empty_state_action
insrc/module/sw-customer/view/sw-customer-detail-order/sw-customer-detail-order.html.twig
- Added method
navigateToCreateOrder
insrc/module/sw-customer/view/sw-customer-detail-order/index.js