-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implemented: code to make the data dynamic on the completed page(#1xx6t61) #94
Conversation
…eted page(#1xx6t61)
…ids and display those on UI(#1xx6t61)
src/views/Completed.vue
Outdated
<p class="overline">WJ06-XL-PURPLE</p> | ||
Juno Jacket | ||
<p>Blue XL</p> | ||
{{ orders.doclist.docs[0].shipmentMethodTypeDesc }} |
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.
We will not be accessing data with doclist properties, we should transform and use order & items. As discussed to be taken care in upcoming PR
src/views/Completed.vue
Outdated
<ion-note>49 {{ $t("pieces in stock") }}</ion-note> | ||
</div> | ||
</div> | ||
<div v-for="order in orders.doclist.docs" :key="order" class="order-item"> |
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.
Here orders is having order and order is having item. Taken care in next PR
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.
src/views/Completed.vue
Outdated
} | ||
}, | ||
|
||
async fetchManifestedCarrierPartyIds() { |
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.
We could all the carrier partyId in single API call
… separately(#1xx6t61)
… for completed orders(#1xx6t61)
Related Issues
Closes #93
Short Description and Why It's Useful
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance