Documentos de Académico
Documentos de Profesional
Documentos de Cultura
MANAGEMENT
SYSTEM
A Project Presented
An
Applied Project Requirements For
System Analysis and Design
Of
Information Technology Class IT-401
By:
Tolentino, Miko
Manzano, J.C
Echague, Michael
Ampaña, P.M
Project Adviser
Ms.Nikkie Fe E. Aboloc
March 2018
Table of Contents
1Introduction…………………………………………………………..……1
1.1 Background of the study ………………………………………….2
1.2 Scope and
Limitation…………………………………………………………...2
1.2.1 General objective ………………………………….……………..3
1.3 Specific objective……………………….………………………..…3
1.4 Scope and Limitation………..……………………………………..4
3ProposedSystem………………………………………………………………..8
3.1 Process Specification …………………………………………..........8
3.2 .1DataDictionary…………………………………………………… 9
3.3.1Tables/Layout……………………………………………………..10
3.3.2Screen/Layout Specification ……………………….…….10
3.3.3 Report/ Form Specification……………………….….…..11
3.3.4 Program/ Module Specification…………………….……11
3.3.5SchemaDiagram………………………………………………..….12
4 Problem Areas…………………………………………………………..12-14
5 System Coding (Prototype)……………………………………………..15-20
5.1 Testing Stages……….…………………………………….21
5.2 Testing Schedules………………...……………………….21
6 System Implementation Plan……………………………………………22-30
6.1 Resource Requirements…………………….……………..31
6.1.1 Hardware Requirements…………………….…..32
6.1.2 Software Requirements………………………….33
6.1.3 Human Resource Requirements…….…………..34
6.2 Implementation Plan…………...…………………………..35
6.2.1 Site Preparation……………………...............36-40
6.2.2 Personnel Training…..………………………..41-45
6.2.3 System Conversion…………………………....46-48
6.2.4 Implementation Schedule……………..………….49
7. System Maintenance Plan……………..………………………….50
Appendices
Bibliography
Resource Persons
Introduction
The hotel industry is a business compromise for the owner and a
consolation for the traveler and/or tourist. A customer can get stranded in
the command to secure a hotel room to pass the night if he has not made
acceptable plans by the existing system.
To develop a Hotel Reservation, the work is started by gathering
information about the topic. The technology such as software and
hardware needed to develop the study are decided. To accumulate
requirements of this study, discussion is held within supervisor and hotel
staffs. After studying and analyzing the flow of the current system of
hotel, the proponents would like to recommend the following: the system
proves to be fast accurate convenient, efficient and reliable for the process
of reservation.
Hotel reservation system plays a great role and has a potential effect on
day to day performance measures; this type of system has highly evolved
from decades due to high demand for their use, effective and efficiency in
any given institutions. Due to the rapid change of technology the use of
such system has become a necessity to any given high learning institution
for better performance and is used with quite a large number of users at
the same time but it can save time, resources and creates awareness of the
evolving technology.
1.1 Background of the study
Hotel Management System is a software system where the management of
entire hotel is computerized. The application stores customer record and daily
activities performed in the hotel such as customer details, reservation details,
creating a new room, vacating the rooms, etc. all are computerized and the
management is done without any difficulty. It also generates report for
authorized user on a daily basis and weekly report, thereby reducing the time
and stress that will be undergone using the manual method.
Statement of Objectives
General objective
Specific objective
HOTEL
USER MANAGEMENT
DATABASE
Screen/Layout Specification
Log in form
Reservation
Check-in
Rooms
Cancel Reservation
Check-out
System Coding (Prototype
using System;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
usingSystem.Windows.Forms;
usingSystem.Data.OleDb;
namespace HMS
{
public partial class Mainmenu : Form
{
private static OleDbCommandBuildercmd;
private static OleDbConnection con;
private static OleDbDataAdapteradptr;
private static DataTabledtable;
DataTabledt = new DataTable();
}
private static void CloseCon()
{
con.Dispose();
con.Close();
}
private static DataTableLoadData(string query)
{
adptr = new OleDbDataAdapter(query, con);
cmd = new OleDbCommandBuilder(adptr);
dtable = new DataTable();
adptr.Fill(dtable);
returndtable;
publicMainmenu()
{
InitializeComponent();
OpenCon();
dt = LoadData("Select * From Reservation");
dataGridView3.DataSource = dt;
CloseCon();
OpenCon();
dt = LoadData("Select * From CheckIn");
dataGridView4.DataSource = dt;
CloseCon();
}
if (room.SelectedItem == null)
{
MessageBox.Show("please select a room to check availability");
}
else
{
OpenCon();
dt = LoadData("SELECT rm_type, rm_number, rm_price, rm_availability FROM
ROOMS where rm_availability = yes");
DataView dv = new DataView(dt);
dv.RowFilter = string.Format("rm_type LIKE '%{0}%'",
room.SelectedItem.ToString());
dataGridView1.DataSource = dv;
CloseCon();
}
}
if (checkin.Value.Date>checkout.Value.Date)
{
MessageBox.Show("Error! you cannot set checkout date earlier than checkin");
}
else if(checkin.Value.Date == checkout.Value.Date)
{
MessageBox.Show("Please set checkout date a day after checkin date");
}
else
{
try
{
string name = title.SelectedItem.ToString() + " " + fn.Text + " " + ln.Text;
intrm;
OpenCon();
dt.Rows.Add(dr);
try
{
adptr.Update(dt);
CloseCon();
OpenCon();
dt2 = LoadData("SELECT * FROM ROOMS WHERE
Rm_Number = " + rm);
for (int i = 0; i < dt2.Rows.Count; i++)
{
dt2.Rows[i]["Rm_Availability"] = 0;
}
adptr.Update(dt2);
CloseCon();
OpenCon();
dtb.Rows.Add(dr2);
adptr.Update(dtb);
CloseCon();
MessageBox.Show("Reservation complete!");
title.SelectedItem = null;
fn.ResetText();
ln.ResetText();
email.ResetText();
checkin.Value = DateTime.Now;
checkout.Value = DateTime.Now;
dataGridView1.DataSource = null;
phone.ResetText();
room.SelectedItem = null;
}
catch (System.Exception ex)
{
MessageBox.Show(ex.ToString());
return;
}
}
}
}
catch (NullReferenceException)
{
MessageBox.Show("Please complete all the fields!");
return;
}
Application.Exit();
}
else
{
e.Cancel = true;
}
}
else
{
e.Cancel = true;
}
}
if (comboBox1.SelectedItem.ToString().Equals("VVIP"))
{
label11.Text = "VVIP";
pictureBox1.Image = HMS.Properties.Resources.VVIP_hotel;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'VVIP'");
for(int c = 0; c<dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else if (comboBox1.SelectedItem.ToString().Equals("VIP"))
{
label11.Text = "VIP";
pictureBox1.Image = HMS.Properties.Resources.VIP_hotel;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'VIP'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else if (comboBox1.SelectedItem.ToString().Equals("Deluxe Suite"))
{
label11.Text = "Deluxe Suite";
pictureBox1.Image = HMS.Properties.Resources.deluxe_suite;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'Deluxe Suite'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else if (comboBox1.SelectedItem.ToString().Equals("Deluxe"))
{
label11.Text = "Deluxe";
pictureBox1.Image = HMS.Properties.Resources.deluxe_room;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'Deluxe'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else if (comboBox1.SelectedItem.ToString().Equals("Triple Bedroom"))
{
label11.Text = "Triple Bedroom";
pictureBox1.Image = HMS.Properties.Resources.triple_bedroom;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'Triple Bedroom'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else if (comboBox1.SelectedItem.ToString().Equals("Double Bedroom"))
{
label11.Text = "Double Bedroom";
pictureBox1.Image = HMS.Properties.Resources.double_bedroom;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'Double Bedroom'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
else
{
label11.Text = "Single Bedroom";
pictureBox1.Image = HMS.Properties.Resources.single_bedroom;
OpenCon();
dt = LoadData("SELECT RM_NUMBER FROM ROOMS WHERE RM_TYPE =
'Single Bedroom'");
for (int c = 0; c <dt.Rows.Count; c++)
{
comboBox2.Items.Add(dt.Rows[c]["RM_NUMBER"].ToString());
}
CloseCon();
}
}
button3.Enabled = false;
button2.Enabled = false;
comboBox4.Enabled = false;
textBox2.Enabled = false;
textBox1.Enabled = false;
textBox3.Enabled = false;
textBox4.Enabled = false;
dateTimePicker2.Enabled = false;
dateTimePicker1.Enabled = false;
dataGridView2.Enabled = false;
comboBox3.Enabled = false;
button4.Enabled = false;
label24.Text = comboBox4.SelectedItem.ToString() + " " +
textBox2.Text + " " + textBox1.Text;
label26.Text = textBox3.Text;
label27.Text = textBox4.Text;
label32.Text = dateTimePicker2.Value.ToShortDateString();
label33.Text = dateTimePicker1.Value.ToShortDateString();
label34.Text = (dateTimePicker1.Value.Date -
dateTimePicker2.Value.Date).Days.ToString();
}
catch (System.Exception ex)
{
MessageBox.Show(ex.ToString());
return;
}
OpenCon();
dr2["G_FN"] = label24.Text;
dr2["G_Email"] = label26.Text;
dr2["G_Phone"] = Convert.ToDouble(label27.Text);
dtb.Rows.Add(dr2);
adptr.Update(dtb);
CloseCon();
button3.Enabled = true;
button2.Enabled = true;
comboBox4.Enabled = true;
textBox2.Enabled = true;
textBox1.Enabled = true;
textBox3.Enabled = true;
textBox4.Enabled = true;
dateTimePicker2.Enabled = true;
dateTimePicker1.Enabled = true;
dataGridView2.Enabled = true;
comboBox3.Enabled = true;
button4.Enabled = true;
}
DateTime ci = Convert.ToDateTime(row.Cells[5].Value.ToString());
DateTime co = Convert.ToDateTime(row.Cells[6].Value.ToString());
label53.Text = ci.ToShortDateString().ToString();
label52.Text = co.ToShortDateString().ToString();
}
}
OpenCon();
dt = LoadData("Select * From Guest Where G_FN = '" + label60.Text + "'");
for (int i = 0; i <dt.Rows.Count; i++)
{
label61.Text = dt.Rows[i]["G_Email"].ToString();
label58.Text = dt.Rows[i]["G_Phone"].ToString();
}
label51.Text = (Convert.ToDateTime(label52.Text).Date -
Convert.ToDateTime(label53.Text).Date).Days.ToString();
int total = Convert.ToInt32(label51.Text) * Convert.ToInt32(label45.Text);
label43.Text = "Php " + total.ToString();
groupBox6.Visible = true;
button6.Enabled = false;
button5.Enabled = false;
textBox5.Enabled = false;
dataGridView3.Enabled = false;
CloseCon();
}
}
adptr.Update(dt);
DataTabledd = new DataTable();
dd = LoadData("Delete From Reservation Where Guest_FN = '" + label60.Text+"'
and rm_number = "+Convert.ToInt32(label47.Text));
adptr.Update(dd);
CloseCon();
CloseCon();
OpenCon();
dt = Load Data("Select * From Check-in");
dataGridView4.DataSource = dt;
CloseCon();
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
}
}
}
}
else if (tabControl1.SelectedTab == tabPage4)
{
OpenCon();
dt = LoadData("Select * From CheckIn");
dataGridView4.DataSource = dt;
CloseCon();
}
else if(tabControl1.SelectedTab == tabPage7)
{
OpenCon();
dt = LoadData("Select * From Invoice");
dataGridView5.DataSource = dt;
CloseCon();
}
}
private void button9_Click_1(object sender, EventArgs e)
{
groupBox3.Visible = false;
button3.Enabled = true;
button2.Enabled = true;
}
Testing Stages
Requirement Analysis
Review any requirements documents and designs to
determine what is testable.
Test Planning
To identify what to test it also created a plan
documents that the testing project approached
Testing Schedules
System Implementation Plan
The purpose of system implementation is document contains
overviews of system, description of the major task that is required to be done
before the system is put into use. This Hotel Reservation System describes how it
will manage all room booking and activities, it will cover all the customer details
and maintaining all record about hotelreservation information.
Resource Requirements
Hardware Requirements
Laptop(RAM: 2GB, Hard Drive:
50GB
CM: 2MB, Windows 7
Mouse, HDMI, Flash Drive, USB Cable
Software Requirements
MS Access
MS Visual Studio
MS Word
MS PowerPoint Presentation
Human Resources
Appendices
SY: 2007-2011
Programming Language
The programming language that we used is C#. C# is a modern
object-oriented programming language developed in 2000 by Andres
Hejlsberg at Microsoft. It is a general-purpose language designed for
developing apps on the Microsoft platform and requires the .Net
framework on windows to work. C# can be used to create almost anything
but is particularly strong at building Windows desktop applications and
games. C# has many features that make it easy to learn. It’s a high-level
language, relatively easy to read.
Importance of Testing
Testing Stages
First and foremost, we would like to thank each member for proudly making it
until the end while working together as a team, for making it possible despite of
the stress, heavy projects and homeworks with other subjects, when the only
chance we had to make this possible is to communicate using social media and
passing files through it, and when there are really difficult times that we cannot
handle the pressure, and would just let it pass and not affect us in a way to the
point that we would give up.
We, the researchers, would also like to give our thanks to our Adviser Engr.
Aboloc for being a patient professor towards our class and for advising us as well.
to Engr. Tony, for giving constructive criticism, pointers in correcting our system
and giving additional information that are needed to complete it.
Michael Echague
CONFORME:
______________________________
Project Adviser
APPROVED BY:
______________________________
Jeffrey Calara
Panelist
NOTED BY:
______________________________