Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 40

Petrol Pump Management System

Chapter 1
Preliminary Investigation

1
Petrol Pump Management System

Organizational Overview

Organizational Chart

PETROL
PUMP
MANAGEMENT
SYSTEM

Employee

Petrol Pump Customer

2
Petrol Pump Management System

Description of System

In Petrol pump management System use to maintain their sales detail,

employee detail in files and folders. They use to keep the record of petrol and

diesel sold, inventry, Customers, etc in a register. A daily register is maintained

to keep track of sales.

Preparing report is very time consuming and tedious task. For searching of

single record, whole register is to be searched which is very time consuming task.

3
Petrol Pump Management System

Limitations Of Present System

 As mentioned above most of details are maintained manually. Due to this the
data retrieved is time consuming. Due to human calculation errors occur.

 Even when the data is maintained on spreadsheet inconsistency occurs as an


order might be missed or wrongly entered or twice.

 Data are stride an excel sheet which takes lot of time and data may be
corrupted.

 As storage and exchange of data is achieved only by use of excel sheets which
lack validation capabilities, there is always risk of invalid, inaccurate or
incomplete data being fed in computer.

 Difficulty in managing multiple forms.

 Lack of security.

4
Petrol Pump Management System

Proposed System

The proposed system is computerized and has been developed using


advance language therefore it gives more facilities than present system. It
provides quick access to any data. In this system user have to enter the data only
once and then it get linked with all files. This reduces the workload of user and it
is also a time saving process.

The information about any Subscriber can be easily retrieved. The


system maintains all records easy.

5
Petrol Pump Management System

Advantages of Proposed System:

 All the information about sale, purchase, stock will be maintain properly in
this system.

 All manual calculation of sale or all the money management will be


performed by the computer automatically.

 This system will provide timely report information.

 It will produce report for sale, bill and stock information.

 The computer can hold amount of data in its storage device.

 The operation and speed of the computer is very high.

 We can calculate result and print any report within a seconds.

 Any difficulties we can solve easily.

 A database application can be stored in computer effectively.

 It is very user friendly and easy to handle.

So the computerized system is more suitable than the manual system.

6
Petrol Pump Management System

Feasibility Of Study

1. Software Specification:-

Software requirements for this system are as listed follows:

 FRONTEND : DEV C++

 BACKEND : DEV C++

 OPERATING SYSTEM : Windows XP &ABOVE

2. Hardware Specifications
Minimum hardware requirements for this System are listed below:

 Processor : Pentium-4

 RAM : 256MB.

 HARD DISK : 80GB.

 NETWORK : LAN.

7
Petrol Pump Management System

Stakeholders

Stakeholders are anyone who has an interest in the project. Project


stakeholders are individuals and organizations that are actively involved in the
project, or whose interests may be affected as a result of project execution or
project completion. They may also exert influence over the project’s objectives
and outcomes. The project management team must identify the stakeholders,
determine their requirements and expectations, and, to the extent possible, manage
their influence in relation to the requirements to ensure a successful project.

The following are examples of project stakeholders:

1. Project Developers
Project Developers is one who develops software for customer. In my
project I am the first stakeholder i.e. Project Developer.
2. Project customer
Project Customer is one who pays for the developed software. In my project
the Chairman of techno vision Automation Pvt. Ltd. is the second stakeholder i.e.
Project Customer.
3. Project user Group

Project User group are those people who use the software on daily basis for
the Project Customer. In my project employee’s of Techno vision Automation Pvt.
Ltd. are the third stakeholders i.e. Project User Group

4. Project Testers

Project Testers are those who test the software. In my project myself, my
project guide and Technical Department of TAPL are the fourth stakeholders i.e.
Project Testers.

8
Petrol Pump Management System

Chapter 2
System Analysis

9
Petrol Pump Management System

Fact Findings

Introduction

The Current System is the manual one, hence is not speedy, accurate,
efficient as well as time consuming. An essential part of the system analysis,
which enables the developer to understand & the system correctly. It is
undertaken to obtain details of the system. To understand the physical flow of
the information through the current system. Collect various information through
various fact finding techniques. Identify the procedural difficulties experienced
by the user. Study the bottlenecks find out the redundant work being performed
in the system.

Fact Finding Techniques Employed

1. Interviews
Information was obtained from the employees at the organization by
interviewing them at the location and time convention both.

2. Document Searching
An extensive study of existing document an official correspondence was
done to understand the present working status of organization.

10
Petrol Pump Management System

Use Case Diagram

Registration

Bill payment

Customer

Registration

Supply petrol or/and diesel

Bill generation

Employee

Employee management

Maintaining record

Maintaining Petrol pump

Final report generation

Manager

Make salary of employees

Payment to supplier

Owner
11
Petrol Pump Management System

ACTIVITY DIAGRAM

ENTITY-RELATIONSHIP DIAGRAM
Idle

Customer visit

Register customer

Check Petrol stock

BILL
EMPLOYEE

No
Petrol Not Available

CUSTOMER OWNER
Yes

Supply Petrol
MANAGER

Collect money

Bill generation

12
Petrol Pump Management System

Collaboration Diagram

Customer

1) Demand for petrol/Diesel 3)Petrol/diesel not available

4) Petrol/diesel available
8) Pay bill
6) Supply Petrol

7) Generate Bill

Employee 5) Check stock

4) Inform about stock 11) Check employee detail

12) Make salary

9) Check stock detail


Manager 10) Update pump
stock

13) Generate Report

Owner

13
Petrol Pump Management System

State Diagram

Login

Idle
Entering customer

Customer visit

Entering Detail
Register customer

Demanding petrol/diesel

Check Petrol stock

Checking stock

Chapter 3
Stock not available

System Design
Petrol Not Available

Stock available

Supply Petrol

Order fulfill

Collect money

Collecting money
Bill generation

Generating money

14
Petrol Pump Management System

Component Diagram

Cust_reg.vb

Bill .vb

Employee.vb

Emp_salary.vb
Petrol pump
management
system
Advance.vb

Stock.vb

Price.vb

Attendance .vb

15
Petrol Pump Management System

Package Diagram

Customer

Cust_reg.vb

Bill.vb

Petrol pump Empoyee


management
system
Employee advance.vb
.vb

Emp_Salary
Attendance .
. vb
vb

Product

stock.vb

Price.vb

16
Petrol Pump Management System

Package Diagram

Cust_reg.vb Bill.vb

Employee
.vb advance.vb
Petrol pump
management
system
Emp_Salary Attendance
. vb .vb

stock.vb Price.vb

LOCAL AREA NETWORK

HUB

Terminal Printer

17
Petrol Pump Management System

System Flow Chart

Maintain
user details
Login

Maintain
customer
Customer Detail

Maintain Bill
Bill Detail
report
Bill

Maintain Sales
sales details
Sales report

Petrol pump
Management Maintain Stock
stock
System Stock details
report

Maintain
employee
Employee details

Maintain Salary
salary
report
Salary details

Maintain Inventory
inventory
report
Inventory details

18
Petrol Pump Management System

Structure Chart

Petrol Pump
Management
System

Customer

Report
Put Salary
inform
ation Get
inform
ation

Employee
Bill Inventry
detail

Employee Attendance
detail Detail
Put Get
infor informat
mati ion Sales
on detail

Customer Product
Detail Detail
Salary
Detail

19
Petrol Pump Management System

Chapter 4
System Coding

20
Petrol Pump Management System

#include<iostream>

#include<conio.h>

#include<stdio.h>

#include<stdlib.h>

#include<windows.h>

#include<cstdlib>

#include<fstream>

using namespace std;

main()

{p:

system("cls");

fstream file,file1,file2;

int x,y;

char con,ch;

string name,nam,nop,pass;

float pfp,price,tprice,tpfp;

cout<<"\n\t\t\tMain Menu";

cout<<"\n\t1. Settings";

cout<<"\n\t2. Order Place";

cout<<"\n\t3. Check Detail";

cout<<"\n\t4. Delete Detail";

cout<<"\n\t5. Exit";

cout<<"\n\n\tEnter your choice : ";

cin>>x;

switch(x)

{case 1:

system("cls");

cout<<"\n Enter admin password : ";

21
Petrol Pump Management System

for(int i=1;i<=10;i++)

{ch=getch();

pass+=ch;

cout<<"*";}

if(pass=="hirakhizar")

{kh:

system("cls");

cout<<"\n\t1. Enter New Product";

cout<<"\n\t2. Change in Product";

cout<<"\n\n\tEnter your choice : ";

cin>>y;

if(y==1)

{system("cls");

cout<<"\n Enter Product Name : ";

cin>>name;

cout<<"\n Enter Product Price : ";

cin>>price;

file.open("D:\\petrol.txt",ios::app|ios::out);

file<<" "<<name<<" "<<price<<"\n";

file.close();

else if(y==2)

{system("cls");

cout<<"\n Enter Product Name : ";

cin>>nam;

file.open("D:\\petrol.txt",ios::in);

if(!file)

{cout<<"\n File Opening error";

22
Petrol Pump Management System

file.close();

getch();

goto kh;}

file1.open("D:\\petrol1.txt",ios::app|ios::out);

file>>name>>price;

while(!file.eof())

{if(nam!=name)

{file1<<" "<<name<<" "<<price<<"\n";}

file>>name>>price;}

file.close();

file1.close();

remove("D:\\petrol.txt");

rename("D:\\petrol1.txt","D:\\petrol.txt");

cout<<"\n Enter Product Name New : ";

cin>>name;

cout<<"\n Enter Product Price New : ";

cin>>price;

file.open("D:\\petrol.txt",ios::app|ios::out);

file<<" "<<name<<" "<<price<<"\n";

file.close();

else

{cout<<"Please select True Option";

getch();

goto kh;}

else

{cout<<"\n\n Your password is wrong!!!";

23
Petrol Pump Management System

string pass;}

getch();

goto p;

break;

case 2:

system("cls");

cout<<"\n Enter Product Name : ";

cin>>nop;

file.open("D:\\petrol.txt",ios::in);

if(!file)

{cout<<"\n File Opening error";

file.close();

getch();

goto p;}

file>>name>>price;

while(!file.eof())

{if(nop==name)

{cout<<"\n Enter Price : ";

cin>>pfp;

for(float i=0;i<=pfp;i++)

{Sleep(200);

system("cls");

cout<<"\n Your Price : "<<i;

cout<<"\n Your Letters : "<<i/price;

cout<<"\n Price per letter : "<<price;

Sleep(500);

system("cls");

24
Petrol Pump Management System

cout<<"\n\n\t\t\t Your Bill Report";

cout<<"\n\t\t\t_________________________________";

cout<<"\n\t\t\t_________________________________";

cout<<"\n\n\t\t\tPrice ----------------------- "<<pfp;

cout<<"\n\t\t\tLetters --------------------- "<<pfp/price;

cout<<"\n\t\t\tPrice per Letter ------------ "<<price;

cout<<"\n\t\t\t_________________________________";

cout<<"\n\n\t\t\t Thank you for take our services";

cout<<"\n\t\t\t_________________________________";

file2.open("D:\\det.txt",ios::app|ios::out);

file2<<" "<<nop<<" "<<pfp<<" "<<pfp/price<<"\n";

file2.close();}

file>>name>>price;}

file.close();

getch();

goto p;

break;

case 3:

system("cls");

cout<<"\n Enter Product Name : ";

cin>>nop;

file2.open("D:\\det.txt",ios::in);

if(!file2)

{cout<<"\n File Opening error";

file2.close();

getch();

goto p;}

file2>>name>>price>>pfp;

25
Petrol Pump Management System

while(!file2.eof())

{if(nop==name)

{tprice+=price;

tpfp+=pfp;}

file2>>name>>price>>pfp;

file2.close();

cout<<"\n Total Amount of Sales Product : "<<tprice;

cout<<"\n\n Total No. of Letters of Sales Product : "<<tpfp;

tprice=0;

tpfp=0;

getch();

goto p;

break;

case 4:

system("cls");

cout<<"\n Do you want do all detail delete (y,n) : ";

cin>>con;

if(con=='y')

{cout<<"\n Enter admin password : ";

for(int i=1;i<=10;i++)

{ch=getch();

pass+=ch;

cout<<"*";}

if(pass=="ngcomputer")

{remove("D:\\det.txt");

cout<<"\n\n Your file is deleted!!!";}

else

26
Petrol Pump Management System

{cout<<"\n\n Your password is wrong!!!";

string pass;}}

else

{cout<<"\n Thank you your file is saved";}

getch();

goto p;

break;

case 5:

system("cls");

cout<<"\n\n\n\n\n\t\t\t Thank you for using software";

cout<<"\n\n\n\t\t\tDesign By : Hiwaj Center PVT LTD.\n\n\n";

break;

default:

cout<<"\nPlease Select True Option";

getch();

goto p;

getch();

return 0;

27
Petrol Pump Management System

OUT PUT

1. Setting

Password :- ngcomputer

28
Petrol Pump Management System

29
Petrol Pump Management System

30
Petrol Pump Management System

31
Petrol Pump Management System

Chapter 5
System Implementation &
Uploading

32
Petrol Pump Management System

System Implementation

1. Install Turbo c++ and dev c++


2. Copy project files on the machine
3. Execute the project.

33
Petrol Pump Management System

SYSTEM CONTROLS AND STANDARDS

1. Access control:-
System gives access by valid password.

2. Input control:-
System validates every textbox. It allows textual values for fields like customer name.
It also validates some numeric data only for fields like phone no.

3. System Generated control:-


In Order details it automatically calculates total price of the product. Similarly in
Receipt details it automatically deducts the amount from the actual amount.

4. Range control:-
In Order Transaction the system checks whether quantity given by the user is not more
than the available product.

34
Petrol Pump Management System

Chapter 6
Future Enhancement

35
Petrol Pump Management System

Future Enhancement

Being a computer system, the system has good scope to be improved


further.

Future Enhancements are as listed below

 Administrator can be given more rights so that he will be able to change


order details.
.

36
Petrol Pump Management System

Conclusion

System helps to store all the data about the customer order in computer
and there is no need to do paper work.

Data is going to be preserved carefully for longer period hence proper


backup is required otherwise there is chance of losing entries or data.

37
Petrol Pump Management System

Chapter 7
References &
Bibliography

38
Petrol Pump Management System

14. Bibliography:

Following books are referred for developing this project :

1. “YASHWANT KANITKAR WITH C”


By HERBERT SCHILDT

2. “SOFTWARE ENGINEERING”, SIXTH EDITION, TATA MC GRAW HILL


By ROGER S. PRESSMAN

3. “DATABASE SYSTEM CONCEPTS”, FIFTH EDITION, TATA MC GRAW HILL


By HENRY F. KORTH

4. SYSTEM ANALYSIS AND DESIGN


By ALIAS M. AWAD

Website visited:

1. www.msdn.microsoft.com
2. www.projectcode.com
3. www.plus2net.com/sql_tutoria
4. www.W3Schools.com for CSS Tutorials

39
Petrol Pump Management System

Thank You

40

You might also like