Change 999999999 to As Charge

This commit is contained in:
R
2023-02-24 10:52:01 +07:00
parent 8902718523
commit edc5ba9822
2 changed files with 3 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ export default function FormRequestClaim({ member, handleSubmitSuccess }) {
/>
<Typography sx={{ textAlign: 'right', marginTop: 1 }}>
{fCurrency(member?.current_plan?.usage ?? 0)} /{' '}
{fCurrency(member?.current_plan?.limit_rules ?? 0)}
{member?.current_plan?.limit_rules < 9999999999 ? fCurrency(member?.current_plan?.limit_rules ?? 0) : 'As Charge' }
</Typography>
</Card>