Perbaikan Project PPOB

This commit is contained in:
2021-12-28 15:58:29 +07:00
parent 7ad15665cc
commit beb3cdf6d1
3 changed files with 20 additions and 5 deletions

View File

@@ -50,7 +50,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>
@@ -68,7 +73,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>
@@ -84,7 +94,7 @@ export const Home = observer(() => {
height: 200,
marginBottom: 10,
marginRight: 20,
borderColor: "salmon"
borderColor: "salmon",
}}
>
<Row>