feat: add total at header table

main
Firman Ramdhani 2024-10-03 11:19:39 +07:00
parent 3df442b6a1
commit 4c0719e757
1 changed files with 24 additions and 12 deletions

View File

@ -145,12 +145,18 @@ export default function Admin() {
<Col xl={12} lg={12} span={24}> <Col xl={12} lg={12} span={24}>
<Card <Card
title={ title={
<div style={{ paddingTop: 10, paddingBottom: 10 }}> <Row style={{ paddingTop: 10, paddingBottom: 10 }}>
<div style={{ fontSize: 16, fontWeight: 600 }}>Pendapatan Per Item</div> <Col span={24}>
<div <div
style={{ fontWeight: 400, fontSize: 12, color: 'grey' }} style={{ fontSize: 16, fontWeight: 600 }}
>{`Laporan pendapatan item per tanggal ${filterDate.format('DD-MM-YYYY')}`}</div> >{`Pendapatan Per Item ${filterDate.format('DD-MM-YYYY')}`}</div>
</div> </Col>
<Col xl={20} lg={20} span={24}>
<div
style={{ fontWeight: 400, fontSize: 12, color: 'grey', textWrap: 'wrap' }}
>{`Total revenue mungkin berbeda dengan pendapatan per item master disebabkan pengambilan harga kepada harga bundling.`}</div>
</Col>
</Row>
} }
> >
<Row gutter={[8, 8]}> <Row gutter={[8, 8]}>
@ -202,12 +208,18 @@ export default function Admin() {
<Col xl={12} lg={12} span={24}> <Col xl={12} lg={12} span={24}>
<Card <Card
title={ title={
<div style={{ paddingTop: 10, paddingBottom: 10 }}> <Row style={{ paddingTop: 10, paddingBottom: 10 }}>
<div style={{ fontSize: 16, fontWeight: 600 }}>Pendapatan Per Item Master</div> <Col span={24}>
<div <div
style={{ fontWeight: 400, fontSize: 12, color: 'grey' }} style={{ fontSize: 16, fontWeight: 600 }}
>{`Laporan pendapatan item master per tanggal ${filterDate.format('DD-MM-YYYY')}`}</div> >{`Pendapatan Per Item Master ${filterDate.format('DD-MM-YYYY')}`}</div>
</div> </Col>
<Col xl={20} lg={20} span={24}>
<div
style={{ fontWeight: 400, fontSize: 12, color: 'grey', textWrap: 'wrap' }}
>{`Total revenue mungkin berbeda dengan pendapatan per item disebabkan harga item master mengambil harga jual standard item.`}</div>
</Col>
</Row>
} }
> >
<Row gutter={[8, 8]}> <Row gutter={[8, 8]}>