Perbaikan Project PPOB

This commit is contained in:
2021-12-28 16:21:45 +07:00
parent beb3cdf6d1
commit c7d3012bb1
3 changed files with 41 additions and 18 deletions

View File

@@ -118,7 +118,12 @@ export const Home = observer(() => {
<Row>
<DropboxOutlined style={{ fontSize: 30 }} />
<PageHeader title={<span>Total Keuntungan</span>}>
<span>Rp.30.000.000</span>
<span>
{new Intl.NumberFormat("id-ID", {
style: "currency",
currency: "IDR",
}).format(store.authentication.profileData?.wallet || 0)}
</span>
</PageHeader>
</Row>
</Card>
@@ -136,7 +141,12 @@ export const Home = observer(() => {
<Row>
<DollarCircleOutlined style={{ fontSize: 30 }} />
<PageHeader title={<span>Saldo</span>}>
<span>Rp.200.000.000 </span>
<span>
{new Intl.NumberFormat("id-ID", {
style: "currency",
currency: "IDR",
}).format(store.authentication.profileData?.wallet || 0)}
</span>
</PageHeader>
</Row>
</Card>