Skip to content

deepshig/Financial-Grant-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Financial-Grant-Management-System

This is a term project from my undergraduation. It does not exhibit my current programming skills

Objective

The purpose of this software is to manage the records of financial grants of Institute people. It facilitats to request grants as well as settle them, thus allowing research professionals to spend more time on research and discovery and less on administration. Using software for this purpose will avoid any duplicity or manipulation of records and thus stop corruption. It will track pre and post-award information at institution with a significant number of proposals, grants or research projects. It will provide privacy and reliability.

Project Description

The software system is designed for 2 king of users.

  • Admin
  • Institute People (Faculty, PhD and MTech.)

Admin is a super user who can modify (update) all database. He can grant permission to other users if they want to access other user’s information. He verifies registration of new users. Basically all the Institute people will request Admin for the grant, and from there the Admin will handle the financial grant. He can cancel the grant if he found it inappropriate or its not feasible to provide.

Institute poeple are the users that can log into their account using their unique institute email id as username and their own password. These users can access (read) their own database only. They can enter a new grant request but can’t make changes in older one. If they want to make change, they will have to cancel the previous grant and request for a new one. Limits on request will be there based on the roles.

More details can be found here.

Techincal Dependencies:

Backend: PHP
Database: MYSQL
Frontend: Bootstrap, HTML, CSS
Operating system: Linux
Local server : Xampp



Build Setup for Linux

To run this project you will be needing localhost, Install Xampp, Wamp or any other local server on your machine. For Xampp installation you can refer to this link:
http://ubuntuportal.com/2013/12/how-to-install-xampp-1-8-3-for-linux-in-ubuntu-desktop.html

Once you are done with Xampp installation check it once by running localhost/index.php or localhost/phpmyadmin.

Also, an additional library Sweet Alert will be required, which can be installed through the following link: http://t4t5.github.io/sweetalert/



Step-1: Download the project file from github and extract the zip file, move the Financial-Grant-Management-System folder to your system's /opt/lamp/htdocs folder and rename it as SE.


Step-2: In Xampp phpmyadmin create the database FinancialGrantManagementSystem, and import the database file from SE/FinancialGrantManagementSystem.sql This will give you all the databases tables which we used for the project under FinancialGrantManagementSystem database.


Step-3 : You will need to modify php.ini file for the functioning of send notification and upload bills options. You will need root access for this. Firstly, change your working directory to /opt/lampp/etc. Now open php.ini in root mode.

A) In the File Uploads section of php.ini, configure as follows:
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads=On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
;upload_tmp_dir =
upload_tmp_dir="/opt/lampp/htdocs/SE/testupload"
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize=128M

B) In [mail function], configure as follows:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP=localhost
; http://php.net/smtp-port
smtp_port=25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = [email protected]

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail -t -i

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header=On

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log =


Step-4: Check include/config.php file once , if all your configuration matches with this. Change password if you gave any password to your root user.


Step-5: After all this setup done, run http://localhost/SE/include/Login.php.