| 1234567891011121314151617181920212223242526272829303132 |
- 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 Pelaporan extends Component {
- constructor(props) {
- super(props);
- }
- static getInitialProps = async () => {
- const sanksi = await getSanksi({ ptId: "0BCE4DB7-B207-445D-8D03-0C54B7688252", docPerbaikan: true });
- return { sanksi };
- };
- render() {
- const { sanksi } = this.props;
- const { keberatan, banding } = sanksi.data[0].sanksi.doc_perbaikan;
- console.log(sanksi.data[0].sanksi.doc_perbaikan);
- return (
- <ContentWrapper>
- <div className="content-heading">Dokumen Perbaikan</div>
- <Row>
- <Col lg={12}>{/* <TableSanksi listData={} to="/app/pt/dokumen-perbaikan/detail" linkName="Detail" /> */}</Col>
- </Row>
- </ContentWrapper>
- );
- }
- }
- export default Pelaporan;
|