<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>현금영수증 관리</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript">
$( document ).ready(function(){

});

/* pagination 페이지 링크 function */
function goList(){
	var frm = document.writeForm ;
	frm.action =  "<c:url value='/let/mjo/tax/selectCashReceiptList.do'/>"
	frm.submit();
}

</script>

</head>
<body>
<form name="writeForm" id="writeForm"  method="post">
	<div class="contWrap">
		<div class="pageTitle">
			<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
			<h2 class="titType1 c_222222 fwBold">현금영수증 상세</h2>
			<p class="tType6 c_999999">현금영수증 상세 정보를 조회할 수 있습니다..</p>
		</div>
		<div class="pageCont">
			<table class="tbType2">
				<colgroup>
					<col style="width: 20%">
					<col style="width: 80%">
				</colgroup>
				<tbody>
					<tr>
						<th>아이디</span></th>
						<td><c:out value="${result.frstRegisterId}" /></td>
					</tr>
					<tr>
						<th>이름</span></th>
						<td><c:out value="${result.mberNm}" /></td>
					</tr>
					<tr>
						<th>금액</span></th>
						<td><c:out value="${result.amt}" /></td>
					</tr>
					<tr>
						<th>결제방법</span></th>
						<td><c:out value="${result.payMethodNm}" /></td>
					</tr>
					<tr>
						<th>발행타입</span></th>
						<td>
							<c:if test="${result.rcptType eq '1'}">소득공제</c:if>
							<c:if test="${result.rcptType eq '2'}">지출증빙</c:if>
							<c:if test="${result.rcptType eq '3'}">의무발행</c:if>
							<c:if test="${result.rcptType eq '5'}">(관리자)의무발행</c:if>
						</td>
					</tr>
					<tr>
						<th>발행번호</span></th>
						<td><c:out value="${result.regNo}" /></td>
					</tr>
					<tr>
						<th>담당자연락처</span></th>
						<td><c:out value="${result.phone}" /></td>
					</tr>
					<tr>
						<th>이메일</span></th>
						<td><c:out value="${result.email}" /></td>
					</tr>
					<tr>
						<th>완료여부</span></th>
						<td><c:out value="${result.confirmYn}" /></td>
					</tr>
					<tr>
						<th>완료일</span></th>
						<td><c:out value="${result.confirmDate}" /></td>
					</tr>
					<tr>
						<th>발행신청일자</span></th>
						<td><c:out value="${result.frstRegistPnttm}" /></td>
					</tr>
					<c:if test="${result.partialCancelAmt ne null}">
					<tr>
						<th>부분취소금액</span></th>
						<td><c:out value="${result.partialCancelAmt}" /></td>
					</tr>
					</c:if>
					<c:if test="${result.confirmYn ne 'N'}">
					<tr>
						<th>처리일자</span></th>
						<td><c:out value="${result.lastUpdtPnttm}" /></td>
					</tr>
					<tr>
						<th>처리자</span></th>
						<td><c:out value="${result.lastUpdusrId}" /></td>
					</tr>
					</c:if>
					<c:if test="${result.atchFileId ne null}">
					<tr>
						<th>첨부파일</span></th>
						<td><c:out value="${result.atchFileId}" /></td>
					</tr>
					</c:if>
				</tbody>
			</table>
			<div class="btnWrap">
				<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;">
			</div>
	 	</div>
	</div>
	
</form>
</body>
</html>
