<?php $__env->startSection('content'); ?> 
	
	 <div class="qv rc sm sp" >
        <div class="qw">
          	<?php if(Session::has('Name')): ?>		
          		<span style="margin-left:70px;"> <strong> Voter Details </strong> </span>
				<span style="margin-top:-7px;margin-left:55%;">Welcome, <?php echo e(Session::get('Name')); ?>

				<a href='dashboard' class='cg ts fx green' style="margin-left:80px;"> Go To Dashboard </a>
			<?php endif; ?>
        </div>
      </div>
	  <div class="by amt" style="margin-top:-1%;">
	    <div class="gc">
	      <div class="gz">
	        <div class="ca qo anx ">
	          <div class="qf b aml" style="width:180%;margin-left:15%;">
	          	 <?php foreach($voter as $voterDetails): ?>

					<div id="accordion" role="tablist" aria-multiselectable="true">
					  <div class="panel panel-default">
					    <div class="panel-heading" role="tab" id="headingOne">
					      <h4 class="panel-title">
					        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
					          वैयक्तिक माहिती
					        </a>
					      </h4>
					    </div>
					    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
					      	<table class="table ">
					      		<tr>
					      			<th> नाव </th>
					      			<td> <?php echo e($voterDetails->MarathiFirstName); ?> <?php echo e($voterDetails->MarathiMiddleName); ?> <?php echo e($voterDetails->MarathiLastName); ?> </td>
					      		</tr>
					      		<tr>
					      			<th> लिंग</th>
					      			<td> <?php echo e($voterDetails->Sex); ?>  </td>
					      		</tr>
					      		<tr>
					      			<th> वय </th>
					      			<td> <?php echo e($voterDetails->Age); ?></td>
					      		</tr>
					      		<tr>
					      			<th> जन्मतारीख </th>
					      			<td> <?php echo e($voterDetails->DateofBirth); ?> </td>
					      		</tr>
					      		<tr>
					      			<th> पत्ता </th>
					      			<td> <?php echo e($voterDetails->Address); ?> </td>
					      		</tr>
					      		<tr>
					      			<th> मोबाईल क्र.</th>
					      			<td> <?php echo e($voterDetails->MobileNumber); ?></td>
					      		</tr>
					      		<tr>
					      			<th>व्हाट्सअप क्र. </th>
					      			<td> <?php echo e($voterDetails->WhatsAppNumber); ?></td>
					      		</tr>
					      		<tr>
					      			<th> इमेल </th>
					      			<td> <?php echo e($voterDetails->Email); ?></td>
					      		</tr>
					      		<tr>
					      			<th> नवीन पत्ता </th>
					      			<td> <?php echo e($voterDetails->NewAddress); ?></td>
					      		</tr>
					      		<tr>
					      			<th> अपंग </th>
					      			<td>
										<?php
					      				 if($voterDetails->IsHandicaped==1)
						      				{
						      					echo "होय";
						      				}
							      			else if($voterDetails->IsHandicaped==0)
							      			{
							      				echo "नाही";
							      			}
						      			?>
					      			</td>
					      		</tr>
					      		<tr>
					      			<th> शिक्षण</th>
					      			<td> <?php echo e($voterDetails->Education); ?></td>
					      		</tr>
					      		<tr>
					      			<th> प्रोफेशन </th>
					      			<td> <?php echo e($voterDetails->Profession); ?></td>
					      		</tr>
					      		<tr>
					      			<th> मृत </th>
					      			<td>
					      				<?php
					      				 if($voterDetails->IsDead==1)
						      				{
						      					echo "होय";
						      				}
							      			else if($voterDetails->IsDead==0)
							      			{
							      				echo "नाही";
							      			}
						      			?>
					      			 </td>
					      		</tr>
					      		<tr>
					      			<th> जात </th>
					      			<td> <?php echo e($voterDetails->Cast); ?></td>
					      		</tr>

					      	</table>
					    </div>
					  </div>
					  <div class="panel panel-default">
					    <div class="panel-heading" role="tab" id="headingTwo">
					      <h4 class="panel-title">
					        <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
					          मतदार माहिती
					        </a>
					      </h4>
					    </div>
					    <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
					      <table class="table">
					      	<tr>
					      		<th> मतदान ओळखपत्र क्र.( EPIC) </th>
					      		<td> <?php echo e($voterDetails->EPICNumber); ?></td>
					      	</tr>
					      	<tr>
					      		<th> राजकीय दृष्ट्याप्रभावी </th>
					      		<td> 
					      			<?php
					      				 if($voterDetails->IsPoliticallyStrong==1)
						      				{
						      					echo "होय";
						      				}
							      			else if($voterDetails->IsPoliticallyStrong==0)
							      			{
							      				echo "नाही";
							      			}
						      			?>
					      		</td>
					      	</tr>
					      	<tr>
					      		<th> अं.क्र. </th>
					      		<td> <?php echo e($voterDetails->SrNo); ?></td>
					      	</tr>
					      	<tr>
					      		<th> मतदान केंद्र </th>
					      		<td> <?php echo e($voterDetails->VotingCentre); ?></td>
					      	</tr>
					      	<tr>
					      		<th> मतदान केले ? </th>
					      		<td>
					      			<?php
					      			if($voterDetails->IsVoted==1)
					      			{
					      				echo "होय";
					      			}
					      			else if($voterDetails->IsVoted==0)
					      			{
					      				echo "नाही";
					      			}
					      			?>
					      		</td>
					      	</tr>				
					      	<tr>
					      		<th> मतदाराचा अंदाज </th>
					      		<?php 
					      			if($voterDetails->VotingAnalysis=="इतर")
						      				{
						      					echo " <td style='background-color:whitesmoke;'> <strong> इतर </strong></td>";
						      				}
							      			else if($voterDetails->VotingAnalysis=="विरोधी")
							      			{
												echo " <td style='background-color:red;color:white;'><strong> विरोधी </strong></td>";							      				
							      			}
							      			else if($voterDetails->VotingAnalysis=="आपला")
							      			{
								      			echo " <td style='background-color:green;color:white;'> <strong>आपला </strong></td>";
							      			}
							      			else if($voterDetails->VotingAnalysis=="संदिग्ध")
							      			{
								      			echo " <td style='background-color:yellow;color:white;'><strong> संदिग्ध </strong></td>";
							      			}
					      		 ?>
					      	</tr>					
					       	<tr>
					      		<th>वार्ड / प्रभाग </th>
					      		<td> <?php echo e($voterDetails->WardName); ?></td>
					      	</tr>
					      </table>
					    </div>
					  </div>
					</div>

                 <?php endforeach; ?>
	          </div>
	        </div>
	      </div>
	    </div>
	  </div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.mainview', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>