| 123456789101112131415161718192021222324252627282930 | 
							- import React, { Component } from "react";
 
- import ContentWrapper from "@/components/Layout/ContentWrapper";
 
- import { Row, Col } from "reactstrap";
 
- import { getSanksi } from "@/actions/sanksi";
 
- import TableSanksi from "@/components/PT/TableSanksi";
 
- class PencabutanSanksi extends Component {
 
- 	constructor(props) {
 
- 		super(props);
 
- 	}
 
- 	static getInitialProps = async () => {
 
- 		const sanksi = await getSanksi({ ptId: "0BCE4DB7-B207-445D-8D03-0C54B7688252" });
 
- 		return { sanksi };
 
- 	};
 
- 	render() {
 
- 		const { sanksi } = this.props;
 
- 		return (
 
- 			<ContentWrapper>
 
- 				<div className="content-heading">Permohonan Pencabutan Sanksi</div>
 
- 				<Row>
 
- 					<Col lg={12}>{sanksi.data.length > 0 ? <TableSanksi listData={sanksi.data} to="/app/pt/pencabutan-sanksi/detail" linkName="Detail" /> : ""}</Col>
 
- 				</Row>
 
- 			</ContentWrapper>
 
- 		);
 
- 	}
 
- }
 
- export default PencabutanSanksi;
 
 
  |