| 123456789101112131415161718192021222324252627282930313233343536 | 
							- import React, { Component } from "react";
 
- import ContentWrapper from "@/components/Layout/ContentWrapper";
 
- import { Row, Col } from "reactstrap";
 
- import { getPelaporan } from "@/actions/pelaporan";
 
- import CaseProgress from "@/components/Main/CaseProgress";
 
- import TableLaporan from "@/components/Main/TableLaporan";
 
- class Sanksi extends Component {
 
- 	constructor(props) {
 
- 		super(props);
 
- 	}
 
- 	static getInitialProps = async () => {
 
- 		const pelaporan = await getPelaporan({ pemeriksaan: true });
 
- 		return { pelaporan };
 
- 	};
 
- 	render() {
 
- 		const { pelaporan } = this.props;
 
- 		return (
 
- 			<ContentWrapper>
 
- 				<div className="content-heading">Sanksi</div>
 
- 				<Row>
 
- 					<Col lg="4">
 
- 						<CaseProgress />
 
- 					</Col>
 
- 					<Col lg="8">
 
- 						<TableLaporan listData={pelaporan.data} to="/app/sanksi/proses" linkName="Proses Sanksi" status />
 
- 					</Col>
 
- 				</Row>
 
- 			</ContentWrapper>
 
- 		);
 
- 	}
 
- }
 
- export default Sanksi;
 
 
  |