<!-- Search Modal -->
<div class="search-project sp-selmodal col-lg-11 col-sm-12" id="SELECT_MODAL_CATEGORY_CLIENT">

	<!-- Search Options -->
	<!-- ================================================================================= -->
	<div class="container-fluid row search-container-selmodal">
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Code" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_CAT_CLIENT_CODE_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Description" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_CAT_CLIENT_DESCRIPTION_TXT" />
			</div>
		</div>
		-->
								
		<div class="col-md-3">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_CAT_CLIENT_STATUS_CMB">
					<option value="1">Inactive</option>
					<option value="2" selected>Active</option>
					<option value="3" disabled style="display:none">Closed</option>
					<option value="4" disabled style="display:none">Completed</option>
				</select>
			</div>
		</div>
	</div>
	
	<div class="container-fluid row">	
		<div class="col-md-3">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_ORDER_BY_CMB">					
					<option value="CAT_CLIENT_ID_ASC">Order by : ID &darr;A-Z</option>
					<option value="CAT_CLIENT_ID">Order by : ID &uarr;Z-A</option>
					<option value="CAT_CLIENT_CODE_ASC">Order by : Code &darr;A-Z</option>
					<option value="CAT_CLIENT_CODE">Order by : Code &uarr;Z-A</option>
					<option value="CAT_CLIENT_DESCRIPTION_ASC" selected>Order by : Description &darr;A-Z</option>
					<option value="CAT_CLIENT_DESCRIPTION">Order by : Description &uarr;Z-A</option>
				</select>
			</div>
		</div>
								
		<div class="col-md-3" style="display: none;">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_LIMIT_CMB">	
					<option value="25">Show : 25 rows</option>
					<option value="50">Show : 50 rows</option>
					<option value="100" selected>Show : 100 rows</option>
					<option value="500">Show : 500 rows</option>
					<option value="1000">Show : 1,000 rows</option>
				</select>
			</div>
		</div>	
						
		<div class="col-sm-3 search-btn" style="text-align: right;">
			<button class="btn btn-primary" type="button" id="SELECT_MODAL_CATEGORY_CLIENT_SEARCH_CMD" title="Search"><i class="fas fa-search"></i>Search</button>
		</div>
	</div>

	<!-- Selection DataGridView -->
	<!-- ================================================================================= -->
	<div class="container-fluid row">	
		<table class="table table-content table-striped" id="SELECT_MODAL_CATEGORY_CLIENT_DGV"> 
			<thead class="bg-primary-custom" style="color: #fff;">
				<tr style="cursor: pointer; display: table; width: 100%; table-layout: fixed;" id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER">
					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_ROW_IS_SELECTED" style="cursor: pointer; width: 40px;"></th>
					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_ROW_COUNT" style="cursor: pointer; width: 60px;">#</th>

					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_CAT_CLIENT_ID" style="display: none;">ID</th>
					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_CAT_CLIENT_CODE" style="cursor: pointer;">Code</th>					
					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_CAT_CLIENT_DESCRIPTION" style="cursor: pointer;">Description</th>					
					<th id="SELECT_MODAL_CATEGORY_CLIENT_DGV_HEADER_CAT_CLIENT_STATUS" style="display: none;">Status</th>
				</tr>
			</thead>
		
			<tbody style="display: block; height: 250px; overflow-y: scroll;">
				<tr style="cursor: pointer; display: table; width: 100%; table-layout: fixed;" id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW">
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_ROW_IS_SELECTED" style="width: 40px;"><input type='radio' name='SELECT_MODAL__RADIO'></td>
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_ROW_COUNT" style="width: 60px;"></td>
					
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_CAT_CLIENT_ID" style="display: none;">ID</td>
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_CAT_CLIENT_CODE" style="cursor: pointer;">Code</td>					
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_CAT_CLIENT_DESCRIPTION" style="cursor: pointer;">Description</td>					
					<td id="SELECT_MODAL_CATEGORY_CLIENT_DGV_ROW_CAT_CLIENT_STATUS" style="display: none;">Status</td>
				</tr>
			</tbody>
		</table>
	</div>	
	<div class="container-fluid row">	
		<button class="btn btn-lg btn-primary prev-btn" id="SELECT_MODAL_CATEGORY_CLIENT_LOAD_PREV_BBI"><i class="fas fa-chevron-left"></i></button>
		<select class="form-control col-md-2 page-select" id="SELECT_MODAL_CATEGORY_CLIENT_LOAD_PAGING_CMB"></select>
		<button class="btn btn-lg btn-primary next-btn" id="SELECT_MODAL_CATEGORY_CLIENT_LOAD_NEXT_BBI"><i class="fas fa-chevron-right"></i></button>	
	</div>
	
	<!-- Action Buttons -->
	<!-- ================================================================================= -->
	<div class="modal-footer justify-content-between">	
		<button class="btn btn-secondary" type="button" id="SELECT_MODAL_CATEGORY_CLIENT_CANCEL_CMD" title="Cancel">Cancel</button>
		<button class="btn btn-primary" type="button" id="SELECT_MODAL_CATEGORY_CLIENT_APPLY_CMD" title="OK">OK</button>
	</div>
	
</div>
<script type="text/javascript" src="<!--[#SITE_URL;]-->/res/import/category/client/selmodal.js"></script>
