fix: report page

This commit is contained in:
efrilm
2025-09-23 15:30:42 +07:00
parent 726d1f4984
commit 256f035997
2 changed files with 173 additions and 41 deletions
@@ -61,7 +61,7 @@ const ReportHeader: FC<ReportHeaderProps> = ({
sx={{
fontWeight: 600,
mt: 1,
color: theme.palette.text.primary
color: '#222222'
}}
>
{outlet.name}
@@ -72,7 +72,7 @@ const ReportHeader: FC<ReportHeaderProps> = ({
variant='body2'
sx={{
mt: 1,
color: theme.palette.text.secondary
color: '#222222'
}}
>
{outlet.address}
@@ -88,21 +88,21 @@ const ReportHeader: FC<ReportHeaderProps> = ({
component='h3'
sx={{
fontWeight: 700,
color: theme.palette.text.primary
color: '#222222'
}}
>
{reportTitle}
</Typography>
{periode && (
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end', gap: 2, mt: 2 }}>
<Typography variant='body2' sx={{ color: theme.palette.text.secondary }}>
<Typography variant='body2' sx={{ color: '#222222' }}>
{periode}
</Typography>
</Box>
)}
{reportSubtitle && (
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end', gap: 2, mt: 2 }}>
<Typography variant='body2' sx={{ color: theme.palette.text.secondary }}>
<Typography variant='body2' sx={{ color: '#222222' }}>
{reportSubtitle}
</Typography>
</Box>