<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<c:set var="pageKorName" scope="request">통합조회 조회조건</c:set>

<span class="mb-1">
	<!-- 상단 버튼 -->
	<div class="container-page-btn">
		<button type="button" name="btnReset" class="btn btn-outline-dark w-px-120" title="초기화">
			초기화
		</button>
		<span class="container-window-btn-right">
			<button type="button" name="btnPrintCrdn" class="btn btn-info w-px-120" title="단속 내역서/확인서">
				내역서/확인서
			</button>
			<button type="button" name="btnPrintNht" class="btn btn-info w-px-120" title="고지서">
				고지서
			</button>
			<button type="button" name="btnPrintBill" class="btn btn-info w-px-120" title="교부청구서/채권신고서">
				교부청구서/채권신고서
			</button>
			<button type="button" name="btnSearch" class="btn btn-search w-px-120" title="검색">
				검색
			</button>
		</span>
	</div>
	<!-- 상단 버튼 -->

	<!-- 검색 조건 영역 -->
	<form name="frmSearch">
		<!-- 메인 조건 -->
		<div class="container-search">
			<div class="row g-1">
				<!-- 업무구분 -->
				<div class="col-8">
					<span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
					<span class="form-search-linebox">
						<label>
							<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
								value="" onchange="pageObject['${pageName}'].fnResetAndChangeBiz('');" checked="checked">
							전체
						</label>
						<c:forEach items="${TaskListForSgg}" var="item">
							<label>
								<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
									value="${item.code}" onchange="pageObject['${pageName}'].fnResetAndChangeBiz(this.value);">
								${item.value}
							</label>
						</c:forEach>
					</span>
				</div>
				<!-- 관내 시군구 조회 -->
				<div class="col-4">
					<label class="w-px-160">
						<input type="checkbox" name="sggCd" class="form-check-input" value="${sggCd}" />관내 시군구 조회
					</label>
					<label class="w-px-160">
						<input type="checkbox" name="ischOnlyDataMinap" class="form-check-input" value="Y" />미납만 조회
					</label>
				</div>
				<!-- 차량번호 -->
				<div class="col-4">
					<label is="name-label" for="ischVhrno" class="form-label fw-bold form-search-title w-px-120 text-end">차량번호</label>
					<input type="text" is="id-input" name="ischVhrno" class="form-control w-px-150" />
				</div>
				<!-- 대체차량번호 -->
				<div class="col-4">
					<label is="name-label" for="ischRpmSzrVhrno" class="form-label fw-bold form-search-title w-px-120 text-end">대체차량번호</label>
					<input type="text" is="id-input" name="ischRpmSzrVhrno"
					class="form-control w-px-150" />
					<label>
						<input type="checkbox" name="ischRpmSzrVhrnoSimilar"
						class="form-check-input" value="Y" />유사조회
					</label>
				</div>
				<!-- 단속차량번호 -->
				<div class="col-4">
					<label is="name-label" for="ischCrdnVhrno" class="form-label fw-bold form-search-title w-px-120 text-end">단속차량번호</label>
					<input type="text" name="ischCrdnVhrno"
					class="form-control w-px-150" />
					<label>
						<input type="checkbox" name="ischCrdnVhrnoSimilar"
						class="form-check-input" value="Y" />유사조회
					</label>
				</div>
				<!-- 납부자번호 -->
				<div class="col-4">
					<label is="name-label" for="ischRtpyrNo" class="form-label fw-bold form-search-title w-px-120 text-end">납부자번호</label>
					<input type="text" is="id-input" name="ischRtpyrNo"
					class="form-control w-px-150" />
				</div>
				<!-- 납부자명 -->
				<div class="col-4">
					<label is="name-label" for="ischRtpyrNm" class="form-label fw-bold form-search-title w-px-120 text-end">납부자명</label>
					<input type="text" is="id-input" name="ischRtpyrNm"
					class="form-control w-px-150" />
					<label>
						<input type="checkbox" name="ischRtpyrNmSimilar"
						class="form-check-input" value="Y" />유사조회
					</label>
				</div>
				<!-- 동적검색 -->
				<div class="col-4">
					<input type="hidden" name="by" />
					<input type="text" class="form-control fw-bold w-px-120 text-end" name="byOutput" value="동적 검색" readonly />
					<input type="hidden" name="mainOption" />
					<input type="hidden" name="subOption" />
					<input type="text" class="form-control w-px-250" name="term" autocomplete="off" />
					<!-- 상세 검색조건 버튼 -->
					<span class="flr">
						<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
						data-bs-target="[data-doctx='${pageName}'] [name='searchDetail']">
							<i class="bx bx-chevron-down"></i>
							상세검색
						</button>
					</span>
				</div>
			</div>
		</div> <!-- 메인 조건 -->

		<!-- 상세 조건 -->
		<div name="searchDetail" class="container-search container-search-detail collapse">
			<div class="row g-1">
				<!-- 단속일자 -->
				<div class="col-4">
					<span class="form-label fw-bold form-search-title w-px-120 text-end">단속일자</span>
					<span class="form-search-linebox">
						<input type="text" class="form-control form-date" is="id-input" name="ischCrdnYmdFrom"
							data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
						<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
						~
						<input type="text" class="form-control form-date" is="id-input" name="ischCrdnYmdTo"
							data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
						<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
					</span>
				</div>
				<!-- 단속시간 -->
				<div class="col-4">
					<span class="form-label fw-bold form-search-title w-px-120 text-end">단속시간</span>
                   	<input type="text" name="ischCrdnTmFrom" class="form-control form-time"
                   	data-fmt-type="time" maxlength="8" />
                   	~
                   	<input type="text" name="ischCrdnTmTo" class="form-control form-time"
                   	data-fmt-type="time" maxlength="8" />
				</div>
				<!-- 고지번호 -->
				<div class="col-4">
					<label is="name-label" for="ischGojiNo" class="form-label fw-bold form-search-title w-px-120 text-end">고지번호</label>
					<input type="text" is="id-input" name="ischGojiNo"
					class="form-control w-px-160" />
				</div>
				<!-- 전자납부번호 -->
				<div class="col-4">
					<label is="name-label" for="ischEpayno" class="form-label fw-bold form-search-title w-px-120 text-end">전자납부번호</label>
					<input type="text" is="id-input" name="ischEpayno"
					class="form-control w-px-160" />
				</div>
				<!-- 단속등록구분 -->
				<div class="col-4">
					<label is="name-label" for="ischCrdnRegSeCd" class="form-label fw-bold form-search-title w-px-120 text-end">단속등록구분</label>
					<select id="id-select" name="ischCrdnRegSeCd" class="form-select">
						<option value="">전체</option>
						<c:forEach items="${FIM026List}" var="item">
                       		<option value="${item.code}">${item.value}</option>
                       	</c:forEach>
					</select>
				</div>
				<!-- 단속입력구분 -->
				<div class="col-4">
					<label is="name-label" for="ischCrdnInptSeCd" class="form-label fw-bold form-search-title w-px-120 text-end">단속입력구분</label>
					<select is="id-select" name="ischCrdnInptSeCd" class="form-select w-px-160">
						<option value="">전체</option>
						<c:forEach items="${FIM003List}" var="item">
                       		<option value="${item.code}">${item.value}</option>
                       	</c:forEach>
					</select>
				</div>
				<!-- 위반항목 -->
				<div class="col-4">
					<label is="name-label" for="ischVltnCd" class="form-label fw-bold form-search-title w-px-120 text-end">위반항목</label>
					<select is="id-select" name="ischVltnCd" class="form-select">
						<option value="">전체</option>
					</select>
				</div>
				<!-- 처리상태 -->
				<div class="col-4">
					<label is="name-label" for="ischCrdnSttsCd" class="form-label fw-bold form-search-title w-px-120 text-end">처리상태</label>
					<select is="id-select" name="ischCrdnSttsCd" class="form-select">
                     	<option value="">전체</option>
						<c:forEach items="${FIM010List}" var="item">
							<option value="${item.code}">${item.value}</option>
						</c:forEach>
					</select>
				</div>
				<!-- 단속법정동 -->
				<div class="col-4">
					<label is="name-label" for="ischCrdnStdgNm" class="form-label fw-bold form-search-title w-px-120 text-end">단속법정동</label>
					<input type="text" is="id-input" name="ischCrdnStdgNm"
					class="form-control w-px-160" />
				</div>
			</div>
		</div> <!-- 상세 조건 -->
	</form>
	<!-- 검색 조건 영역 -->
</span>
