import { Box } from "@mui/material";
import { Grid } from "../components/grid/Grid";
import { SPACING } from "../data/spacing";
import { ProvinceFinancialSettlementSlaughter } from "../features/province-finacial/components/province-financial-settlement-slaughter/ProvinceFinancialSettlementSlaughter";
import { ROUTE_PROVINCE_FINANCIAL_SETTLEMENT } from "../routes/routes";

const ProvinceSettlementPage = () => {
  return (
    <>
      <Box display={"flex"} justifyContent="center">
        <Grid
          container
          direction="column"
          justifyContent="center"
          xs={12}
          sm={12}
          md={10}
          lg={10}
        >
          <Grid container justifyContent="space-between" gap={SPACING.SMALL}>
            <Grid xs={12}>
              {ROUTE_PROVINCE_FINANCIAL_SETTLEMENT && (
                <ProvinceFinancialSettlementSlaughter />
              )}
            </Grid>
          </Grid>
        </Grid>
      </Box>
    </>
  );
};

export default ProvinceSettlementPage;
