Vchile
Vchile
by
Muhammad Edi Amin
.1.-
.,
The project report titled "Development of a Web-based Transport Management
System of a Company" submitted by Muhammad Edi Amin, Roll No: DP0731006,
Session 2007-2008 has been accepted as satisfactory in partial fulfillment of the
requirement for the Post Graduate Diploma in ICT held on 19th December, 2009.
BOARD OF EXAMINERS
It is hereby declared that this project report or any part of it has not been submitted
elsewhere for the award of any degree or diploma.
ii
Dedicated
to
My Parents and My Brother
iii
Table of Contents
Board of Examiners
Candidate's Declaration l!
Dedication III
Table of Contents IV
List of Figures IX
List of Abbreviations Xl
Acknowledgement Xl!
Abstract Xlll
Chapter 1 Introduction 1
1.1 Introduction 2
1.3 Possibility/Scopes 4
iv
2.3.5 Software Interfaces 10
2.3.6 Security Requirements 12
2.3.7 Easy to Use
12
2.4 Design
12
2.5 Coding and Model Testing
13
2.6 Integration and System Testing 13
2.7 Operational Mode
13
2.8 Modification and Maintenance 13
3.2.1 E-RDiagram 15
v
3.4.1 UML Diagram 33
4. I System Features 38
4.1.1 Home Page 38
4. 1.2 Sign Up Page 38
vi
4.1.17 Fitness Information Form 48
Chapter 5 Conclusion 51
5.1 Conclusion 52
References 53
•.
vii
List of Tables:
viii
List of Figures:
x
List of Abbreviations:
xi
Acknowledgement
First of all, I would like to thank Almighty Allah for giving me the strength and
patience for carrying out this work and to complete this project.
I would also like to thank Mr. Md. Rubaiyat Hossain Mondal, Assistant Professor,
Institute of Information and Communication Technology, Bangladesh University of
Engineering and Technology, Dhaka, Bangladesh for his valuable suggestions and
constant encouragement throughout the whole period of the work, which inspired
and guided me in each and every step of the project.
I would also like to remember the contributions and support given by my relatives
and friends for completing the project in time.
xii
Abstract
The use of different types of vehicles in organizations has drastically increased over
the years. Consequently the management of these vehicles has become more
complicated than ever. The combined or stand alone use of spreadsheets and word
software have reduced the level of complexity in dealing with the transport system.
However, these traditional tools do not provide the interlinked information in precise
and usable way. So, there is a need for a development of complete transport
management software that will overcome the limitations of using discontinued
software and paper works. In this work, a complete web-based system has been
developed to keep records and track of vehicles in any organization. The developed
scheme keeps records of vehicles and their time to time maintenance. In addition,
the software provides fuel usage information, and also enables a complete
requisition system. Data related to tax, fitness and insurance of vehicles are also
maintained in the software. Moreover, different records regarding drivers,
workshops, pump-stations can also be viewed. As a result, the tracking of vehicles
becomes easier. The scope of irregularities in the usage of vehicles cost of
maintenance and fuel consumption reduces significantly.
Thousands of industries and offices have been established in Bangladesh in the last
decade. Unfortunately these organizations are still working with the traditional paper
based system to manage the transport section. They often decline to buy high cost
sofiware from abroad. This developed software is of low cost and can be easily
adopted by Bangladeshi offices. Therefore, this web-based system can playa vital
role in removing the ongoing difficulties and irregularities in the transport
management in Bangladesh.
xiii
1
Chapter 1
Introduction
2
1. 1 Introduction
Any web-based system is defined as a system that can be accessed via web browsers
within a network [1]. Web-based systems need only to be installed on the server
placing minimal requirements on the end user workstation. This makes maintaining
and updating the system much simpler as it can be done on the server [2]. Most web
based applications are far more compatible across platforms than traditional installed
software [3]. Web browsers are available for a multitude of operating systems. For
these reasons, many of the management systems are now being developed as web-
bascd systems.
In Bangladesh many organizations have branch offices in different places over the
country. Many of them maintain their own LAN either through permanent
connections or through leased lines. They can use web-based vehicle management
software to maintain and collect information within their LANs. So, a web-based
vehicle management system should be developed that can include different issues
related to vehicles such as fitness, tax, insurance, scheduling, requisition etc.
3
1.3 Possibility/Scopcs
Some scopes of this software are given below:
I. Any particular organization which has vehicles can use this software to keep
records of vehicles and to manage vehicles.
2. An employee can have access via any browser within a network.
3. An employee will be able to know about requisition, service and
management information.
4. An employee will be able to sign in into the system after sign up.
5. After signing in an employee will be able to
• Add, view, edit and delete; vehicle, workshop, driver etc. information.
• Keep record of repair work, insurance, tax and fitness certificate
information.
8. This system will make sure that the specific time and date is free for
allocation or not.
5
Chapter 2
Feasibility
Planning
1 'i
.
1 Design
14.................................
1
Coding and
i4 ........... "l
~ model testing
~ Development
!
Operation mode
For an organization without any software it is very difficult to maintain these large
numbers of vehicle that are spread and used by different branch or site offices every
day. Some of these organizations already use desktop based software and others use
web-based software with limited functionalities. Some organizations maintain a
section for vehicle management. So, a complete low cost system will be financially
feasible. The system will reduce maintenance cost. The system will save employee's
(user) time and give proper information when he/she wants.
Users: Users are employees of the organization who will use this software. To use
this service, an employee should have the basic computer using ability. By signing
in user can see all general information and can also apply for vehicle requisition, can
update personal information etc.
Search Records
Administrators have power to search previous information from database by date, id
or name. Administrator can search and select different records related to vehicle,
workshop, insurance, tax, fitness, pump station, and driver information.
Sending to Workshop
Administrator can select specific vehicle and add the information regarding sending
of it send to specific workshop. Administrator can also keep information about
problems, repair work, expense and present conditions of a vehicle.
Print Option
Users can print their approved requisition form which contains the information about
user, vehicle, time, date, venue, etc. Administrator can print logbook of a specific
requisition for a driver which contains the information about user, vehicle, time, date
and venue. Administrator can keep hard copies of requisition record through print
option.
components [II]:
• The Data and Data Server
• The Web Application and Web Server
'. The Client Application and Client.
Intranet
Database
The Data and
(MySQL)
Data Server
Purpose: organized way. And also to help one navigate around the web
easily.
The Microsoft Internet Explorer is the software, which provides
Definition of the
a flexible and reliable browsing experience with enhanced Web
Interface:
privacy features for all users.
PHP: Personal Home Pages
Version number: 5.2.6.
Source: PHP Group.
To build web pages, this works with MySQL database and
Purpose:
Apache server.
PHP is a widely-used general-purpose scripting language that is
Definition of the
especially suited for Web development and can be embedded
Interface:
into HTML.
Apache HTTP Server
Macromcdia Drcamweaver MX
Version number: 8.
Source: Macromedia Inc.
The web development tool specified above IS helpful for
Purpose:
designing and coding the project.
Macromedia Dreamweaver is the industry-leading web
Definition of the
development tool, enabling users to efficiently design, develop
Interface:
and maintain standard based websites and applications.
MySQL: My Structured Query Language
Version number: 5.0.
Source: MySQL.
Purpose:
Required as database server.
MySQL IS the world's most popular open source database
software. With superior speed, reliability, and ease of use,
Definition of the
MySQL has become the preferred choice of corporate IT
Interface:
Managers because it eliminates the major problems associated
with downtime, maintenance, administration and support.
,JavaScript/ECMAScript
Version number: 1.6.
Source: ECMA organization.
For opening or popping up a new window, Validation of web
Purpose: form (input values to make sure that they will be accepted before
they are submitted to the server) etc.
Definition of the JavaScript IS an object-oriented scripting language used to
Interface: enable programmatic access to objects within both the client
12
Chapter 3
System Design
15
3.1 Introduetion
The software system design describes the desired software features in detail,
including database design (ER diagram), software design (UML is produced here),
screen layouts and other documents. In system design, the software's overall
structure is defined with a full data dictionary. These design elements are intended to
describe the software in detail that helps to develop the software with minimal
additional input.
.:. Entities (tables) are the elements about which one seek information. Boxes
are commonly used to represent entities .
•:. Attributes are the data one collect about the entities. Ovals are used to
represent attributes .
Figure 3.1 shows entire an E-R diagram. There are 16 entities. Some of them are
given in detail in figure 3.1; others will be given in the later figures. The description
of these entities is given bellow.
3. Fitness: The name of this entity set is fitness_info. Due lack of space, this
entity set will be displayed in figure 3.3.
4: Workshop Vehicle: The name of this entity set IS
8. Requisition: The name of this entity set is requisition_info. This entity set
will be shown in figure 3.6.
9. Driver: The name of this entity set is driver_info. Due lack of space, this
entity set will be displayed in figure 3.7.
10. Insurance vehicle: The name of this entity set is insurance_vehicle_info.
This entity set will be displayed in figure 3.8.
11. Pump Station: The name of this entity set is pump_station_info. Pump
Station entities consist of id, company name, company id, address and phone
no.
12. Pump Station Fuel: The name of this entity set is pump_stationjuel. Due
lack of space, this entity set will be displayed in figure 3.9.
17
insurancecomname
idt.:ntification
noofvchicle
idgenerate
fitness info
driver info
tax info
requisition_info
uscrpassword
userusername
designation
identification no
13. Employee: The name of this entity set is employee_info. Employee entities
consist of employee name, username, password etc.
14. Administrator: The name of this entity set is administrator. Administrator
entities consist of administrator username and password information.
15. Note: The name of this entity set is notes. Note entities consist of note I,
note2 and note3. Administrator can write down their personal note here.
16. Left List: The name of this entity set is left_list. Left List entities consist of
id, name and urI. There are twelve entities, each page left list link is taken
from corresponding entity set.
vehicle_status
battery_value
model_no
manufactured_date purchase_from
manufacturer
1
19
registration_no
c confirmeby
dcpositamount
expiredate
dcposittypc
expense
problems registration_no
Ccefercneeno ~ workordcr
milemctcr
vehicle_status
COUleDme:>
scndingdatc
workshopname
returndatc
CvehiClcid ~
rcpairworks
vehicleid
registration_no
em:> confirmcby
c dcpos;tdatc ~
tax info comment
givcndate
dcpositamount
deposittype
certificateno insurancccomnamc
registration_no
msurance vehicle info
insurance_type
given_date
d
21
detail cancelled
bloodgroup
idcntificationno
registration_flO
idcntificationno
prefuelmcter
vehicleid
name
fuelamount
moncyamount
~confirmedbY~
*Vehicle ld will be generated by Vehicle Type, Purchase year and a four digits auto
incrernent number started with 1001.
24
I
3.4 Software Design
~
Software design is a process of problem-solving and planning for a software
solution. Object-oriented analysis and design (OOAD) are implemented during the
software design. Each object represents some entity of interest in the system being
modeled, and is characterized by its class, its state (data elements), and its behavior.
Various models can be created to show the static structure, dynamic behavior, and
run-time deployment of these collaborating objects. There are a number of different
notations for representing these models, such as the Unified Modeling Language
(UML). Different diagrams are used to help visualizing the whole development
process.
x- c__
=:>
Use Case
Actor
An actor represents a person, organization, or external system that will interact with
this system. The symbols of actors are drawn as stick figures. A use case is an
external view of the system that represents some actions the user might perform in
order to complete a task and is drawn as a horizontal ellipse. Lines are used to
represent the relationships between these elements.
Login ~
.•••.•••••0Pdate~
View Personal
Information •.........~
View Vehicle
Information
View Driver
Employee
Apply for
Vehicle
Cancel
Requisition
C Logout :=>
Figure 3.11: Use Case Diagram of User (Employee).
Login
~GV
Send to Workshop View/Approve
Requisition
Return from Workshop
View/Edit/Grant
Requisition
Admin
Change Password
Director
ViewlDelete Insurance
Premium
Logout
Not accept
else
Not accept
Need higher authority approval
Approve
Need approval
Accepted
Display in Director account
Approve
Not accept
Requisition complete
Chapter 4
ABC BANGLA •
Abo"t Requhltloo
"Confirm pI
-Department: Section:
L~~_!!J
Employe.
I flame: II
Muhammad edl Amin
I
I Usernllme:
lI'I d
'
II Dellignation: II Teacher I
I Contact Uo: 01819132886.029966334
for Travel:
.
- ~ - -
11_ I Reset I II I $,."", I
Figure 4.4: Requisition Form.
40
HOMEPAGE Servict'S ". About Requision Manaeement Contact No Penonal lOi Out
!
,
2009 2009 Pending
U~
/
October 29. October 29,
2009 2009 PM Ml Ilot Approved
~~
! Cancellalion Details
(3) '~o car available at this time,
!
! DO
80
October 26,
2009
October 26,
October 26.
2009
October 26.
I Jpl~511 ~45 PM I
Approve
Print
Preview
This is an inbox for administrators. There are three administrative levels; Admin,
Head of Admin and Director. When any user applies for a vehicle, admin officer
(Admin) gets this application in his/her inbox. Admin can see specific application by
clicking specific button. Admin can grant it or forward to second level administrator,
Head of Admin. Head of Admin can approve or forward to third level administrator,
Director. Director can approve it. All administrators have power to cancel the
application. Only Admin can grant the application and allocate vehicle. If any
requisition is approved, administrator can print logbook by clicking Approved button.
The following figure 4.7 shows the inbox page.
Any administrator can see requisition status at a specific date. At first, he/she has to
select a date (requisition starting date) and click the button 'Go', then he/she can see
requisition status at that date. If any application is approved at that date, administrator
can see a button named "Approved Add Logbook Info" in status column; by clicking
that button administrator can insert logbook information. After adding logbook
information administrator can view a button named "Completed Print Preview" for
this application. By clicking this button the administrator can print complete
requisition information. The following figure 4.8 shows the requisition status page.
REQUSmON Hom.pIIIC. Note Down Employ ••
I Req.
Uo.
II
Jt
Uame 01
~ppljclI"t
11"0 I ," ••II
U""es 9"11lonn
Vehicle
.!ype I To Dale jEll T~e II Status I
ul Md Ed, Am,n1/ Teach" 1/ C"
I
,
October 3D,
2009 ~~
rT15lfTJOl In Admin
Hend
By selecting a date, administrator can view distribution chart at that date according to
the given schedule. The following figure 4.9 shows the distribution chart page.
v ••••• DlnItbutlon Chart
v••.••c•• lD.
To s..
-
Dlstlibut60nChIrt 5Mct.
B, B2009
lEEl
o.t •• nd Clicku..luttan;
:J
i"o. ••••
,., ". ".
bJ. 140,
•••••••• ,,
'AM
, 'AM
, 'AM 'AM
., "AM
,, IIAM
,, 12 PM
, , <P. iP.
J to, 30 J
,
•• " • ,15,
•
~i•
, lO:~.lom
~
......~
1lI~
.'M.un
.••• _.QY
~
I
E
>0.
•
I
..
~.ID01
••••••.....,
~ •. Met.. GA.
••• Il
mn
,
.,r,n
IlKw-J009.,tol
, ~
......,
1Ullh.ol._ Un. 114.
111503
I~
.
i~~
" ~
..
~~~;~~ -
Administrator can see vehicle id, registration no, Purchase date, driver name, expire
date of tax and fitness, and next premium date according to vehicle's condition in this
page. By clicking the button, "Rejected" administrator can see list of rejected
vehicles. The following figure 4.10 shows the vehicles summary page.
Administrator can fill the form for specific vehicle and submit it. Vehicle id will be
generated automatically. Vehicle id will be generated according to 'Type- YYYY_
NNNN' where Type is vehicle type, YYYY is year part of purchase year and NNNN
is auto increment number starts with 1001 for every purchase year and every type of
vehicle_ Figure 4.11 shows the vehicle information form.
44
I*Vehicle Type: I! ,_/ Car ") Van _,' Microbus ,) Bus '.v Truck
I
I "AC: II ,_, AC ,~ "ORMAl
II "Cubic Capacity :11 I
I *Gear Type:
II ' Auto I Manual Both
I
*Reglslrlltion
I
No:
II
I II "Engine 110: II
II *Monufoclurer: II
I
*Ch.llssis Uo:
*Mo1nufactured
I
Year 20098 Month seleelE] Day seleelE}
Date;
I
I *"'odel No:
II II No of Doors:
II I
I *Uo 01 Seots:
II II "Tenk Capacity: II I
I *Fuel: [J Petrol [] Gas EI O<:laM D
I! Diesel
I
I *(0101:
II II Banery Value:
II I
I Tyre Size:
II II I
I Pure has From:
II II .PriceITKJ:
II I
*Oate of
Purchase:
Year 2OO9B Month Oct EJ Day selectE]
.
Comment:
Administrator can select specific vehicle and can edit, delete and vIew detail
information about the status of the vehicle, The following figure 4_12 shows the
vehicles information page,
I
I VEHICLE INFO Note Down Employee Locout
!
I
I
V.hiChts Inform.ation:
iI
I
Ice,,»>
I --"'SelecIVehicle Id and Registration No ••--.
B
I ten:»> , .-----SelectVehicle Id and Registrabon No ••---
B
I
! Microbus::>:> :-
I ---Select VehIcle Id and Registration No-- ..
B
!
I
!
/8US: >>>
I, --SelecIVehicle Id and RegistrationNo.---
B
I fruCk:»> "'-"SelectV~cle IdandRegistrationNo-- .•••
B
!
I
I
Vehicle Info will be lisled here.
Administrator can select specific vehicle and enter its sending information sentence
to specific workshop. Administrator can write problems, if problem is more than
three, he/she can increase the number ofrows by pressing' Add' button to get up to
ten rows. The following figure 4.13 shows the vehicle to workshop page.
V.hicl. To Workshop:
*Vehicle ID and
RegistratJon Uo:
..:Serect Vehicle Id and Regl9trabon No which Condlbon not Good- B
I *Workshop Name:
I "SelectWOrkshop Name--B
,
I Work Order: *"'liIe
Meler: I
-
I
I * Sending Date:
I Year 20098 Month NovemberBOaYiseleclB
No. Problems
1 1 i
2 I
1~3
. I
!
I «Add» I tt Rt:•••r»[s.b;, ••I
Figure 4.13: Vehicle to Workshop Page.
*Vehicle 10 and
Reolstratlon t,o:
-SeleclVehicle Id and Registration No ..
8
"Insur.nce comp.ny
Uarne:
I -
Select Insurance Com Name 8
I
-
I *Certificale tlo:
I I
I "Insurance Type: I
I *Baslc :
I
I .Outy :
I
.Vat:
I II I
I *10181 :
II I
*Oate: Year '-20098 Month NovernberE] Day saleetG
I [ Resel II Submd ~I
'Vehicle 10and
Registration 110:
tSele~tVehicle Id and Registratlon~-- EJ
'0 -
eposlt.
'Deposit Type: ~ep."srtType EJ Amoun~TK):
*Tax flo:
I *Expiry Date: I
Year ~OO9ElMonth se~tBDay ~~!~_~~B
.
Comment
.
I 'Confirmed By: II I
I I Resel II Submrt II
d
48
*Vehicle 10 and
-Select Vehicle Id and Registration No-
ReQistration tlo: El
.
Comment
.
"Confirmed By : I I
I [ Reset JI Submit II
Add Fuellnfonnation
V.hicle
.'
.110(; I-on info will be .howed
ilItO,lve,
h.re
Name:
""Llean_
No: II .Grade:
II 'A "
B "
C
Vehleleld
ond
Regletretlon -s=.tecl one Id lind Registration No-- B
No:
*ConuaC1
No:
II Blood Group: 11 i-Sv1tfct-E]
•••
Joining
Y •• r 2009E]Month Novernbe.BOey seled8
Dale:
.
• Addr ••• :
.
.
comment:
.
I Reset Jtl I Submit I
.Prevlous Pa••word:
__
•••
Conllrm panword:
._.-....--.--._.---._.--.--.-..-.--.--._. .
Figure 4.20: Change Password Page.
51
Chapter 5
Conclusion
52
5.\ Conclusion
This software is developed with the help of different kinds of tools such as PHP,
MYSQL, HTML, AJAX, JavaScript, CSS etc. The developed software is user
friendly. The Administrators (Administrative officer, Head of the Admin section and
Director) can approve/reject application for vehicle requisition with necessary notes.
Only' administrators can insert, delete and update vehicle, tax, insurance, workshop
etc. information. Thus, the security of the system has been maintained.
The developed project can be enhanced in a variety of ways. Firstly, the message
alarm and sound alarm systems can be incorporated in the software. These alamlS
will be used to alert administrators of due dates of premium of insurance, fitness
certificate, tax and other vital information of vehicles. The system may also be
modified to provide appropriate messages when the administrator enters unrealistic
maintenance information to the software. As for example, the system will restrict the
user if the user changes the tyre of a vehicle every month.
53
References
54
[1]. Powell, T. A., "Web Design: The Complete Reference", Tata McGraw-Hill
Publishing Company Limited, TA TA McGRA W-HILL EDITION 2000, pp
11-15,172-175,2000.
[2] http://www .dbnetso Iutions. co.uk!Arti c1es/Benefi tsOfW eb BasedA pp Iicati 0 ns.
aspx; last accessed on 05.03.2009
[3] http://www.vehicle-manager.com/; last accessed on 05.03.2009
[11] http://www.gisdeve1opment.net/proceedings/gita/1999/dda/dda003pf.htm;
last accessed on 05.05.2009
55
Appendix A
Index
Sign Up
Sign In
User home
Services Personal
Vehicle Information
Requisition
Management contact no
Form
Status
Log Out
56
Appendix B
Sign In
Services
Admin home
About requisition
Note Down
Management contact no
Change Password
Requisition
Insurance
Inbox
View/Edit/Delete
Add Premium
View/Delete Premium
Details view
Summary
View/Edit/Delete Add
Workshop
Tax
Add
View/Edit/Delete
To Workshop
From Workshop
Summary
Add
View/Edit/Delete