Added a space to it

This commit is contained in:
Tiago Ribeiro
2024-05-16 15:03:31 +01:00
parent 649f24e4ae
commit e77fd16d26

View File

@@ -122,8 +122,7 @@ export default function PaymentDue({user, hasExpired = false, clientID, reload}:
<div className="flex w-full flex-col items-start gap-2"> <div className="flex w-full flex-col items-start gap-2">
{!appliedDiscount && ( {!appliedDiscount && (
<span className="text-2xl"> <span className="text-2xl">
{p.price} {p.price} {p.currency}
{p.currency}
</span> </span>
)} )}
{appliedDiscount && ( {appliedDiscount && (
@@ -133,8 +132,7 @@ export default function PaymentDue({user, hasExpired = false, clientID, reload}:
{p.currency} {p.currency}
</span> </span>
<span className="text-2xl text-mti-red-light"> <span className="text-2xl text-mti-red-light">
{(p.price - p.price * (appliedDiscount / 100)).toFixed(2)} {(p.price - p.price * (appliedDiscount / 100)).toFixed(2)} {p.currency}
{p.currency}
</span> </span>
</div> </div>
)} )}
@@ -176,8 +174,7 @@ export default function PaymentDue({user, hasExpired = false, clientID, reload}:
</div> </div>
<div className="flex w-full flex-col items-start gap-2"> <div className="flex w-full flex-col items-start gap-2">
<span className="text-2xl"> <span className="text-2xl">
{user.corporateInformation.payment.value} {user.corporateInformation.payment.value} {user.corporateInformation.payment.currency}
{user.corporateInformation.payment.currency}
</span> </span>
<PaymobPayment <PaymobPayment
key={clientID} key={clientID}