<%@ 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/selectTaxReceiptList.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>
						<c:if test="${result.taxTrgt eq 'B'}">
							<th>사업자번호</span></th>
						</c:if>
						<c:if test="${result.taxTrgt eq 'C'}">
							<th>주민등록번호</span></th>
						</c:if>
						<td><c:out value="${result.regNo}" /></td>
					</tr>
					<c:if test="${result.taxTrgt eq 'B'}">
					<tr>
						<th>회사명</span></th>
						<td><c:out value="${result.companyName}" /></td>
					</tr>
					</c:if>
					<tr>
						<c:if test="${result.taxTrgt eq 'B'}">
						<th>대표자명</span></th>
						</c:if>
						<c:if test="${result.taxTrgt eq 'C'}">
						<th>성명</span></th>
						</c:if>
						<td><c:out value="${result.repName}" /></td>
					</tr>
					<tr>
						<th>소재지</span></th>
						<td><c:out value="${result.addr}" /></td>
					</tr>
					<c:if test="${result.taxTrgt eq 'B'}">
					<tr>
						<th>업태</span></th>
						<td><c:out value="${result.btype}" /></td>
					</tr>
					<tr>
						<th>종목</span></th>
						<td><c:out value="${result.bitem}" /></td>
					</tr>
					</c:if>
					<tr>
						<th>이메일</span></th>
						<td><c:out value="${result.email}" /></td>
					</tr>
					<tr>
						<th>연락처</span></th>
						<td><c:out value="${result.phone}" /></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>
