Fee Management System
Fee Management System
PROJECT REPORT
SUMMITTED BY
of
INTRUDUCTION:
CHAPTER 1
Fees Management System project is developed using PHP, CSS, and JavaScript. Talking
about the project, it has all the essential features. This project has an administration side
from Where he/she can view branch, students, fees, report, manage fees, students,
branches, settings. In this project, all the functions are performed from the Admin side
• To reduce paperwork
Admin has full control of the system, he/she can view branch, students, fees and
manage branch, students, fees from the system. The project also includes a Fees report
of students in Report module, which displays Fees Information as well as respective
Student information. He/she can add, edit, delete, view Branch. While adding Branch,
he/she has to provide Branch Name, Address, and Detail. Likewise while adding
students, he/she has to provide Personal information like Name, Contact, branch, DOJ,
Fees Information like Total Fees, Advance Fee, Remarks and Optional Information like
About student and Email id. To take Fees for a student, the user has to provide Paid
amount, date and Remarks. After paying fees of the student, that particular name will
be removed from Fees module.
• Not including fees other than academic like bus fees and etc.
• College management system are complex and time consuming to maintain fees of
students by that very difficult.
• It is not properly capable to manage the student records with their fee details at a
single place.
• Managing collection of student fees, issuing fee receipts and fee register updation is a
laborious manual process, leading to data inaccuracy and / or reconciliation.
• To generate due fees report is required a complete manual procedure, which involves
a lot of time and clerical staff manpower.
• The system requires small amount of time to generate reports needed to manage the
fees of the student.
• Managing collection of school fees, issuing fee receipts and fee register updation is
done with the help of software resulting in highly accurate data.
• This Software provides facility to generate due fees report easily and at any point of
time.
• Software directly enter fees receipts to the accounts of the school.
CHAPTER 2
• Admin Login
• Student Details
• Fee Details
• Course Scheme
• Payment
• Daily Reports
• Dues
The core functionalities that are to be included in the system are the follows.
Whenever you purchase software or hardware for your computer, you should
first make sure your computer supports the system requirements. These are the
necessary specifications your computer must have in order to use the software or
hardware.
CHAPTER 3
RAM: 1 GB
ROM: 2 GB
Database: MySql
HTML:
PHP:
OVERVIEW OF PHP
PHP FILE
PHP combined with MySQLI are cross-platform (You can develop in windows and
serve on a UNIX platform) Advantages of compilation include better execution speed,
static analysis, and improved interoperability with code written in other languages.
USES OF PHP
PHP is an intuitive, server side scripting language. Like any other scripting
language it allows developers to build into the creation of web page content and
handle data returned from a web browser. PHP also contains a number of extensions
that make it easy to interactive database, extracting data to be displayed on a web
page and storing information entered by a web site visitor back into the database.
Now let’s consider what kind of web page content a web browser understands. These
days a web page is likely to consist of HTML< XHTML and JavaScript. The web
browser contains code that tells it what to do with these types of content.
A web browser, however, knows absolutely nothing about any PHP script that may be
embedded in an HTML document. The web server receives the request, finds the
corresponding web page file on the system and sends it back, over the internet, to the
user’s browser.
Typically the webpage file system and sends it back, over the internet. If a browser
was served a web page containing PHP it would not know how to interpret that code
newer. The most common way of installing PHP is compiling it from the source code.
When Php is installed and used in cloud environments.
COMPONENTS OF PHP
In terms of web page content we have two extremes. At one extreme have to
HTML which is completely static. There is very little that can be done with HTML to
create dynamic content in a web page .At the other extreme we have scripting
languages like java script provides a powerful mechanism for creating interactive and
dynamic web pages.
While this is fine for many situations it is often the case that by the time a script
reaches the browser it is then either too late, or in efficient, to do what is needed.
Prime example of this involves displaying a web page which contains some data from
database table.
Since the database resides on a server (either the same physical server which runs the
web server or on the same network as the web server connected by a high speed fiber
network connection) it makes sense for any script that needs to extract data from the
database to be executed on the server, rather than waiting until it reaches the browser.
It is for this kind of task that PHP is perfectly suited. It also fast and efficient because
the script is executed on the server it gets to take advantage of multi-processing, large
scale memory and other such enterprise level hardware features.
In addition to the advantages of being a server side scripting language PHP is very
easy to learn and use. The fact that PHP works seamlessly with HTML makes it
accessible to a broad community of web designers. These scripts can also used for
simple text processing tasks. Perhaps one of the most significant advantages of PHP
to some is the ease with which it interacts with the MySQLI database and store data.
The web server receives the request, finds the corresponding web page file on the
system and sends it back, over the internet, to the user’s browser.
SCRIPTING OF PHP5
APIs can be procedural or object-oriented with a procedural API you call functions to
carry out tasks, with the object-oriented API you instantiate classes and then call
methods on the resulting objects. Of the two the latter is usually the preferred
interface, as it is more modern and leads to better organized code.
When writing PHP applications that need to connect to MySQLI server there are
several API options available. This document discussed what is available and how to
select the best solution for your application.
This is the most traditional and main target fields for PHP. Hey need for three
things to make this work.PHP parser a web server and a web browser. They need to
run the web server, with a connected PHP installation. They can access the PHP
program with a web browser, viewing the PHP page through the server. All these can
run on your home machine if your are just experimenting with PHP programming.
In this project can make a PHP script to run it without any server or browser.
They only need the PHP parse to use it this way. This type of usage is ideal for scripts
regularly executed using crone or task scheduler.
PHP is probably not the best language to create a desktop application with
graphical user interface, but they know PHP very well, and would like to use some
advanced PHP features in your client-side applications.
They also have to write cross platform applications this way. PGP_GTK is an
extension to PHP, not available in the admin distribution. They are also having a DBX
database abstraction extension allowing you to transparently use any database
supported by that extension. Additional php supports ODBC, the open database
connection standard, so you can connect to any other database supporting this world
standard.
CONNECTOR
Software is required to provide the API that PHP application will use and also handle
the communication between application and the database server, possible using other
intermediate libraries where necessary. This software is known generically as a
connector, as it allows application to connector a database server.
CHARACTERISTICS:-
• Server different content to users based on their browser, IP address, date and
FEATURES OF PHP
In this started out with the intention of MySQLI to connect to our tables using
our own fast low level routines. However, after some testing we came to the
conclusion that MySQLI was neither fast enough nor for needs.
This resulted in a new SQL interface to our database but with almost the same API
interface as MySQLI. This API was chosen to ease porting of third-party code. The
derivation of the name MySQLI is not clear. Our base directory and a large interface
of our tools have had the prefix “my” for well over 10 years.
The following list describes some of the important characteristics of the MySQLI
database software. Allows you to build templates to ease site maintenance, enables
connection content with database such as MySQLI, Build discussion forums or
web-based email programs and read and process XML, MySQLI, the most popular
Open source SQLI database management system, is developed, distributed and
supported by Oracle Corporation
The MySQLI server provides a database management system with query in and
connectivity capabilities, as well as the ability to have excellent data structure and
integration with many different platforms. It can handle large database reliability and
quickly in high demanding production environment. It invented JavaScript and
JavaScript was first used in nets cape browsers. Information from one invocation to
another of the application, or perform file manipulations on a server. The MySQLI
server also provides rich function such as its connectivity, speed, and security that
make it suitable for accessing databases.
SGML is also a Meta language for formally describing document markup system. In
fact HTML uses SGNL to define a language that describes a WWW hyper
document’s structure and inter connectivity. Following the rigors of SGML, TBL bore
HTML to the world in 1990. It does not show any compilation errors and also it will
be highly executed through the browser. It is the set of markup symbols or codes
inserted in a file intended for display on World Wide Web browser page.
JAVE SCRIPT
Core database contains a core set of objects, such as Arrays, Date and Month, and a
core set of language elements such as operators, control structures and statements.
Core JavaScript can be extended for a variety of purpose by supplementing it with
additional objects.
Through JavaScript’s live connect functionality, let java and JavaScript code
communicates with each other. Since then, many of sites have it to be easy to use but
something quite limiting. These limiting factors being addressed but the World Wide
Web Consortium at MIT. But HTML had to start somewhere, and its success argues
that it did not start out too badly.
Form JavaScript, initiate java objects and access JavaScript objects, properties and
methods. Netscape invented JavaScript was first used in Netscape browser. Server
will need to write PHP code to perform such activities as connecting to the database
server, querying the database and other database related functions.
PHP is probably not the best language to create a desktop application with a graphical
user interface, but they know PHP very well, and would like to use some advanced
PHP feature’s in your client-side applications you can also use PHP to write such
programs.
It handles the communication between your application and the database server,
possibly using other intermediate libraries where necessary. This software is known
generically as a connector, as it allows your application to connect to a database
server.
What is Bootstrap
• Bootstrap is the most popular HTML, CSS and JavaScript framework for developing
a responsive and mobile friendly website.
• It includes HTML and CSS based design templates for typography, forms, buttons,
tables, navigation, modals, image carousels and many others.
• It is very easy to use. Anybody having basic knowledge of HTML and CSS can use
Bootstrap.
Using this portal is fairly simple and intuitive. A user familiar with basic
browser navigation skills should be able to understand all fuctionality provided by the
portal.
HARDWARE CONSTRAINTS:-
The portal should work on most home desktop and laptop computers.
SOFTWARE CONSTRAINTS:-
The portal is designed to run on google Chrome, Mozilla Firefox and Internet
Explorer 10
5.1 SNAPSHOTS
HOMEPAGE:-
ADMIN PANEL:
CHAPTER 6
White box testing is a test case design method that uses the control structure of the
procedural design to derive test cases. After performing white box testing it was
identified that:
• The Leave Recording System (LRS) software guarantees that all independent paths
within the modules have been excercised at least once.
• It has been exercised all logical decisions their true and false sides.
• It was tested to execute all loops at their boundaries and within their Operational
bounds
• It was tested for the internal data structures to ensure their validity.
• Condition Test
• Loop Testing
Black box testing methods focuses on the fuctional requirements of the software by
conducting black box testingusing the method equivalences.
The tolerance of the system for the data rates and data volumes.
A strategy for software testing must accommodate low-level tests that are
necessary to verify that a small source code segment has been correctly implemented
as well as high level against customer requirements.
Unit tesitng focuses verification on the smaller unit of software design such as
form. This is known as form testing. The testing is done individually on each form.
Using the unit test plan, prepared in design phase of the system developement as a
guide, important control paths are tested to uncover within the boundary of the
module. In this step, the module is working satisfactorily as a regard to the expected
output from the module.
Testing the entire system as a whole and checking for its correctness is system
testing. The system is listed for dispensaries between the system and its original
objectives. This project was effective and efficient.
CHAPTER 7
7.1 CONCLUSION:
CHAPTER 8
8.1 CODING
<?php
/*
Copyrights: Friendzion Technologies
Author: PressiAstra
Date:14-10-2019
*/
include('includes/config.php');
if(isset($_POST['deptname'])){
$className = $_POST['deptname'];
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
if(isset($_POST['nameofstudent'])){
$studentName = $_POST['nameofstudent'];
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
foreach($results as $result)
$StudentName = $result->StudentName ;
$studentDOB = $result->DOB;
$studentGender= $result->Gender;
$studentQuota = $result->quota;
$studentbalance = $result->balance;
echo
$StudentName."|".$studentDOB."|".$studentGender."|".$studentQuota."|".$studentbal
ance;
}
// echo '<option value="game">game</option>';
?>
2. Feescollect
<?php
/*
Author: PressiAstra
Date:14-10-2019
*/
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
header("Location: index.php");
else{
if(isset($_POST['submit']))
{
$RollId=$_POST['RollId'];
$updatedfees=$_POST['payfees'];
$query = $dbh->prepare($sql_1);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
foreach($results as $result)
$balancefees = $result->balance;
$paidfees = $result->fees_paid;
$query = $dbh->prepare($sql);
$query->bindParam(':balance',$balance,PDO::PARAM_STR);
$query->bindParam(':paid',$paidfess,PDO::PARAM_STR);
$query->bindParam(':RollId',$RollId,PDO::PARAM_STR);
$query->execute();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="js/modernizr/modernizr.min.js"></script>
<script src="js/ajax.js"></script>
<script>
$(document).ready(function() {
$(".deptname").change(function() {
//alert("click");
// alert(deptname);
$.ajax({
url: "ajax-fz.php",
method: "post",
data: {deptname:deptname},
success: function(data){
// alert(data);
$(".nameofstudent").html(data);
/* var y1=data; */
/* document.writeln(y1);*/
})
});
});
$(document).ready(function() {
$(".nameofstudent").change(function() {
//alert("click");
//alert(nameofstudent);
$.ajax({
url: "ajax-fz.php",
method: "post",
data: {nameofstudent:nameofstudent},
success: function(data){
// alert(data);
if(fees == 0){
$("._fees").html(feesClear);
}else{
$("._fees").html(outHtml);
$("._name").val(name);
$("._DOB").val(DOB);
$("._Gender").val(Gender);
$("._Quota").val(Quota);
//$("._fees").val(fees);
/* var y1=data; */
/* document.writeln(y1);*/
})
});
});
</script>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">
<?php include('includes/topbar.php');?>
<div class="content-wrapper">
<div class="content-container">
<div class="main-page">
<div class="container-fluid">
<div class="col-md-6">
</div>
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php">
</ul></div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>Fees Payment</h5>
</div>
</div>
<div class="panel-body">
<?php if($msg){?>
</div><?php }
else if($error){?>
</div>
<?php } ?>
<form class="form-horizontal"
action="feescollect-fz.php" method="post">
<div class="form-group">
<option value="1">MCA</option>
<option value="2">MBA</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-10">
</select> </div></div>
<div class="form-group">
</div>
</div>
<div class="form-group">
<label for="default" class="col-sm-2 control-label">student DOB</label>
</div>
</div>
<div class="form-group">
</div>
</div><div class="form-group">
</div>
</div>
<div class="_fees">
</div>
<div class="form-group">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/select2/select2.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$(".js-states").select2();
$(".js-states-limit").select2({
maximumSelectionLength: 2
});
$(".js-states-hide").select2({
minimumResultsForSearch: Infinity
});
});
</script>
</body>
</html>
<?php } ?>
3. FEES MANAGE:-
<?php
/*
Author: PressiAstra
Date:14-10-2019
*/
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
header("Location: index.php");
else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">
<?php include('includes/topbar.php');?>
<div class="content-wrapper">
<div class="content-container">
<?php include('includes/leftbar.php');?>
<div class="main-page">
<div class="container-fluid">
<div class="col-md-6">
</div>
</div>
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i class="fa
fa-home"></i> Home</a></li>
<li> Students</li>
</ul>
</div>
</div>
</div>
<section class="section">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
</div>
</div>
<?php if($msg){?>
else if($error){?>
</div>
<?php } ?>
<thead>
<tr>
<th>#</th>
<th>Student Name</th>
<th>Regno</th> <th>Class</th>
<th>quota</th>
<th>total fees</th>
</tr>
</thead>
<tbody>
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
foreach($results as $result)
{ ?>
<tr>
<td>
</td>
<td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();
$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );
$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>