mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-10-09 00:11:37 +00:00
fix: hide account information once the payment is verified/expired/cancelled 🔧
This commit is contained in:
@@ -61,6 +61,9 @@ export default function TopupToPay({
|
|||||||
<div className="m-2 flex items-end justify-end p-2 text-sm text-foreground border rounded">
|
<div className="m-2 flex items-end justify-end p-2 text-sm text-foreground border rounded">
|
||||||
<Table>
|
<Table>
|
||||||
<TableCaption>
|
<TableCaption>
|
||||||
|
{!topup?.paid ||
|
||||||
|
topup?.is_expired ||
|
||||||
|
(topup?.status !== "CANCELLED" && (
|
||||||
<div className="max-w-sm mx-auto">
|
<div className="max-w-sm mx-auto">
|
||||||
<p>Please send the following amount to the payment address</p>
|
<p>Please send the following amount to the payment address</p>
|
||||||
<AccountInfomation
|
<AccountInfomation
|
||||||
@@ -101,6 +104,7 @@ export default function TopupToPay({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
))}
|
||||||
</TableCaption>
|
</TableCaption>
|
||||||
<TableBody className="">
|
<TableBody className="">
|
||||||
<TableRow>
|
<TableRow>
|
||||||
|
Reference in New Issue
Block a user