<?php
session_start();
// ============
include("../../php_crud/my_class.php");
$obj=new my_class();
// ============
extract($_GET);
$branchid = $_SESSION['LOGIN_BRANCH'];

$rq = $obj->View_column_details_By_Cond("_hr_gradding","_id,_grade_name,_start_salary,_end_salary,_status","_id='$id'");
extract($rq);
?>


	 <input type="hidden" id="e_grade_id" name="e_grade_id" value="<?php echo $rq['_id'];?>"/>
	   


<div class="row-fluid">
	
	<div class="span4">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Grade Name : <font color="#FF0000">*</font></label>
			<div class="controls">
				<input name="e_grade" id="e_grade" value="<?php echo $rq['_grade_name'];?>" type="text">
			</div>
		</div>
	</div>

	

	<div class="span4">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Start salary<font color="#FF0000">*</font></label>
			<div class="controls">
				<input name="st_salary" id="st_salary" value="<?php echo $rq['_start_salary'];?>" type="text">
			</div>
		</div>
	</div>

	<div class="span4">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">End Salary <font color="#FF0000">*</font></label>
			<div class="controls">
				<input name="ed_salary" id="ed_salary" value="<?php echo $rq['_end_salary'];?>" type="text">
			</div>
		</div>
	</div>

</div>


<div class="row-fluid">
	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Status: <font color="#FF0000">*</font></label>
			<div class="controls">
				<select id="e_status">
		   			<option value="">- - - - -</option>
		   			<option <?php if($rq['_status']=='A') echo 'selected'; ?> value="A">Active</option>
		   			<option <?php if($rq['_status']=='I') echo 'selected'; ?> value="I">Inactive</option>
		   			<option <?php if($rq['_status']=='D') echo 'selected'; ?> value="D">Disable</option>
		    	</select>
			</div>
		</div>
	</div>

</div>

