<?php
session_start();
// ============
include("../../asset/theme/css/myfunc.php");
include("../../php_crud/my_class.php");
$obj=new my_class();
// ============
$base_url= $_SESSION["BASE_URL"];

?>
<style type="text/css">
i{
	cursor:pointer;
}

.select_list{
	width: 200px;
}

.input_sub{
	width: 185px;
}
.select_list1{
	width: 100px;
	float: left;
	margin-left: 3px;
	margin-right: 3px;
}

</style>


<script src="module/fees/js/closing_blance.js" type="text/javascript"></script>


<div class="row-fluid" id="first_part">
<form class="form-vertical" >
	 <input type="hidden" id="branchid" name="branchid" value="<?php echo $_SESSION['LOGIN_BRANCH'];?>"/>
	   
<legend>
 <div class="widget-header header-color-green2">
<h4 class="lighter smaller" >Section & Month Wise Fee Closing Blance Upload</h4>
</div>
</legend>
<div class="row-fluid">

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Month Select : <font color="#FF0000">*</font></label>
			<div class="controls">
				<select class="select_list" id="month" name="month">
					<option value="">--- Select ---</option>
				    <option <?php if(date('m')=='01'){echo 'selected';} ?> value="1">January</option>
				    <option <?php if(date('m')=='02'){echo 'selected';} ?> value="2">February</option>
				    <option <?php if(date('m')=='03'){echo 'selected';} ?> value="3">March</option>
				    <option <?php if(date('m')=='04'){echo 'selected';} ?> value="4">April</option>
				    <option <?php if(date('m')=='05'){echo 'selected';} ?> value="5">May</option>
				    <option <?php if(date('m')=='06'){echo 'selected';} ?> value="6">June</option>
				    <option <?php if(date('m')=='07'){echo 'selected';} ?> value="7">July</option>
				    <option <?php if(date('m')=='08'){echo 'selected';} ?> value="8">August</option>
				    <option <?php if(date('m')=='09'){echo 'selected';} ?> value="9">September</option>
				    <option <?php if(date('m')=='10'){echo 'selected';} ?> value="10">October</option>
				    <option <?php if(date('m')=='11'){echo 'selected';} ?> value="11">November</option>
				    <option <?php if(date('m')=='12'){echo 'selected';} ?> value="12">December</option>
				</select>
			</div>
		</div>	
	</div>

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Year Select : <font color="#FF0000">*</font></label>
			<div class="controls">
				<select class="select_list" id="year" name="year">
					<option value="">--- Select ---</option>
					<?php
					for ($j=date('Y')-1; $j < date('Y')+2; $j++) { 							
					?>
				    <option <?php if($j==date('Y')){echo 'selected';} ?> value="<?php echo $j; ?>"><?php echo $j; ?></option>
				    <?php } ?>
				</select>
			</div>
		</div>
	</div>

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Shift<font color="#FF0000">*</font></label>

			<div class="controls">
			  	<select class="select_list" id="shift_id" onchange="call_medium(this.value)">
				<option value="">---SELECT---</option>
				<?php 
				$table_name="_int_institute_setup";
				$column="_id,_name";
				$where_cond="_pid='".$_SESSION['LOGIN_BRANCH']."' AND _type='SH' AND _status='A'";
				$data_list=$obj->View_all_data_row_column_By_Cond($table_name,$column,$where_cond);
									
				foreach($data_list AS $index1=>$data4_institute){ echo "<option value='".$data4_institute['_id']."'>".$data4_institute['_name']."</option>";
				}
				?>
				</select>
			</div>
		</div>		
	</div>	
	
	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Medium<font color="#FF0000">*</font></label>

			<div class="controls">
				<select class="select_list" id="medium_id" onchange="call_class(this.value)">
			   		<option value="">- - - - - -</option>
			    </select>
			</div>
		</div>
	</div>

	
</div>

<div class="row-fluid">

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Class<font color="#FF0000">*</font></label>

			<div class="controls">
				<select class="select_list" id="class_id" onchange="call_department(this.value)">
			   		<option value="">- - - - - -</option>
			    </select>
			</div>
		</div>
	</div>

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Department<font color="#FF0000">*</font></label>

			<div class="controls">
				<select class="select_list" id="department_id" onchange="call_std_type(this.value)">
			   		<option value="">- - - - - -</option>
			    </select>
			</div>
		</div>
	</div>

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Student Type<font color="#FF0000">*</font></label>

			<div class="controls">
				<select class="select_list" id="student_type_id" onchange="call_section(this.value)">
			   		<option value="">- - - - - -</option>
			    </select>
			</div>
		</div>
	</div>

	<div class="span3">
		<div class="control-group" >
			<label class="control-label" for="form-field-1">Select Section<font color="#FF0000">*</font></label>

			<div class="controls">
				<select class="select_list" id="section_id">
			   		<option value="">- - - - - -</option>
			    </select>
			</div>
		</div>
	</div>

</div>

<div class="row-fluid">

	<div class="span3">
		<div class="control-group" >
			<button onclick="call_std_invoice()" class="btn btn-small btn-success" data-dismiss="modal" type="button" style=" display: block; float: left;">
			Search
			</button>
		</div>
	</div>

	

</div>

<!-- ============== -->

</form>
</div>



<!-- ============================================================================ -->


<div class="row-fluid section_wise_invoice"  id="second_part">

</div>








