| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 
							- import { FormGroup } from "reactstrap";
 
- import Scrollable from "@/components/Common/Scrollable";
 
- import { API_URL } from "@/env";
 
- function DetailJawaban({ data }) {
 
- 	const { jawaban } = data.sanksi.keberatan;
 
- 	return (
 
- 		<>
 
- 			<p className="lead bb">Jawaban Permohonan Keberatan</p>
 
- 			<form className="form-horizontal">
 
- 				<FormGroup>
 
- 					<label md="4">Jawaban:</label>
 
- 					<div md="8">
 
- 						<h3>{jawaban.status}</h3>
 
- 					</div>
 
- 				</FormGroup>
 
- 				<FormGroup>
 
- 					<label md="4">Keterangan:</label>
 
- 					<div md="8">
 
- 						<p>{jawaban.description}</p>
 
- 					</div>
 
- 				</FormGroup>
 
- 				<FormGroup>
 
- 					<label md="4">Dokumen Jawaban:</label>
 
- 					<div md="8">
 
- 						<Scrollable height="120px" className="list-group">
 
- 							<table className="table table-bordered bg-transparent">
 
- 								<tbody>
 
- 									{jawaban.files.map((e) => (
 
- 										<tr>
 
- 											<td>
 
- 												<em className="fa-lg far fa-file-code"></em>
 
- 											</td>
 
- 											<td>
 
- 												<a className="text-muted" href={API_URL + e.path} target="_blank" download={e.name}>
 
- 													{e.name}
 
- 												</a>
 
- 											</td>
 
- 										</tr>
 
- 									))}
 
- 								</tbody>
 
- 							</table>
 
- 						</Scrollable>
 
- 					</div>
 
- 				</FormGroup>
 
- 			</form>
 
- 		</>
 
- 	);
 
- }
 
- export default DetailJawaban;
 
 
  |