Fees Management System
Fees Management System
ON FEES MANAGEMENT
SYSTEM
Submitted in partial fulfilment of the requirements for the Post
Graduation Diploma In Computer Applications
By:-
Pratham (2438429)
Shubhjot Singh (2438431)
PANJAB UNIVERSITY
CHANDIGARH
SESSION 2024-2025
1
ABSTRACT
2
TABLE OF CONTENTS
1. INTRODUCTION
1.1 MOTIVATION
1.2 WHY FEES MANAGEMENT
1.3 CHALANGES IN FEES MANAGEMENT
1.4 PROBLEM STATEMENT
1.5 PROBLEM OUTLINE
2. REQUIREMENT ANALYSIS
2.1 SYSTEM ANALYSIS 2.2 IDENTIFICATION OF NEED 2.3
SYSTEM REQUIREMENT 2.4 SOFTWARE TOOLS USED
3. PROJECT DESIGNING
3.1 DESIGN OBJECTIVES 3.2 STAGES 3.3 DATA FLOW
DIAGRAMS 3.4 E-R DIAGRAMS
4. STSYEM TESTING
4.1 UNIT TESTING 4.2
INTEGRATION TESTING
3
7. CONCLUSION
8. REFRENCES
4
1. INTRODUCTON
1.1 MOTIVATION:
5
1.3 Challenges in FEES MANAGEMENT:
6
1.4 PROBLEM STATEMENT
The various problem faced by them are:Lot
Requirement
At first we collected all the re1uirements from the
college and account staff. Also talked to the lectures
concerned with it. We discussed about the problems
and related topics to them.
Analysis
After collecting the data and information, we discussed
about the real needs of Fees Management. We analyzed
the problem. And according to the needs we started
framing of our project.
7
Designing
After analyzing the needs we decided no of forms which
we need and required forms suitable for our project.
After this we started the designing of forms i.e. about
their lookup or appearance. And according to the forms
re1uired we designed our database for storing the huge
record.
Coding
8
2.1 SYSTEM ANALYSIS
System Analysis refers into the process of examining a
situation with the intent of improving it through better
procedures and methods. System design is the process of
planning a new system to either replace to or
compliment an existing system. But before any planning
is done, the old system must be thoroughly understood
and the requirements determined. System analysis is
therefore the process of gathering and interpreting facts,
diagnosing problems and using the information to
recomment improvements in the system. In other words
system analysis means a detailed explanation or
description.
9
Now the basic question that arises in identification of
need is "Why this system?"
10
Storage Capacity: 4Gb (Recommended)
IMPLEMENTATION REQUIREMNTS
In implementing whole system it uses css in front end
with php as server side scripting language which will be
used for database connectivity and the backend i.e. the
database part is developed using MySQL.
DELIVERY REQUIREMENTS
The whole system is expected to be delivered in six
months of time with a weekly evaluation by the project
guide.
11
SOFTWARE TOOLS USED
The whole Project is divided in two parts the front end
and the back end.
Front end
The front end is designed using of PHP, CSS, JavaScript
12
CSS can also allow the same markup page to be
presented in different styles for different rendering
methods, such as on-screen, in print, by voice (when
read out by a speech-based browser or screen reader)
and on Braille-based, tactile devices. It can also be used
to allow the web page to display differently depending
on the screen size or device on which it is being viewed.
While the author of a document typically links that
document to a CSS file, readers can use a different style
sheet, perhaps one on their own computer, to override
the one the author has specified.
13
It is also being used in server-side programming,
game development and the creation of desktop and
mobile applications. JavaScript is a prototype-based
scripting language with dynamic typing and has firstclass
functions. Its syntax was influenced by C.
14
PHP - PHP is a server-side scripting language designed
for web development but also used as a generalpurpose
programming language. PHP is now installed on more
than 244 million websites and 2.1 million webservers.
Originally created by Rasmus Lerdorf in 1995, the
reference implementation of PHP is now produced by
The PHP Group.
15
management system (RDBMS). It is named after
cofounder Michael Widenius daughter, My. The SQL
phrase stands for Structured Query Language. The
MySQL development project has made its source code
available under the terms of the GNU General Public
License, as well as under a variety of proprietary
agreements.
16
PROJECT DESIGNING
DESIGN OBJECTIVES
The goal of the design phase is to transform the
requirements specification into a structure that is
suitable for implementation in some programming
language. In technical terms, through the design phase
we derive the software architecture from the SRS
document. Currently, two distinct design approaches
are being followed in different industries: traditional
design approach and objectoriented design approach.
The primary objective of the design, of course is to
deliver the requirements as specified in the feasibility
report. In general, the following design objectives should
be kept in mind:
Procedures
Form design
Designing starts with identification of alternate technical
solutions, selecting the most suitable and detailing it out.
18
Specific hardware and software selections are done in
this phase. The output of the detailed design is used to
program the system and test it out.
LEVEL O DFD:
19
In this table we have the entries of the persons who
have authorisation for
alteration in the website.
20
BASIC REGISTRATIONS:
21
ER Diagram
An Entity Relationship (ER) Diagram is a type of
flowchart that illustrates how “entities” such as people,
objects or concepts relate to each other within a system.
ER Diagrams are most often used to design or debug
relational databases in the fields of software
engineering, business information systems, education
and research.
22
Also known as ERDs or ER Models, they use a
defined set of symbols such as rectangles, diamonds,
ovals and connecting lines to depict the
interconnectedness of entities, relationships and their
attributes. They mirror grammatical structure, with
entities as nouns and relationships as verbs.
ER Diagram Notation
23
Cardinality and ordinality
Cardinality refers to the maximum number of times an
instance in one entity can relate to instances of another
entity. Ordinality, on the other hand, is the minimum
number of times an instance in one entity can be
associated with an instance in the related
entity.Cardinality and ordinality are shown by the styling
of a line and its endpoints, according to the chosen
notation style.
24
Fee Management Module
SYSTEM TESTING
The aim of the system testing process was to determine
all defects in our project. The program was subjected to
a set of test inputs and various observations were made
and based on these observations it will be decided
whether the program behaves as expected or not. Our
Project went through two levels of testing
25
1.Unit testing
2.integration testing
Unit Testing
Unit testing is undertaken when a module has been
created and successfully reviewed. In order to test a
single module we need to provide a complete
environment besides the module we would require.
26
data will be added to student database and if he clicks
delete button the student data will be deleted.
INTEGRATION TESTING
OUTPUT SCREEN
27
DASHBOARD:
28
29
30
31
CODE FOR LOGIN PAGE:
<?php
include("php/dbconnect.php");
$error = '';
if(isset($_POST['login']))
$username = mysqli_real_escape_string($conn,trim($_POST['username']));
$password = mysqli_real_escape_string($conn,$_POST['password']);
if($username=='' || $password=='')
$q = $conn->query($sql);
if($q->num_rows==1)
$res = $q->fetch_assoc();
$_SESSION['rainbow_username']=$res['username'];
$_SESSION['rainbow_uid']=$res['id'];
$_SESSION['rainbow_name']=$res['name'];
}else
32
{
?>
<!DOCTYPE html>
<html xmlns="">
<head>
<style>
.myhead{
margin-top:0px;
margin-bottom:0px;
text-align:center;
</style>
33
</head>
<body >
<div class="container">
<hr />
<?php
if($error!='')
?>
</div>
34
<div class="form-group input-group">
</div>
<div class="form-group">
<span class="pull-right">
</span>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
35
CODE FOR FEES MANAGEMENT SYSTEM:
<?php
include("php/dbconnect.php");
include("php/checklogin.php");
$errormsg= '';
if(isset($_POST['save']))
$paid = mysqli_real_escape_string($conn,$_POST['paid']);
$submitdate = mysqli_real_escape_string($conn,$_POST['submitdate']);
$transcation_remark = mysqli_real_escape_string($conn,
$_POST['transcation_remark']);
$sid = mysqli_real_escape_string($conn,$_POST['sid']);
$sq = $conn->query($sql);
$sr = $sq->fetch_assoc();
$totalfee = $sr['fees'];
if($sr['balance']>0)
$conn->query($sql);
$tpq = $conn->query($sql);
$tpr = $tpq->fetch_assoc();
$totalpaid = $tpr['totalpaid'];
36
$conn->query($sql);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
37
<!-- GOOGLE FONTS-->
<script src="js/jquery-1.10.2.js"></script>
<script type='text/javascript'
src='js/jquery/jquery-ui-1.10.1.custom.min.js'></script>
<script src="js/dataTable/jquery.dataTables.min.js"></script>
</head>
<?php
include("php/header.php");
?>
<div id="page-wrapper">
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">Fees
</h1>
38
</div>
</div>
<?php
echo $errormsg;
?>
<div class="col-md-12">
<legend class="scheduler-border">Search:</legend>
<div class="form-group">
<label for="email">Name</label>
</div>
<div class="form-group">
</div>
<div class="form-group">
39
<option value="" >Select Branch</option>
<?php
$q = $conn->query($sql);
while($r = $q->fetch_assoc())
?>
</select>
</div>
</form>
</fieldset>
</div>
</div>
<script type="text/javascript">
$(document).ready( function() {
/*
$('#doj').datepicker( {
changeMonth: true,
changeYear: true,
40
showButtonPanel: false,
dateFormat: 'mm/yy',
});
*/
/******************/
$("#doj").datepicker({
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'mm/yy',
});
$("#doj").focus(function () {
$(".ui-datepicker-calendar").hide();
$("#ui-datepicker-div").position({
41
of: $(this)
});
});
/*****************/
$('#student').autocomplete({
$.ajax({
url : 'ajx.php',
dataType: "json",
data: {
name_startsWith: request.term,
type: 'studentname'
},
return {
label: item,
value: item
}));
});
42
}
/*,
autoFocus: true,
minLength: 0,
//alert(abc[0]);
$("#student").val(abc[0]);
return false;
},
*/
});
$('#find').click(function () {
mydatatable();
});
$('#clear').click(function () {
$('#searchform')[0].reset();
mydatatable();
});
function mydatatable()
43
{
$("#tSortable22").dataTable({
'sPaginationType' : 'full_numbers',
"bLengthChange": false,
"bFilter": false,
"bInfo": false,
'bProcessing' : true,
'bServerSide': true,
'sAjaxSource': "datatable.php?"+$('#searchform').serialize()
+"&type=feesearch",
'aoColumnDefs': [{
'bSortable': false,
}]
});
////////////////////////////
$("#tSortable22").dataTable({
'sPaginationType' : 'full_numbers',
"bLengthChange": false,
"bFilter": false,
44
"bInfo": false,
'bProcessing' : true,
'bServerSide': true,
'sAjaxSource': "datatable.php?type=feesearch",
'aoColumnDefs': [{
'bSortable': false,
}]
});
///////////////////////////
});
function GetFeeForm(sid)
$.ajax({
type: 'post',
url: 'getfeeform.php',
data: {student:sid,req:'1'},
$('#formcontent').html(data);
$("#myModal").modal({backdrop: "static"});
});
45
}
</script>
<style>
#doj .ui-datepicker-calendar
display:none;
</style>
<div class="panel-heading">
Manage Fees
</div>
<div class="panel-body">
<thead>
<tr>
<th>Name/Contact</th>
<th>Fees</th>
<th>Balance</th>
46
<th>Branch</th>
<th>DOJ</th>
<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<!-------->
<div class="modal-content">
<div class="modal-header">
</div>
</div>
<div class="modal-footer">
47
</div>
</div>
</div>
</div>
<!--------->
</div>
</div>
</div>
<div id="footer-sec">
</div>
<script src="js/bootstrap.js"></script>
<script src="js/jquery.metisMenu.js"></script>
<script src="js/custom1.js"></script>
48
</body>
</html>
CONCLUSION:
49
providing the programmers with a tool to reduce their
programming time substantially and to minimize their
programming efforts.
REFERENCES:
WWW.GOOGLE.COM
50
51
52