<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


    <!-- 여기가 본 페이지이다 -->
<div class="row">
	<div class="col-lg-12 ">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4><i class="fa fa-desktop fa-fw"></i> 서비스 해지리스트</h4>
			</div>
			<div class="panel-body">
				<div class="row">
					<form action="IdcCopyDeleteServiceListForm.sev" method="post">
						<div class="col-lg-3 col-md-5 col-sm-6 col-xs-12">
							<div class="input-group">
								<input class="form-control" type="text" name="searchContent" placeholder="고객명" value="${searchContent }">
								<div class="input-group-btn">
									<input type="submit" class="btn btn-info btn-outline" value="검색">
								</div>
							</div>
						</div>
					</form>
				</div>
				<!-- row -->
	   			<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped">
						<thead>
							<tr>
								<td>고객명</td>
								<td>서비스<br>회선</td>
								<td>장비명</td>
								<td>SW 정보</td>
								<td>OS 정보</td>
								<td>서비스 IP</td>
								<td>서비스 <br>방어 종류</td>
								<td>서비스<br> 신청일</td>
								<td>서비스 <br>개통일</td>
								<td>익월 <br>결제일</td>
								<td>상면비</td>
								<td>회선비</td>
								<td>장비금액</td>
								<td>장기 할인</td>
								<td>선입금 할인</td>
								<td>직권 할인</td>
								<td>계약 할인</td>
								<td>일할 과금</td>
								<td>부가 할인</td>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${CopyDeleteServiceList }" var="temp">
								<tr>
									<td>${temp.client_name }</td>
									<td>${temp.temp}</td>
									<td>${temp.server_code }</td>
									<td>${temp.service_sw }</td>
									<td>${temp.service_os}</td>
									<td>${temp.service_ip }</td>
									<td>${temp.service_defence }</td>
									<td>${temp.request_date }</td>
									<td>${temp.open_date }</td>
									<td>${temp.payment_date }</td>
									<td>${temp.amount_rack }</td>
									<td>${temp.amount_line }</td>
									<td>${temp.amount_cpu }</td>
									<td>${temp.amount_long }</td>
									<td>${temp.amount_pre }</td>
									<td>${temp.amount_authority }</td>
									<td>${temp.amount_contact }</td>
									<td>${temp.service_deduction }</td>
									<td>${temp.sub_discount }</td>
								</tr>							
							</c:forEach>
						</tbody>
						<tfoot>
						</tfoot>
					</table>
				</div>
				<!-- table-responsive -->
				
				<div>
					<ul class="pagination" style="margin:0px;">
						<li>
							<a class="btn btn-outline btn-default" href="IdcCopyDeleteServiceListForm.sev?searchContent=${searchContent }">
								<i class="fa fa-angle-double-left "></i>
							</a>
						</li>
					<c:forEach var="i" begin="${firstPage }" end="${pageCnt }">
						<li>
							<a class="btn btn-outline btn-defualt" href="IdcCopyDeleteServiceListForm.sev?curPage=${i}&searchContent=${searchContent }">${i}</a>	
						</li>
					</c:forEach>
						<li>
							<a class="btn btn-outline btn-default" href="IdcCopyDeleteServiceListForm.sev?curPage=${pageCnt}&searchContent=${searchContent }">
								<i class="fa fa-angle-double-right "></i>
							</a>
						</li>
					</ul>
					<!-- ul -->
				</div>
				<!-- UL DIV -->
			</div>
			<!-- panel-body -->
		</div>
		<!-- panel panel-default -->
	</div>
	<!-- col-lg-12 -->
</div>
<!-- row -->