Pārlūkot izejas kodu

update UI

master
Anna Ho pirms 1 gada
vecāks
revīzija
07991e840f
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +2
    -1
      src/pages/Payment/index.js
  2. +1
    -1
      src/pages/PublicNotice/ListPanel/PendingPaymentTab.js

+ 2
- 1
src/pages/Payment/index.js Parādīt failu

@@ -8,6 +8,7 @@ const DataGrid = Loadable(React.lazy(() => import('./Details_Public/DataGrid')))
import { useEffect, useState } from "react";
import { useNavigate, useLocation } from "react-router-dom";
import { paymentPath } from "auth/utils";
import * as FormatUtils from "utils/FormatUtils";

import {
Button,
@@ -377,7 +378,7 @@ const Index = () => {
</Typography>

<Typography variant="h5" sx={{ textAlign: "left" }}>
支付金額: HK$ {totalAmount}
支付金額: HK$ {FormatUtils.currencyFormat(totalAmount)}
</Typography>

<Button


+ 1
- 1
src/pages/PublicNotice/ListPanel/PendingPaymentTab.js Parādīt failu

@@ -118,7 +118,7 @@ export default function SubmittedTab({ rows }) {
totalAmount += datas[i].fee;
}
content.push(<Typography variant="h5">
總計金額: {totalAmount} <br /><br />
總計金額: HK$ {FormatUtils.currencyFormat(totalAmount)} <br /><br />
</Typography>);
//setAmount(totalAmount);
return content;


Notiek ielāde…
Atcelt
Saglabāt