浏览代码

update UI

master
Anna Ho 1年前
父节点
当前提交
07991e840f
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. +2
    -1
      src/pages/Payment/index.js
  2. +1
    -1
      src/pages/PublicNotice/ListPanel/PendingPaymentTab.js

+ 2
- 1
src/pages/Payment/index.js 查看文件

@@ -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 查看文件

@@ -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;


正在加载...
取消
保存