displays kid virtual card
This commit was merged in pull request #845.
This commit is contained in:
@@ -87,6 +87,11 @@ export default function FamilyWalletBox({ wallet, payment }) {
|
||||
<p className="text-base sm:text-lg text-white tracking-wide my-3 text-center">
|
||||
Current Balance
|
||||
</p>
|
||||
{selectedWallet?.brand && selectedWallet?.card_last4 ? // FOR VIRTUAL CARD NUMBER ELSE WALLET BALANCE DISPLAY
|
||||
<p className="text-2xl font-bold text-white dark:text-white leading-10">
|
||||
{selectedWallet.brand} <span> **** **** ***** </span> {selectedWallet?.card_last4}
|
||||
</p>
|
||||
:
|
||||
<p className="text-[44px] lg:text-[62px] font-bold text-white tracking-wide leading-10">
|
||||
{PriceFormatter(
|
||||
selectedWallet?.amount / 100,
|
||||
@@ -95,6 +100,7 @@ export default function FamilyWalletBox({ wallet, payment }) {
|
||||
"text-[2rem]"
|
||||
)}
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user