Documente Academic
Documente Profesional
Documente Cultură
INTRODUCTION:
An interactive application for managing both stock and billing which helps in
maintaining the records of the medicine , the users and store details and also reduce the
word of searching the medicine . The main aim of this application is to apply technology
is supporting the pharmacist and the store to reduce the human effort on searching and
automation of the billing.
The project has been developed on the basis of “Stocking managing” and its “billing
process” being presently used in the medical stores for storing and retrieving the
available information in the store.
The user has to get his username and password from the admin by providing the name,
address, phone number, id proof. And can get the access to the application. Without the
username and password he cannot get access to the application.
In this application we have four types of users who have their specified work to perform
and while logging into the applications he should know his destination to log in. and in
this we can manage all the stocks of the store and can manage it.
In this admin and the manager are the two who have almost all the permissions to work
with.
OBJECTIVE:
The main objective of the application is to automate the existing system of
manually maintained records of the counter sales, purchases, recorder levels, supplier and
customer monetary positions and other related transactions made by the seller.
This application can be used by any other store to automate the process of
manually maintaining the records related to the subject of maintaining the stock and
liquid flows.
1. Administrator.
2. Manager.
3. Pharmacist.
4. Cashier.
1. Administrator is the one who controls the complete system. He can manage all
the functionalities of the system. Administrator validates user information and
creates them. And he looks over the stock in the database.
2. Manager is the one of the user who can view and manage the stocks in the
database and can view all the users of the application. He can even view the
prescription generated by the cashier.
3. Pharmacist is also a user of the application who adds the stock to the database
and manager the stocks in the database. And he generates the prescription
with a unique invoice no which is used by the cashier for the payment process.
4. Cashier is also a user this application who takes the invoice no and generate
the bill or invoice of the medicine and takes the money from the customer by
diff means like cash, o[ credit card etc.
PROBLEM DEFINITION:
The transaction related to purchase, sale and returns are maintained manually at present.
These are not automated and an application is required to relate all of them relatively and
logically so that the current system can be replaced and accepted without major changes
and problems.
The application should provide quick access to the records maintained and must
reveal the important reviews about the business so that the growth can be easily
compared and should provide with the various reports showing the related details so that
the important decisions could be taken easily.
ABOUT PHP
PHP is a powerful server-side scripting language designed for creating dynamic and
interactive websites.
PHP is a programming language that can do all sorts of things evaluate from data sent
from a browser, build custom web content to serve the browser, talk to a database, and
even send and receive cookies. Php is the widely-used, free, and efficient alternative to
competitions such as Microsoft’s ASP.
PHP is perfectly suited for web development and can be embedded directly into the
HTML code.it can be developed on most web servers and on almost every operating
system and platform free of charge. php is installed on more than 20 million websites and
1 million web servers.
Php syntax is very similar to perl, C. Php is often used together with Apache(web server)
on various operating systems. It also supports ISAPI and can be used with the
Microsoft’s IIS on windows.
The PHP code is interpreted by a web server with a PHP processor module, which
generates the resulting web page: PHP commands can be embedded directly into an
HTML source document rather than calling an external file to process data. It has also
evolved to include a command-line interface capability and can be use in standalone
graphical applications.
ADVANTAGES OF PHP:
PHP is easy to understand and learn, particularly for those who have a
background in HTML or JavaScript.
PHP uses very limited systems resources and will not interface unduly with the
running of other processed.
PHP uses a modular system of extensions that unable into interact with other
tools such as XML and encrypting scripts.
PHP uses can customize the language by writing their own extensions and
executable scripts
PHP is compatible with the vast majority of servers(Apachc,IIS,etc.)and is
capable of running on most platforms (UNIX,windows,etc.)
PHP is open-source and is freely available to download and manipulate according
to individual requirements .
SERVER SUPPORT:-
It generally runs on a web server like Apache.I also supports ISAPI and microsoft’s IIS
on windows.
DATABASE SUPPORT:-
Php supports many databases like MySQL, Infomix, Oracle, Syasc, Solid, PostgreSQL,
Generic, ODBC etc. The most popular used in MySQL.
WHY PHP?
PHP files can contain text, HTML, CSS, JavaScript and PHP code.
PHP code is executed on the server, and the result is returned to the browser as
plain HTML.
PHP files have extension “.php”.
ABOUT MYSQL:
MySQL is the world’s most popular open source database, enable the cost
effective delivery of reliable, high performance and scalable web based and
embedded database application.
On top of that, it is very commonly used in conjunction with php scripts to create
powerful and dynamic server side applications.
MySQL is easy to use, yet extremely powerful, secure and scalable. And because
of its small size and speed, it is the ideal database solutions for wedsites.
ARCHITECTURE OF MYSQL:
MySQL runs over TCP/IP ,making it highly accessible and capable of integrating
into a web environment. Clients across multiple platforms can access my sql
databases through the use of scripting language such as php or perl or c.
Benefits:
It’s easy to use.
It is secured.
It is inexpensive.
It is fast.
It is scalable.
It manages memory very well.
It supports novell cluster services.
It runs on many operating systems.
It supports several development interfaces.
COMMANDS:
INSERT INTO: the INSERT INTO statement is used to add new records to
database table.
WHERE: the WHERE CLAUSE is used to extract only those records that fulfill
specified criteria.
DELETE: the DELETE FROM table is used to delete records from a database
table.
The apache web server provides a full range of web server features, including
CGI,SSL,and Virtual domains. Apache also supports plug-in modules for
extensibility. Apache is free software, distributed by Apache software foundation
that promotes various free and open source advanced web technologies.
SYSTEM ANALYSIS.
OVERALL DESCRIPTION
Software requirements are documentation that completely describes the behavior that is
required for the software, before the software is designed, built and tested.
SRS’s are typically developed during the first stages of “requirements Development”,
which is the initial product development phase in which information is gathered about
what requirements are needed. This information-gathering stage can include onsite visits,
questionnaries,surveys,interviews and perhaps a return-on-investment(ROI) analysis or
needs analysis.
PRODUCT PERSPECTIVE:
This software can be used to carry our Stock and bill automation of the medicine data.
The main objective of this software is to automate an application. The invoice and stock
is hidden under a security medium under the user id and password. The application is also
protected with a password security to provide another layer of security.
USER CHARACTERISTICS:
A user is provided with two levels in this software; they manage the stock in the
application and manage the invoice.
A user should possess a minimum knowledge of the browser and using the
application.
Feasibility study :
After doing the project Pharmacy Management System, study and analyzing all
the existing or required functionalities of the system. The next task is to do the
feasibility study for the project. All projects are feasible given unlimited resource
and infinite time.
Operational Feasibility :No doubt the proposed system is fully GUI based
that is very user friendly. A proper training has been conducted to let
know the essence of the system to the users so that they feel comfortable
with new system.
SYSTEM SPECIFICATION
HARDWARE SPECIFICATION:
processor : PENTIUM
RAM : 1GB
Monitor : LED.
Mouse : USB.
SOFTWARE SPECIFICATION:
Software : XAMPP .
Server : APACHE.
DATAFLOW DIAGRAM
A data flow diagram (DFD) is a graphical representation of the “flow” of data
through information systems. DFD’s can also be used for the visualization of data
processing (Structured design).
A DFD also known as “bubble chart” has the purpose of clarifying system
requirements and identifying major transformations. It shows the flow of data
through a system. It is a graphical tool because it presents a picture. The DFD
may be partitioned into levels that represent increasing information flow and
functional detail. Four simple notations are used to complete a DFD.
REGISTRATION DFD:
REGISTRATION
DB
Successful
LOGIN PAGE
LOGI
LOGIN DFD:
LOGIN DB
Successful
MAIN PAGE
LOGI
USECASE DIAGRAM:
login
View
users
Authorize
ADMIN
View
orders
logout
register
login
Enter
USERS details
View
orders
CODING:
<?php
session_start();
include_once('connect_db.php');
if(isset($_SESSION['username'])){
$id=$_SESSION['admin_id'];
$user=$_SESSION['username'];
}else{
header("location:http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])
."/index.php");
exit();
?>
<!DOCTYPE html>
<html>
<head>
<style>
#left_column{
height: 470px;
</style>
</head>
<body>
<div id="content">
<div id="header">
<div id="left_column">
<div id="button">
<ul>
<li><a href="admin.php">Dashboard</a></li>
<li><a href="admin_pharmacist.php">Pharmacist</a></li>
<li><a href="admin_manager.php">Manager</a></li>
<li><a href="admin_cashier.php">Cashier</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div>
</div>
<div id="main">
<div class="grid_7">
<span>Dashboard</span>
</a>
<span>Pharmacist</span>
</a>
<span>Manager</span>
</a>
<span>Cashier</span>
</a>
</div>
</div>
</div>
</body>
</html>
DATABASE DESIGN:
ADMIN:
Manager:
Fields Data type Width
Manager id tinyint 5
Staff id Varchar 10
Phone Varchar 12
Email Varchar 20
Username Varchar 10
Password Varchar 10
Date datetime
PHARMACIST:
Fields Data type Width
Pharmacist id tinyint 5
Staff id Varchar 10
Phone Varchar 12
Email Varchar 20
Username Varchar 10
Password Varchar 10
Date datetime
CASHIER:
Fields Data type Width
Cashier id tinyint 5
Staff id Varchar 10
Phone Varchar 12
Email Varchar 20
Username Varchar 10
Password Varchar 10
Date datetime
OUTPUT SCREENS
The home page for the project pharmacy management system is as below:-
The authorized pharmacist can perform the operations that are shown in the below screen.
He can able to see the prescriptions. The below output screen shows that how the
pharmacist can login to the system.
The operations performed by the pharmacist are: prescription and stock managing.
The below screen diplays the prescription that are checked by the pharmacist.
The below screen shows that how the pharmacist can create the user prescription.
The pharmacist can also manage the stock that which stock is available and which is not
available.
By entering the medicine details the pharmacist can manage the stock.
The can have the authority to look after the system that are shown in the below screen.
The manager is only authorized person to check the system, who can see who the
pharmacists, cashiers and managers are.
The cashier has to generate the invoice for the customers that who purchased the
medicine.
CONCLUSION
The project has made us aware of the immense capabilities and the various uses oh PHP,
MYSQL and Apache server both individually and combined. We have raised one step
further in terms of Designing and developing a combined management system of both
stock managing and billing automation which can opt for any of the related stores. It has
been opted to provide updated notification to the employee and the owner of the store.
Here we conclude that the Pharmacy Management System is developed to satisfy the
complete needs of medical store for their necessary usage.
ADVANTAGES
The main advantage of this project is that it reduces the human efforts and it
makes easy to check the stocks and manage invoices.
The system make easy to find out the stock that are available or not.
FUTURE SCOPE:
The scope of pharmacy brings a huge day by day management of patients by providing
the efficient drug delivery system. The need for pharmacy becomes more evident in the
provision of essential drugs. In the coming decades,pharmacists are expected to become
more integral with in the health care system. Rather than simply dispensing
medication,pharmacists are increasingly expected to be compensated for their patient care
skills. They also provide clinical services to their patients. These include all medications
analysis like precsrption, non-prescription and herbals being taken by the patient.
Pharmacy education plays an important role in guiding pharmacists to move in a right
direction and dosage of medicine. Use is highly recommended by them for the patients.
REFERENCE
1. Pharmacy management system report by chandresh raj
www.academia.edu
2. www.youtube.com.
3. www.w3school.com.