-
Notifications
You must be signed in to change notification settings - Fork 3
implemented order detail page for admin #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ture/admin/order-detail-page
…ture/admin/order-detail-page
dragonfly91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments. Please feel free to discuss them!
|
@charleshenryhugo also some more things:
Thanks! |
dragonfly91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments. LGTM.
| ); | ||
| } | ||
|
|
||
| Widget _buildCustomerAddress(Customer customer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there’s some code duplication between customer address and shipping address. Can we do something to reduce the duplication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dragonfly91
You are right, indeed there is duplication!
I added a Widget _buildAddressRow(Address address) and removed the duplication.
description:
implemented order detail page for admin.
Admin opens order list page, and clicks an order block, then the order detail page will appear.
fixes #130
fixes #103
video link:
https://youtu.be/cxaZhzQ0S-Y