-
Notifications
You must be signed in to change notification settings - Fork 40
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
[MS] Order tracking client area #9111
base: master
Are you sure you want to change the base?
Conversation
3fd0d01
to
61f236a
Compare
61f236a
to
3424490
Compare
import { MsSpinner, MsReportText, MsReportTheme } from 'megashark-lib'; | ||
import { getCustomOrderStatusTranslationKey } from '@/services/translation'; | ||
|
||
const customOrderStatus = ref<CustomOrderStatusResultData>(); |
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.
Store only the status,
const customOrderStatus = ref(CustomOrderStatus.Unknown);
// and then when you get the value from the BMS
customOrderStatus.value = orgStatusResponse.data.status;
@@ -107,7 +107,10 @@ | |||
v-if="currentPage === ClientAreaPages.CustomOrderBillingDetails" | |||
:organization="currentOrganization" | |||
/> | |||
<custom-order-processing-page v-if="currentPage === ClientAreaPages.CustomOrderProcessing" /> | |||
<custom-order-processing-page |
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.
This page will only be displayed if the status is at NothingLinked
right now.
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.
Maybe we can let this v-if
but with the condition below. With ContractEnded, it will be display on the ContractPage later.
if (statusResp.data.status !== CustomOrderStatus.ContractEnded) {
currentPage.value = ClientAreaPages.CustomOrderProcessing;
}
Describe your changes
Added page for tracking order (Custom order).
Checklist
Before you submit this pull request, please make sure to:
closes #7966