|  | @@ -1,10 +1,22 @@
 | 
	
		
			
				|  |  | +import React, { useEffect, useState } from "react";
 | 
	
		
			
				|  |  |  import Scrollable from "@/components/Common/Scrollable";
 | 
	
		
			
				|  |  |  import moment from "moment";
 | 
	
		
			
				|  |  |  import { Col, FormGroup } from "reactstrap";
 | 
	
		
			
				|  |  |  import { useSelector } from "react-redux";
 | 
	
		
			
				|  |  | +import { getPT } from "@/actions/PT";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function DetailLaporan({ data, noTitle = false, noStatus = false }) {
 | 
	
		
			
				|  |  |  	const user = useSelector((state) => state.user);
 | 
	
		
			
				|  |  | +	const [pt, setPT] = useState({});
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +	useEffect(() => {
 | 
	
		
			
				|  |  | +		const fetchPT = async () => {
 | 
	
		
			
				|  |  | +			const pt = await getPT({ id: data.pt_id });
 | 
	
		
			
				|  |  | +			setPT(pt.data[0]);
 | 
	
		
			
				|  |  | +		};
 | 
	
		
			
				|  |  | +		fetchPT();
 | 
	
		
			
				|  |  | +	}, []);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	return (
 | 
	
		
			
				|  |  |  		<>
 | 
	
		
			
				|  |  |  			{!data.user_id.isPrivate ||
 | 
	
	
		
			
				|  | @@ -59,7 +71,7 @@ function DetailLaporan({ data, noTitle = false, noStatus = false }) {
 | 
	
		
			
				|  |  |  				<FormGroup row>
 | 
	
		
			
				|  |  |  					<Col md="4">Nama Perguruan Tinggi:</Col>
 | 
	
		
			
				|  |  |  					<Col md="8">
 | 
	
		
			
				|  |  | -						<strong>Universitas Satyagama</strong>
 | 
	
		
			
				|  |  | +						<strong>{pt?.nama}</strong>
 | 
	
		
			
				|  |  |  					</Col>
 | 
	
		
			
				|  |  |  				</FormGroup>
 | 
	
		
			
				|  |  |  				<FormGroup row>
 |