<?php
/*
///////////////////////////////////////////////////////////////////////
/  Project Name 	: Gurudev
/  File Name 		: agent_list.php  
/  Created on  		: 17/08/2017
/  Created by       : Pintu
/  Last Changed By 	: 
/  Updated On		: 
/  Purpose			: To view list of agent
/  ---------
/  
////////////////////////////////////////////////////////////////////////
*/
?>
<?php
	include('common/header.php');
?>
<div class="row">
	<div class="widget-box light-border">
			<div class="widget-header header-color-grey">
				<h4 class="smaller">
					Agent Search
				</h4>
			</div>
			<div class="widget-body">
				<div class="widget-main">
					<div class="row">
						<div class="col-sm-12">
						
							<!-- PAGE CONTENT BEGINS -->	
							
							<div class="col-sm-3">	
								<div class="form_group">  
									<label class="col-sm-5 control-label" for="form-field-2" ><?php echo form_label('Agent Code', 'client_code'); ?></label>
									<div class="col-sm-7">
										<input type="text" name="agent_code" value="">
									</div>
								</div>
								<div class="space-4"></div>
							</div>
							<div class="col-sm-3">	
								<div class="form_group">  
									<label class="col-sm-5 control-label" for="form-field-2" ><?php echo form_label('Agent Name', 'client_name'); ?></label>
									<div class="col-sm-7">
										<input type="text" name="agent_name" value="">
									</div>
								</div>
								<div class="space-4"></div>
							</div>
							<div class="col-sm-3">	
								<div class="form_group">  
									<label class="col-sm-5 control-label" for="form-field-2" ><?php echo form_label('State', 'state_id'); ?></label>
									<div class="col-sm-7">
										<?php	
												$city_data=array('' => 'Select State',
																		'1'=> 'Maharashtra',
																		'2'=> 'Gujrat'
																		);
												$js = 'id="state_id" onChange=""';
												echo form_dropdown('state_id', $city_data, '', $js);
												echo form_error('state_id');
											?>
									</div>
								</div>
								<div class="space-4"></div>
							</div>
							<div class="col-sm-3">	
								<div class="form_group">  
									<label class="col-sm-5 control-label" for="form-field-2" ><?php echo form_label('Location', 'city_id'); ?></label>
									<div class="col-sm-7">
										<?php	
												$city_data=array('' => 'Select Location',
																		'1'=> 'Thane',
																		'2'=> 'Mulund'
																		);
												$js = 'id="city_id" onChange=""';
												echo form_dropdown('city_id', $city_data, '', $js);
												echo form_error('city_id');
											?>
									</div>
								</div>
								<div class="space-4"></div>
							</div>
								
						</div>
						
					</div>
					<div class="row">
						<div class="col-sm-12 text-center">
							<button class="btn btn-info" type="button">
								Search
							</button>
						</div>
					</div>
			   </div>	
			</div>
		</div>
		<div class="space-4"></div>
		<div class="table-header">
			Agent
		</div>
		<div class="table-responsive">
		<table cellspacing="0" width="100%" class="table table-bordered table-condensed">
			<thead>
				<tr>
					<th>Sr No</th>
					<!--<th>Agent Code</th>-->
					<th>Agent Name</th>
					<th>Agent Email</th>					
					<th>Agent Mobile</th>					
					<th>Agent Address</th>
					<th>State</th>
					<th>Place / Location</th>
					<th>PAN No</th>
					<th>Aadhar No</th>
					<th>Action</th>
				</tr>	
			</thead>
			<tbody>
				<tr>
					<td>1</td>
					<!--<td>A001</td>-->
					<td>Vaibhav Shah</td>
					<td>vaibhav@gmail.com</td>
					<td>9877665546</td>
					<td>Vasant Vihar Thane</td>
					<td>Maharashtra</td>
					<td>Thane</td>
					<td>ASHSH7575D</td>
					<td>656583683776</td>
					<td>
						<b><a href="<?php echo base_url();?>index.php/<?php echo AGENT_PATH;?>manage_agent/Edit">Edit</a> | <a href="<?php echo base_url();?>index.php/<?php echo AGENT_PATH;?>view_agent">View</a> | <a href="#">Disable</a></b>
					</td>
				</tr>
				<tr>
					<td>2</td>
					<!--<td>A002</td>-->
					<td>Sameer Nayak</td>
					<td>sameer@gmail.com</td>
					<td>7676554433</td>
					<td>Mulund East</td>
					<td>Maharashtra</td>
					<td>Mulund</td>
					<td>ASHSH7575D</td>
					<td>656583683776</td>
					<td>
						<b><a href="<?php echo base_url();?>index.php/<?php echo AGENT_PATH;?>manage_agent/Edit">Edit</a> | <a href="<?php echo base_url();?>index.php/<?php echo AGENT_PATH;?>view_agent">View</a> | <a href="#">Disable</a></b>
					</td>
				</tr>
			</tbody>
		</table>
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-5 col-md-5">
				<button class="btn btn-info" type="button" onclick="javascript:window.location='<?php echo base_url();?>index.php/<?php echo AGENT_PATH;?>manage_agent'">
					Add Agent
				</button>
			</div>
		</div>
</div>
<div>
	<!-- /.page-row -->
    <!-- /.page-content --> 
</div>
<!-- /.main-content --> 
</div>
<!-- /#ace-settings-container --> 
</div>
<!-- /.main-container-inner --> 
<?php
	include('common/footer.php');
?>