diff --git a/src/pages/08_request-list/RequestListView.vue b/src/pages/08_request-list/RequestListView.vue index 2b3b70ca..7148a154 100644 --- a/src/pages/08_request-list/RequestListView.vue +++ b/src/pages/08_request-list/RequestListView.vue @@ -39,6 +39,7 @@ import { PropVariant } from 'src/stores/product-service/types'; import { Invoice } from 'src/stores/payment/types'; import { CreatedBy } from 'src/stores/types'; +import { getUserId } from 'src/services/keycloak'; const { locale } = useI18n(); @@ -334,6 +335,11 @@ function isInstallmentPaySuccess(installmentNo: number) { return !!(invoice?.payment?.paymentStatus === 'PaymentSuccess'); } + +function goToRequestList(id: string) { + const url = new URL(`/request-list/${id}`, window.location.origin); + window.open(url.toString(), '_blank'); +}