virtual card display and banner and popout fixed
This commit was merged in pull request #838.
This commit is contained in:
@@ -62,6 +62,11 @@ export default function WalletItemCard({ walletItem, payment, countries }) {
|
||||
<p className="text-base sm:text-lg text-white tracking-wide mb-2 sm:mb-6">
|
||||
Current Balance
|
||||
</p>
|
||||
{walletItem?.brand && walletItem?.card_last4 ? // FOR VIRTUAL CARD NUMBER ELSE WALLET BALANCE DISPLAY
|
||||
<p className="text-2xl font-bold text-white dark:text-white leading-10">
|
||||
{walletItem.brand} <span> **** **** ***** </span> {walletItem?.card_last4}
|
||||
</p>
|
||||
:
|
||||
<p className="text-[44px] lg:text-[62px] font-bold text-white tracking-wide leading-10">
|
||||
{PriceFormatter(
|
||||
walletItem.amount * 0.01,
|
||||
@@ -70,6 +75,7 @@ export default function WalletItemCard({ walletItem, payment, countries }) {
|
||||
"text-[2rem]"
|
||||
)}
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user