| 12345678910111213141516171819202122232425262728293031323334353637 | 
							- import Scrollable from "@/components/Common/Scrollable";
 
- import { Col, FormGroup } from "reactstrap";
 
- function PermohonanPT({ data, title = null }) {
 
- 	return (
 
- 		<>
 
- 			<p className="lead bb">{title || "Permohonan dari 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.dokumen.map((e) => (
 
- 										<tr>
 
- 											<td>
 
- 												<em className="fa-lg far fa-file-code"></em>
 
- 											</td>
 
- 											<td>
 
- 												<a className="text-muted" href={e.path} target="_blank" download={e.judul}>
 
- 													{e.judul}
 
- 												</a>
 
- 											</td>
 
- 										</tr>
 
- 									))}
 
- 								</tbody>
 
- 							</table>
 
- 						</Scrollable>
 
- 					</Col>
 
- 				</FormGroup>
 
- 			</form>
 
- 		</>
 
- 	);
 
- }
 
- export default PermohonanPT;
 
 
  |