<!-- Search Modal -->
<div class="search-project search-project-modal" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY" class="col-lg-6 col-sm-12" style="display: none; width: 85%; padding-top: 20px; padding-bottom: 20px; padding-left: 20px; border-style: groove; border-color: #dfdfdf; border-radius: 15px; max-height: 95%; padding-right: 1.25rem;">

	<!-- Search Options -->
	<!-- ================================================================================= -->
	<div class="row">
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Sync ID" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_GLOBAL_ID_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4" style="display: none;">
			<div class="input-group mb-3" style="background-color: #ffffff;">
				<select class="BSSP_SEARCH_CAT_BARANGAY_CAT_MUNICIPALITY_ID_CMB" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_CAT_MUNICIPALITY_ID_CMB" data-live-search="true" data-live-search-style="startsWith" data-style="btn-outline-secondary"></select>
			</div>
		</div>		
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Code" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_CODE_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Code B" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_CODE_B_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Code C" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_CODE_C_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_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_DESCRIPTION_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Description B" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_DESCRIPTION_B_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="text" class="form-control" placeholder="Description C" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_DESCRIPTION_C_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="number" class="form-control" placeholder="System Generated" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_SYSTEM_GENERATED_TXT" />
			</div>
		</div>
		-->
								
		<div class="col-md-5">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CAT_BARANGAY_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 class="col-md-5">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_ORDER_BY_CMB">					
					<option value="CAT_BARANGAY_ID_ASC">Order by : ID &darr;A-Z</option>
					<option value="CAT_BARANGAY_ID">Order by : ID &uarr;Z-A</option>
					<option value="CAT_BARANGAY_GLOBAL_ID_ASC">Order by : Sync ID &darr;A-Z</option>
					<option value="CAT_BARANGAY_GLOBAL_ID">Order by : Sync ID &uarr;Z-A</option>
					<option value="CAT_BARANGAY_CODE_ASC">Order by : Code &darr;A-Z</option>
					<option value="CAT_BARANGAY_CODE">Order by : Code &uarr;Z-A</option>
					<option value="CAT_BARANGAY_CODE_B_ASC">Order by : Code B &darr;A-Z</option>
					<option value="CAT_BARANGAY_CODE_B">Order by : Code B &uarr;Z-A</option>
					<option value="CAT_BARANGAY_CODE_C_ASC">Order by : Code C &darr;A-Z</option>
					<option value="CAT_BARANGAY_CODE_C">Order by : Code C &uarr;Z-A</option>
					<option value="CAT_BARANGAY_DESCRIPTION_ASC" selected>Order by : Description &darr;A-Z</option>
					<option value="CAT_BARANGAY_DESCRIPTION">Order by : Description &uarr;Z-A</option>
					<option value="CAT_BARANGAY_DESCRIPTION_B_ASC">Order by : Description B &darr;A-Z</option>
					<option value="CAT_BARANGAY_DESCRIPTION_B">Order by : Description B &uarr;Z-A</option>
					<option value="CAT_BARANGAY_DESCRIPTION_C_ASC">Order by : Description C &darr;A-Z</option>
					<option value="CAT_BARANGAY_DESCRIPTION_C">Order by : Description C &uarr;Z-A</option>
					<option value="CAT_BARANGAY_SYSTEM_GENERATED_ASC">Order by : System Generated &darr;A-Z</option>
					<option value="CAT_BARANGAY_SYSTEM_GENERATED">Order by : System Generated &uarr;Z-A</option>
				</select>
			</div>
		</div>
								
		<div class="col-md-5" style="display: none;">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_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-md-2 search-btn" style="text-align: right;">
			<button class="btn btn-primary" type="button" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_SEARCH_CMD" title="Search"><i class="fas fa-search"></i>Search</button>
		</div>

	</div>


	<!-- Selection DataGridView -->
	<!-- ================================================================================= -->
	<div class="table-responsive">	
		<table class="table table-content table-striped table-sm table-selmodal" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV"> 
			<thead class="bg-custom-primary" style="color: #fff;">
				<tr style="cursor: pointer; display: table; width: 100%; table-layout: fixed;" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER">
					<th class="w40px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_ROW_IS_SELECTED" style="cursor: pointer; width: 40px;"></th>
					<th class="w40px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_ROW_COUNT" style="cursor: pointer; width: 60px;">#</th>

					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_ID" style="display: none;">ID</th>
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_GLOBAL_ID" style="display: none;">Sync ID</th>
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_CAT_MUNICIPALITY_ID" style="display: none;">Municipality</th>
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_CODE" style="cursor: pointer;">Code</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_CODE_B" style="cursor: pointer;">Code B</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_CODE_C" style="cursor: pointer;">Code C</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_DESCRIPTION" style="cursor: pointer;">Description</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_DESCRIPTION_B" style="cursor: pointer;">Description B</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_DESCRIPTION_C" style="cursor: pointer;">Description C</th>					
					<th class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_STATUS" style="display: none;">Status</th>
					<th class="w80px"id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_HEADER_CAT_BARANGAY_SYSTEM_GENERATED" style="display: none;">System Generated</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_ADDRESS_BARANGAY_DGV_ROW">
					<td class="w40px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_ROW_IS_SELECTED" style="width: 40px;"><input type='radio' name='SELECT_MODAL__RADIO'></td>
					<td class="w40px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_ROW_COUNT" style="width: 60px;"></td>
					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_ID" style="display: none;">ID</td>
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_GLOBAL_ID" style="display: none;">Sync ID</td>
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_CAT_MUNICIPALITY_ID" style="display: none;">Municipality</td>
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_CODE" style="cursor: pointer;">Code</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_CODE_B" style="cursor: pointer;">Code B</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_CODE_C" style="cursor: pointer;">Code C</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_DESCRIPTION" style="cursor: pointer;">Description</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_DESCRIPTION_B" style="cursor: pointer;">Description B</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_DESCRIPTION_C" style="cursor: pointer;">Description C</td>					
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_STATUS" style="display: none;">Status</td>
					<td class="w80px" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_DGV_ROW_CAT_BARANGAY_SYSTEM_GENERATED" style="display: none;">System Generated</td>
				</tr>
			</tbody>
		</table>
	</div>	
	<div class="container-fluid row pagination-div">
		<button style="float: left; height: 45px; margin-right: 5px;" class="btn btn-lg btn-primary" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_LOAD_PREV_BBI"><i class="fas fa-chevron-left"></i></button>
		<select class="form-control col-md-2 selmodal-dropdown" style="float: left; width: 120px;" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_LOAD_PAGING_CMB"></select>
		<button style="float: left; height: 45px;margin-left: 5px;" class="btn btn-lg btn-primary" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_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_ADDRESS_BARANGAY_CANCEL_CMD" title="Cancel">Cancel</button>
		<button class="btn btn-primary" type="button" id="SELECT_MODAL_CATEGORY_ADDRESS_BARANGAY_APPLY_CMD" title="OK">OK</button>
	</div>
	
</div>
<script type="text/javascript" src="<!--[#SITE_URL;]-->/res/import/category/address_barangay/selmodal.js"></script>
