Code Context<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Swaran Public School - <?php echo $page_result['CmsPage']['title'];
$viewFile = '/home/swar8552/public_html/app/View/Layouts/front_layout.ctp'
$dataForView = array(
'schoolclasses' => array(
(int) 1 => 'NURSERY',
(int) 2 => 'L.KG',
(int) 3 => 'U.KG',
(int) 4 => '1st',
(int) 5 => '2nd',
(int) 6 => '3rd',
(int) 7 => '4th',
(int) 8 => '5th',
(int) 9 => '6th',
(int) 10 => '7th',
(int) 11 => '8th',
(int) 12 => '9th',
(int) 13 => '10th',
(int) 14 => '1st B',
(int) 15 => 'first',
(int) 16 => '2nd B',
(int) 17 => '3rd B',
(int) 18 => '4th-B',
(int) 19 => '4th B',
(int) 20 => '5th B',
(int) 21 => '6th B',
(int) 22 => '3 B',
(int) 23 => 'NURSERY B ',
(int) 24 => '3rd 2024',
(int) 25 => '7th B',
(int) 26 => '8th B'
),
'currentsession' => array(
'SchoolSession' => array(
'id' => '23',
'title' => '2026-27'
)
),
'schoolsessions' => array(
'SchoolSession' => array(
'id' => '23',
'title' => '2026-27'
)
),
'content_for_layout' => '
<link rel="stylesheet" type="text/css" href="/css/screen.css" />
<link rel="stylesheet" type="text/css" href="/css/lightbox.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" integrity="undefined" crossorigin="anonymous">
<style>
.fieldset {
margin: 0 auto;
padding: 22px 35px 15px;
width: 84%;
display: table;
float: none;
}
@media only screen and (max-width: 767px){
.text_about {
margin-top: 24px;
}
}
@media only screen and (max-width: 500px){
.fieldset {
padding: 22px 20px 15px;
width: 100%;
display: inline-block;
}
#collect_fee_form .form-list {
margin-left: 0;
padding-left: 0;
}
.submit .button {
display: inline-block;
float: none;
margin: 0;
text-align: center;
margin: 0px auto;
}
.whole-web table td, .whole-web table th {
font-size: 13px;
}
}
</style>
<div class="whole-web">
<div class="text_about">
<h2> Fees Collection </h2>
</div>
<div class="col-main">
<div id="messages_product_view"></div>
<div class="page-title"> </div>
<form action="/fee-collection" id="collect_fee_form" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="fieldset">
<ul class="form-list">
<li class="fields">
<div class="field">
<label for="sessionyear" class="required"><strong><em>*</em>Session</strong></label>
<div class="input-box">
<div class="input select"><select name="data[SchoolSession][sessionyear]" id="sessionyear" class="input-select session_required" maxlength="200">
<option value="23" selected="selected">2026-27</option>
</select></div>
</div>
</div>
<div class="field">
<label for="studentclass" class="required"><strong><em>*</em>Select Your Class</strong></label>
<div class="input-box">
<div class="input select"><select name="data[SchoolSession][studentclass]" required="required" class="input-select class_required" maxlength="200" id="SchoolSessionStudentclass">
<option value="">Select Class</option>
<option value="1">NURSERY</option>
<option value="2">L.KG</option>
<option value="3">U.KG</option>
<option value="4">1st</option>
<option value="5">2nd</option>
<option value="6">3rd</option>
<option value="7">4th</option>
<option value="8">5th</option>
<option value="9">6th</option>
<option value="10">7th</option>
<option value="11">8th</option>
<option value="12">9th</option>
<option value="13">10th</option>
<option value="14">1st B</option>
<option value="15">first</option>
<option value="16">2nd B</option>
<option value="17">3rd B</option>
<option value="18">4th-B</option>
<option value="19">4th B</option>
<option value="20">5th B</option>
<option value="21">6th B</option>
<option value="22">3 B</option>
<option value="23">NURSERY B </option>
<option value="24">3rd 2024</option>
<option value="25">7th B</option>
<option value="26">8th B</option>
</select></div> </div>
</div>
<div class="field">
<label for="admissionnumber" class="required"><strong>Your Admission Number <em>*</em></strong></label>
<div class="input-box">
<div class="input text"><input name="data[SchoolSession][name]" placeholder="Enter Admission No." required="required" class="input-text name_required" maxlength="200" type="text" id="SchoolSessionName"/></div> </div>
</div>
</li>
<li>
<div class="buttons-set">
<div class="submit"><input class="button submit_form" type="submit" value="Search"/></div> </div>
</li>
</ul>
<div>
<p><em>*</em>All fields are required</p>
</div>
</div>
</form> </div>
<div class="table-responsive">
<table class="table table-striped student_table">
<thead>
<tr>
<th>Admission Number</th>
<th>Name</th>
<th>Father Name</th>
<th>Class</th>
<th>Session</th>
<th>Action</th>
</tr>
</thead>
<tbody id="append_students">
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-striped invoice_table">
<thead>
<tr>
<th>Admission Number</th>
<th>Name</th>
<th>Father Name</th>
<th>Class</th>
<th>Session</th>
<th>Month</th>
<th>Tution Fee</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody id="append_invoice">
</tbody>
</table>
</div>
</div>
<script type="text/javascript" src="/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/lightbox.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".student_table").hide();
$(".invoice_table").hide();
$('#collect_fee_form').on('submit', function (event) {
event.preventDefault();
$.ajax({
type: "POST",
url: '/FeeCollections/getStudent',
data: $('#collect_fee_form').serialize(),
cache: false,
success: function(data) {
$("#append_students").html(data);
$(".student_table").show();
}
});
});
$('body').on('click','.getinvoice', function () {
var student_id=$(this).data('id');
var session_year=$("#sessionyear").val();
$.ajax({
type: "POST",
url: '/FeeCollections/getPendingInvoice',
data: {'student_id':student_id,'sessionyear':session_year},
cache: false,
success: function(data) {
$("#append_invoice").html(data);
$(".invoice_table").show();
}
});
});
});
</script>',
'scripts_for_layout' => '',
'title_for_layout' => 'FeeCollections'
)
$schoolclasses = array(
(int) 1 => 'NURSERY',
(int) 2 => 'L.KG',
(int) 3 => 'U.KG',
(int) 4 => '1st',
(int) 5 => '2nd',
(int) 6 => '3rd',
(int) 7 => '4th',
(int) 8 => '5th',
(int) 9 => '6th',
(int) 10 => '7th',
(int) 11 => '8th',
(int) 12 => '9th',
(int) 13 => '10th',
(int) 14 => '1st B',
(int) 15 => 'first',
(int) 16 => '2nd B',
(int) 17 => '3rd B',
(int) 18 => '4th-B',
(int) 19 => '4th B',
(int) 20 => '5th B',
(int) 21 => '6th B',
(int) 22 => '3 B',
(int) 23 => 'NURSERY B ',
(int) 24 => '3rd 2024',
(int) 25 => '7th B',
(int) 26 => '8th B'
)
$currentsession = array(
'SchoolSession' => array(
'id' => '23',
'title' => '2026-27'
)
)
$schoolsessions = array(
'SchoolSession' => array(
'id' => '23',
'title' => '2026-27'
)
)
$content_for_layout = '
<link rel="stylesheet" type="text/css" href="/css/screen.css" />
<link rel="stylesheet" type="text/css" href="/css/lightbox.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" integrity="undefined" crossorigin="anonymous">
<style>
.fieldset {
margin: 0 auto;
padding: 22px 35px 15px;
width: 84%;
display: table;
float: none;
}
@media only screen and (max-width: 767px){
.text_about {
margin-top: 24px;
}
}
@media only screen and (max-width: 500px){
.fieldset {
padding: 22px 20px 15px;
width: 100%;
display: inline-block;
}
#collect_fee_form .form-list {
margin-left: 0;
padding-left: 0;
}
.submit .button {
display: inline-block;
float: none;
margin: 0;
text-align: center;
margin: 0px auto;
}
.whole-web table td, .whole-web table th {
font-size: 13px;
}
}
</style>
<div class="whole-web">
<div class="text_about">
<h2> Fees Collection </h2>
</div>
<div class="col-main">
<div id="messages_product_view"></div>
<div class="page-title"> </div>
<form action="/fee-collection" id="collect_fee_form" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="fieldset">
<ul class="form-list">
<li class="fields">
<div class="field">
<label for="sessionyear" class="required"><strong><em>*</em>Session</strong></label>
<div class="input-box">
<div class="input select"><select name="data[SchoolSession][sessionyear]" id="sessionyear" class="input-select session_required" maxlength="200">
<option value="23" selected="selected">2026-27</option>
</select></div>
</div>
</div>
<div class="field">
<label for="studentclass" class="required"><strong><em>*</em>Select Your Class</strong></label>
<div class="input-box">
<div class="input select"><select name="data[SchoolSession][studentclass]" required="required" class="input-select class_required" maxlength="200" id="SchoolSessionStudentclass">
<option value="">Select Class</option>
<option value="1">NURSERY</option>
<option value="2">L.KG</option>
<option value="3">U.KG</option>
<option value="4">1st</option>
<option value="5">2nd</option>
<option value="6">3rd</option>
<option value="7">4th</option>
<option value="8">5th</option>
<option value="9">6th</option>
<option value="10">7th</option>
<option value="11">8th</option>
<option value="12">9th</option>
<option value="13">10th</option>
<option value="14">1st B</option>
<option value="15">first</option>
<option value="16">2nd B</option>
<option value="17">3rd B</option>
<option value="18">4th-B</option>
<option value="19">4th B</option>
<option value="20">5th B</option>
<option value="21">6th B</option>
<option value="22">3 B</option>
<option value="23">NURSERY B </option>
<option value="24">3rd 2024</option>
<option value="25">7th B</option>
<option value="26">8th B</option>
</select></div> </div>
</div>
<div class="field">
<label for="admissionnumber" class="required"><strong>Your Admission Number <em>*</em></strong></label>
<div class="input-box">
<div class="input text"><input name="data[SchoolSession][name]" placeholder="Enter Admission No." required="required" class="input-text name_required" maxlength="200" type="text" id="SchoolSessionName"/></div> </div>
</div>
</li>
<li>
<div class="buttons-set">
<div class="submit"><input class="button submit_form" type="submit" value="Search"/></div> </div>
</li>
</ul>
<div>
<p><em>*</em>All fields are required</p>
</div>
</div>
</form> </div>
<div class="table-responsive">
<table class="table table-striped student_table">
<thead>
<tr>
<th>Admission Number</th>
<th>Name</th>
<th>Father Name</th>
<th>Class</th>
<th>Session</th>
<th>Action</th>
</tr>
</thead>
<tbody id="append_students">
</tbody>
</table>
</div>
<div class="table-responsive">
<table class="table table-striped invoice_table">
<thead>
<tr>
<th>Admission Number</th>
<th>Name</th>
<th>Father Name</th>
<th>Class</th>
<th>Session</th>
<th>Month</th>
<th>Tution Fee</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody id="append_invoice">
</tbody>
</table>
</div>
</div>
<script type="text/javascript" src="/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/lightbox.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".student_table").hide();
$(".invoice_table").hide();
$('#collect_fee_form').on('submit', function (event) {
event.preventDefault();
$.ajax({
type: "POST",
url: '/FeeCollections/getStudent',
data: $('#collect_fee_form').serialize(),
cache: false,
success: function(data) {
$("#append_students").html(data);
$(".student_table").show();
}
});
});
$('body').on('click','.getinvoice', function () {
var student_id=$(this).data('id');
var session_year=$("#sessionyear").val();
$.ajax({
type: "POST",
url: '/FeeCollections/getPendingInvoice',
data: {'student_id':student_id,'sessionyear':session_year},
cache: false,
success: function(data) {
$("#append_invoice").html(data);
$(".invoice_table").show();
}
});
});
});
</script>'
$scripts_for_layout = ''
$title_for_layout = 'FeeCollections'include - APP/View/Layouts/front_layout.ctp, line 5
View::_evaluate() - CORE/Cake/View/View.php, line 949
View::_render() - CORE/Cake/View/View.php, line 911
View::renderLayout() - CORE/Cake/View/View.php, line 542
View::render() - CORE/Cake/View/View.php, line 479
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108