Browse Source

update ui

master
Anna Ho 1 year ago
parent
commit
a4840b23a5
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      src/auth/utils.js
  2. +1
    -1
      src/pages/Payment/PaymentSuccess.js

+ 1
- 0
src/auth/utils.js View File

@@ -13,6 +13,7 @@ export const hostPath = `http://${hostname}:${hostPort}`;
export const apiPath = `${hostPath}/api`;
//export const apiPath = `/api`;
export const paymentPath = `https://pnspsdev.gld.gov.hk/payment`;
export const iAmSmartPath = `https://<iAM_Smart_domain>`;


export const isUserLoggedIn = () => {


+ 1
- 1
src/pages/Payment/PaymentSuccess.js View File

@@ -227,7 +227,7 @@ const Index = () => {
</Grid>
<Grid item>
<FormLabel sx={{ fontSize: "16px", color: "#000000", textAlign: "center" }}>
{transactionData.paymentdetail.brandname}
{transactionData.paymentdetail.brandname??(transactionData.paymentdetail.paymentmethod==="01"?"PPS":"")}
</FormLabel>
</Grid>
</Grid>


Loading…
Cancel
Save