Online Drug Store Management System using PHP

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

The responsibilities and functions of each user are given below:

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)
  4. Total Price/Amount (In case of sales and return)

Store Manager

There can only be one store manager in a store. More than one salesman 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
  3. Total sales of the store in a day/week/month/year
  4. Total Returns of the store in a day/ week/month/year

 

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
  3. Total sales from the city in a day/week/month/year
  4. Total Returns in the city in a day/ week/month/year

Country Manager:

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

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

 

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
  3. Total sales from the city/country in a day/week/month/year
  4. Total Returns from the city/country in a day/ week/month/year
  5. Profit from the city/country in a day/ week/month/year

Admin

Admin is the power user and has 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 the 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.

You can use any of the following PHP Frameworks For developing this Web Development Project
1. Laravel
2. Phalcon
3. Fat-Free Framework
4. CodeIgniter
5. Laminas Project
6. CakePHP
7. FuelPHP
8. Slim
9. PHPixie
10. Symfony
11. Yii