Online Drug Store Management System using PHP

By: Prof. Fazal Rehman Shamil

Code and documentation of Online Drug Store Management System using PHP

 

Project Domain / Category

 

Web Application

 

Abstract/Introduction

 

It is a web based Drug/medical store management system for XYZ Company. The aim of this system is to manage the purchase and sales of medicines in the chain of drug/medical stores, all over the country. Details regarding the different users involved in the system and the functions which they can perform are given below

 

 

 

Functional Requirements:

 

Following are the users of this system. Each user has to log-in first, to use the system.

 

  • Salesman

 

  • Store Manager

 

  • City Manager

 

  • Country Manager

 

  • Chief Executive Officer

 

  • Admin

 

Responsibilities and functions of each user are given below:

 

  1. Salesman:

 

There can be many salesmen in a medical store, however one particular salesman can only belong to one particular medical store. Salesmen are responsible to enter the record of all the sales and returns in the medical store. The following information can be accessed and entered in the system by a salesman:

 

  1. Medicine Name (In case of sales and return)
  2. Medicine ID (In case of sales and return)
  3. Medicine Price (In case of sales and return)

 

  1. Total Price/Amount (In case of sales and return)

 

  1. Store Manager

 

There can only be one store manager in a store. More than one salesmen can work under the supervision of one store manager. The following information can be accessed and entered in the system by a Store manager:

 

  1. Names of Salesmen
  2. NIC no’s of Salesmen

 

  1. Total sales of the store in a day/week/month/year
  2. Total Returns of the store in a day/ week/month/year

 

  1. City Manager

 

One city manager will supervise all the stores in one particular city. This user can access/enter/modify the following information:

 

  1. Names of Store Manager
  2. NIC no’s of Store Manager

 

  1. Total sales from the city in a day/week/month/year
  2. Total Returns in the city in a day/ week/month/year

 

 

 

  1. Country Manager:

 

There is only one country manager of the company. This user can access/modify the following information:

 

  1. Names of City Manager

 

  1. NIC no’s of City Manager
  2. Total sales from the country in a day/week/month/year
  3. Total Returns from the country in a day/ week/month/year

 

  1. Chief Executive Officer (CEO)

There is only one CEO of the company. This user can access/modify the following information:

  1. Names of Country Manager
  2. NIC no of Country Manager

 

  1. Total sales from the city/country in a day/week/month/year
  2. Total Returns from the city/country in a day/ week/month/year
  3. Profit from the city/country in a day/ week/month/year

 

  1. Admin

 

Admin is the power user and have the rights of all other users. Moreover He can add/remove any CEO as well as any user in the system. He is also responsible to add the records of medicines in the system including price of purchase and price of sales. Profit will be calculated on runtime.

 

 

 

Proposed Tools: PHP, MySQL

Class diagram, activity diagram, data flow diagram, sequence diagram, use case diagram, testing test cases, SRS, Design, Test phase, and final deliverable., and others are needed to draw for this project.

Prof. Fazal Rehman Shamil