<?php
/*
///////////////////////////////////////////////////////////////////////
/  Project Name 	: Gurudev
/  File Name 		: client_list.php  
/  Created on  		: 17/08/2017
/  Created by       : Pintu
/  Last Changed By 	: 
/  Updated On		: 
/  Purpose			: To view list of client
/  ---------
/  
////////////////////////////////////////////////////////////////////////
*/
?>
<?php
	include('common/header.php');
?>
<div class="row">
	<div class="widget-box light-border">
			<div class="widget-header header-color-grey">
				<h4 class="smaller">
					Client 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('Client Code', 'client_code'); ?></label>
									<div class="col-sm-7">
										<input type="text" name="client_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('Client Name', 'client_name'); ?></label>
									<div class="col-sm-7">
										<input type="text" name="client_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('Place / Location', 'city_id'); ?></label>
									<div class="col-sm-7">
										<?php	
												$city_data=array('' => 'Select Place / 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">
			Client
		</div>
		<div class="table-responsive">
		<table cellspacing="0" width="100%" class="table table-bordered table-condensed">
			<thead>
				<tr>
					<th>Sr No</th>
					<!--<th>Client Code</th>-->
					<th>Client Name</th>					
					<th>Email</th>
					<th>Client Address</th>
					<th>State</th>
					<th>Place / Location</th>
					<th>Party GSTIN</th>
					<th>Contact Person Name 1</th>
					<th>Contact Person Designation 1</th>
					<th>Contact Person Email 1</th>
					<th>Contact Person Mobile No 1</th>
					<th>Contact Person Name 2</th>
					<th>Contact Person Designation 2</th>
					<th>Contact Person Email 2</th>
					<th>Contact Person Mobile No 2</th>
					<th>Action</th>
				</tr>	
			</thead>
			<tbody>
				<tr>
					<td>1</td>
					<!--<td>CL001</td>-->
					<td>Kritika Corporation</td>
					<td>priya@gmail.com</td>
					<td>JSD Road Mulund</td>
					<td>Maharashtra</td>
					<td>Thane</td>
					<td>27ADHFS8855P2ZY</td>
					<td>Chetan Shah</td>
					<td>Accountant</td>
					<td>chetan@gmail.com</td>
					<td>9876556677</td>
					<td>Manish Shah</td>
					<td>Accountant</td>
					<td>manish@gmail.com</td>
					<td>9876556688</td>
					<td>
						<b><a href="<?php echo base_url();?>index.php/<?php echo CLIENT_PATH;?>manage_client/Edit">Edit</a> | <a href="<?php echo base_url();?>index.php/<?php echo CLIENT_PATH;?>view_client">View</a> | <a href="#">Disable</a></b>
					</td>
				</tr>
				<tr>
					<td>2</td>
					<!--<td>CL002</td>-->
					<td>Sagar Corporation</td>
					<td>sagar@gmail.com</td>
					<td>Court Naka Thane</td>
					<td>Maharashtra</td>
					<td>Mulund</td>
					<td>26DHDCS8765P2PA</td>
					<td>Paras Bid</td>					
					<td>Accountant</td>					
					<td>paras@gmail.com</td>
					<td>9898847654</td>
					<td>Mahesh Bid</td>
					<td>Accountant</td>
					<td>mahesh@gmail.com</td>
					<td>9898847752</td>
					<td>
						<b><a href="<?php echo base_url();?>index.php/<?php echo CLIENT_PATH;?>manage_client/Edit">Edit</a> | <a href="<?php echo base_url();?>index.php/<?php echo CLIENT_PATH;?>view_client">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 CLIENT_PATH;?>manage_client'">
					Add Client
				</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');
?>