<?php
/*
///////////////////////////////////////////////////////////////////////
/  Project Name 	: Gurudev
/  File Name 		: dealer_manage.php  
/  Created on  		: 17/08/2017
/  Created by       : Pintu
/  Last Changed By 	: 
/  Updated On		: 
/  Purpose			: To manage/add dealer
/  ---------
/  
////////////////////////////////////////////////////////////////////////
*/
?>
<?php
	include('common/header.php');
?>
	<div class="">
		<div class="col-xm-12">
			<div class="widget-box light-border">
				<div class="widget-header header-color-grey">
					<h4 class="smaller">
						Dealer Company
					</h4>
				</div>
				<div class="widget-body">
					<div class="widget-main">
						<div class="row">
							<div class="col-sm-12">
								<form class="form-horizontal" role="form" name="module_form" id="module_form">
								<div class="">
									<!--<div class="form-group" id="admin_type_code">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Dealer Company Code ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$dealer_code_data=array('name'=>'dealer_code',
																			'id'=>'dealer_code',
																			'placeholder'=>'Dealer Company Code',
																			'value'=> ''
																			);
												echo form_input($dealer_code_data,'');
												echo form_error('dealer_code');
											?>
										</div>
									</div>	-->					
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Dealer Company Name ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$dealer_name_data=array('name'=>'dealer_name',
																		'id'=>'dealer_name',
																		'placeholder'=>'Dealer Company Name',
																		'value'=> ''
																		);
												echo form_input($dealer_name_data,'');
												echo form_error('dealer_name');
											?>
										</div>
									</div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Email ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$email_data=array('name'=>'email',
																'id'=>'email',
																'placeholder'=>'Email',
																'value'=> ''
																);
												echo form_input($email_data,'');
												echo form_error('email');
											?>
										</div>
									</div> 
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Mobile No ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$mobile_no_data=array('name'=>'mobile_no',
																	'id'=>'mobile_no',
																	'placeholder'=>'Mobile No',
																	'value'=> ''
																	);
												echo form_password($mobile_no_data,'');
												echo form_error('mobile_no');
											?>
										</div>
									</div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'PAN No ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$pan_no_data=array('name'=>'pan_no',
																	'id'=>'pan_no',
																	'placeholder'=>'PAN No',
																	'value'=> '',
																	'maxlength'=>'10'
																	);
												echo form_password($pan_no_data,'');
												echo form_error('pan_no');
											?>
										</div>
									</div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'Aadhar No ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$aadhar_no_data=array('name'=>'aadhar_no',
																	'id'=>'aadhar_no',
																	'placeholder'=>'Aadhar No',
																	'value'=> '',
																	'maxlength'=>'10'
																	);
												echo form_password($aadhar_no_data,'');
												echo form_error('aadhar_no');
											?>
										</div>
									</div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2" ><?php echo 'GST No ';?><font style="color:red">*</font></label>
										<div class="col-sm-7">	
											<?php	
												$gst_no_data=array('name'=>'gst_no',
																	'id'=>'gst_no',
																	'placeholder'=>'GST No',
																	'value'=> ''
																	);
												echo form_password($gst_no_data,'');
												echo form_error('gst_no');
											?>
										</div>
									</div>									
								</div>
								</form>	
							</div>
						</div>
					</div>	
				</div>
			</div>
		</div>
		<!-- /.col -->
	</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 DEALER_PATH;?>list_dealer'">
				Back
			</button>
			<button class="btn btn-info" type="button">
				<?php echo $purpose;?> Dealer Company
			</button>
		</div>
	</div>
	<div class="space-4"></div>
		<!-- /.page-row -->
        <!-- /.page-content --> 
    </div>
    <!-- /.main-content --> 
	</div>
    <!-- /#ace-settings-container --> 
	</div>
	<!-- /.main-container-inner --> 
<script>
function hide()
{
	document.getElementById("admin_type_code").style.display="none";
}
function show()
{
	document.getElementById("admin_type_code").style.display="";
}
</script>
<script type="text/javascript">
$(document).ready(function() {
    $('form:first *:input[type!=hidden]:first').focus();
});
</script>	
<?php
	include('common/footer.php');
?>