diff --git a/src/auth/pages/jwt/Login.tsx b/src/auth/pages/jwt/Login.tsx index 28a283f..f8c0a64 100644 --- a/src/auth/pages/jwt/Login.tsx +++ b/src/auth/pages/jwt/Login.tsx @@ -9,6 +9,7 @@ import { useAuthContext } from '@/auth'; import { useLayout } from '@/providers'; import { Alert } from '@/components'; import moment from 'moment'; +import { Helmet } from 'react-helmet'; const loginSchema = Yup.object().shape({ username: Yup.string().required('Username is required'), @@ -76,101 +77,106 @@ const Login = () => { }; return ( -
- Copyright {moment().year()} © Telkomcel All rights reserved. -
+ Copyright {moment().year()} © Telkomcel All rights reserved. +
Status
+
Transaction Type
Name
{transactionDetails?.origin_wallet.name}
Description
{transactionDetails?.origin_wallet.description}
Product Name
{transactionDetails?.purchase.product.name}
Price Cash
Price Point
{transactionDetails?.purchase.product.price_point}
Product Type
{transactionDetails?.purchase.product.type}
Provider Name
{transactionDetails?.purchase.product.provider.description}
Provider Type
+ {(() => { + let providertype; + if (transactionDetails?.purchase.product.provider.type === 'h2h') { + providertype = 'HOST TO HOST'; + } else if (transactionDetails?.purchase.product.provider.type === 'agent') { + providertype = 'AGENT'; + } + return providertype; + })()} +
{transactionDetails?.transfer.destination_iban}
{transactionDetails?.transfer.destination_wallet.name}
{transactionDetails?.transfer.destination_wallet.description}
{transactionDetails?.transfer.destination_customer.fullname}
MSISDN
{transactionDetails?.transfer.destination_customer.msisdn}
Email
{transactionDetails?.transfer.destination_customer.email}
{transactionDetails?.transfer.destination_customer.username}
Username
{transactionDetails.transfer.destination_wallet.name}
{transactionDetails.transfer.destination_wallet.description}