|
- // material-ui
- import {
- Grid,
- Typography,
- Stack,
- Button,
- } from '@mui/material';
- import { useNavigate } from "react-router-dom";
-
- import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png'
- import { FormattedMessage } from "react-intl";
- const BackgroundHead = {
- backgroundImage: `url(${titleBackgroundImg})`,
- width: '100%',
- height: '100%',
- backgroundSize: 'contain',
- backgroundRepeat: 'no-repeat',
- backgroundColor: '#0C489E',
- backgroundPosition: 'right'
- }
-
- // ==============================|| DASHBOARD - DEFAULT ||============================== //
-
- const Index = ({ record }) => {
- const navigate = useNavigate()
-
- return (
- (
- <Grid container sx={{ minHeight: '110vh', backgroundColor: '#fff' }} direction="column" justifyContent="flex-start" alignItems="center" >
- <Grid item xs={12} width="100%">
- <div style={BackgroundHead} width="100%" >
- <Stack direction="row" height='70px' >
- <Typography ml={15} color='#FFF' variant="h4" sx={{ display: { xs: 'none', sm: 'none', md: 'block' }, pt: 2 }} >
- <FormattedMessage id="proofRecord" />
- </Typography>
- </Stack>
- </div>
- </Grid>
- {/*row 1*/}
- <Grid item xs={12} md={12} >
- <Grid container justifyContent="flex-start" alignItems="center" >
- <center>
- <Grid item xs={12} md={8} >
- <Typography variant="h2" sx={{ textAlign: "left", ml: 4, mr: 4, mt: 4, borderBottom: "1px solid black" }}>
- <FormattedMessage id="publicNoticePaymentProofDone" />
- </Typography>
-
-
- <Typography variant="h3" sx={{ ml: 8, mt: 4, mr: 8, textAlign: "left" }}>
- <FormattedMessage
- id='MSG.pay_credity1'
- values={{
- appNo: record?.appNo,
- year: record?.issueYear,
- issueVolume: record?.issueVolume,
- issueNo: record?.issueNo
- }}
- />
- <br /><br />
- <FormattedMessage id="MSG.pay_credity2" />
- </Typography>
-
- <Typography variant="h3" sx={{ ml: 8, mt: 4, mr: 8, textAlign: "center" }}>
- <Button
- component="span"
- variant="contained"
- size="large"
- sx={{ m: 4 }}
- onClick={() => {
- navigate("/publicNotice");
- }}
- >
- <FormattedMessage id="backToNoticePage" />
- </Button>
- </Typography>
- </Grid>
- </center>
- </Grid>
- </Grid>
- {/*row 2*/}
- </Grid >
-
-
- )
-
-
- );
- };
-
- export default Index;
|