| 12345678910111213141516171819202122232425262728293031323334353637 |
- import Scrollable from "@/components/Common/Scrollable";
- import { Col, FormGroup } from "reactstrap";
- function PermohonanPT({ data }) {
- return (
- <>
- <p className="lead bb">Permohonan PT</p>
- <form className="form-horizontal">
- <FormGroup row>
- <Col md="4">Dokumen Permohonan:</Col>
- <Col md="8">
- <Scrollable height="120px" className="list-group">
- <table className="table table-bordered bg-transparent">
- <tbody>
- {data.sanksi.keberatan.files.map((e) => (
- <tr>
- <td>
- <em className="fa-lg far fa-file-code"></em>
- </td>
- <td>
- <a className="text-muted" href={`data:${e.type};base64, ${Buffer.from(e.data).toString("base64")}`} download={e.name}>
- {e.name}
- </a>
- </td>
- </tr>
- ))}
- </tbody>
- </table>
- </Scrollable>
- </Col>
- </FormGroup>
- </form>
- </>
- );
- }
- export default PermohonanPT;
|