@extends('backend.header')
@section('index-content')
<?php
function convertToUnicodeNumber($input) {

	$standard_numsets = array("0","1","2","3","4","5","6","7","8","9");
	$devanagari_numsets = array("०","१","२","३","४","५","६","७","८","९");

	return str_replace($standard_numsets, $devanagari_numsets, $input);
}

?>
<div class="row px-3">


	<section role="main" class="content-body">
		<header class="page-header">
			<div class="row px-4">
				<div class="col-lg-5 pl-0">
					<h2>Daily Installation and Verification Report</h2>	
				</div>
			
				<div class="col-lg-5">
					<ol class="breadcrumbs">
						<li>
							<a href="{{url('index')}}">
								<i class="fa fa-home"></i>
							</a>
						</li>
						<li><span class="active">Daily Installation and Verification Report</span></li>
					</ol>
				</div>
			</div>
		</header>
		<!-- <header class="page-header">
			<h2>Daily Installation and Verification Report</h2>
		</header>
		<div class="row">
			<div class="col-xs-12">
				<div class="right-wrapper">
					<ol class="breadcrumbs">
						<li>
							<a href="{{url('index')}}">
								<i class="fa fa-home"></i>
							</a>
						</li>
						<li><span class="active">Daily Installation and Verification Report</span></li>
					</ol>
				</div>
			</div>
		</div> -->
					<!-- <header class="page-header">
						<h2>Daily Installation and Verification Report</h2>
					</header> -->

					<!-- start: page -->
					<section class="panel mt-4">
						<header class="panel-heading">
							<h4 class="my-0">Gram Wise Search</h4>	
							<!-- <div class="panel-actions">
								<a href="#" class="fa fa-caret-down"></a>
								<a href="#" class="fa fa-times"></a>
							</div> -->

							<!--<h2 class="panel-title">सर्वेक्षण तपशील</h2>-->
						</header>
						<form target="_blank" action="{{url('dic_installation')}}" method="get">
							@csrf
							<div class="panel-body">
								
								<div class="row px-3">
									<div class="col-md-4 px-2">
										<h4>District Name</h4>
										<select name="jillase" class="w-100 h40" id="jilla_id">
											<option value="">District Name</option>

											@foreach($jilla as $j)
											<option value="{{$j->id}}">{{$j->area_name}}</option>
											@endforeach
										</select>

									</div>
									<div class="col-md-4 px-2">
										<h4>Mandal Name</h4>
										<select name="talukase" class="w-100 h40" id="taluka">
											<option value="">Mandal Name</option>   
										</select>
									</div>
									<div class="col-md-4 px-2">
										<h4>Panchayat Name</h4>
										<select name="gramse" class="w-100 h40" id="gram_id">
											<option value="">Panchayat Name</option>
										</select>
									</div>
								</div>
								<input type="hidden" name="from_date" value="{{date('Y-m-d')}}">
								<div class="row">
									<div class="col-12 px-3">
										<div class="text-right mt-3 pr-2">
											<input   type="submit" class="btn btn-success" value="Submit" id="surveyfilter">
										</div>
									</div>
								</div>
							</div>
						</form>
					</section>

					<section class="panel">
						<header class="panel-heading">
							<h4 class="my-0">User Wise Search</h4>	
							<!-- <div class="panel-actions">
								<a href="#" class="fa fa-caret-down"></a>
								<a href="#" class="fa fa-times"></a>
							</div> -->

							<!--<h2 class="panel-title">सर्वेक्षण तपशील</h2>-->
						</header>
						<form action="{{url('displaysearchallot')}}" method="post">
							@csrf
							<div class="panel-body">
								<div class="row px-3">
									<div class="col-sm-4 px-2">
										<h4>User Name</h4>
										<select name="user_id" id="user_id" class="w-100 h40">
											<option value="">User Name</option>

											@foreach($userlist as $j)
											<option value="{{$j->id}}">{{$j->name}}</option>
											@endforeach
										</select>

									</div>
									<div class="col-sm-4 px-2">
										<h4>Panchayat Name</h4>
										<select name="grams" id="grams" class="w-100 h40">
											<option value="">Panchayat Name</option>   
										</select>
									</div>
									<div class="col-md-4 mt42">
										<input type="submit" class="btn btn-success" value="View Gram Wise" id="surveyfilter">
										<form action="{{url('displaysearchallotusers')}}" method="post">
											@csrf	
											<input type="hidden" name="user_id" id="usersid">
											<div style="display: inline-block;">
												<div class="text-left">
													<input type="submit" class="btn btn-success"  id="surveyfilter" value="View All">
												</div>
											</div>
										</form>
									</div>
									
							


						</div>


					</div>
				</form>
				</section>
			</section>

		</div>



		@stop