Está en la página 1de 40

TEAM’S HOTEL

MANAGEMENT
SYSTEM

A Project Presented

To STI College Makati

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

2 Significance of the study ……………………………………………………5-7

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

The study of the system of the system aims to develop,


promote computerized Hotel Management System and to emphasize the useful of
making software. This can affect that provides a convenient fast and reliable
work.

Specific objective

 Easier and faster for the receptionist of the


hotel
 Save Time, convenient, accuracy and
efficiency of the transactions
 To identify of the receptionist the room
availability and to track the customers check
in/ out.

Significance of the study


The contribution of this study is to provide easier way of booking
rooms in hotel, in order to maximize the time of the customer by giving them
a good service. In the order hand this system is also an automated and secured
transaction, in which all of the information regarding to our customers is
surely safe and assured.

Hoteliers will benefit for this project.

Guests will benefit for this project.

Future researchers will benefit for this project.


Proposed System
The system is designed to be user-friendly; it’s for the sake of the user in
order to accomplish all transactions for shorter period of time and to prevent
wasting time. Computers help speed up for business operations. The process of
reservation of rooms, booking guests, checking out guests and managing the
rooms is made quicker through the use of computers, allowing hotels to operate
much faster and to produce better quality transactions.

Therefore, the proponents offer you a computer-based hotel management


system to make the job more efficient where it can store a large amount of data,
save on office equipment and at the same time you can do more tasks in a short
period of time without doing much effort.
Process Specification
Data Flow Diagram

HOTEL
USER MANAGEMENT
DATABASE

Ex; type int( , varchar null (yes) ,Default(Null)


Table Name: Reservation
Table Name: Log in
Table Name: Payment

Tables/Layout (MS Access) information


Table Name: Reservation
Table Name: Log in
Table Name: Payment

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 OpenCon()


{

con = new OleDbConnection();


con.ConnectionString = @"Provider = Microsoft.ACE.OLEDB.12.0; Data Source
= C:\Users\Saymo\Documents\miko\System\HMS\HMS\bin\Debug\HMS.accdb";
con.Open();

}
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();
}

private void check_Click(object sender, EventArgs e)


{

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();
}
}

private void cancel_Click(object sender, EventArgs e)


{
DialogResult result = MessageBox.Show("Do you really want to cancel
reservation?", "Warning", MessageBoxButtons.YesNo);
if (result == DialogResult.Yes)
{
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;
}
else
{
return;
}
}

private void res_Click(object sender, EventArgs e)


{
DataTable dt2 = new DataTable();
DataTabledtb = new DataTable();

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;

foreach (DataGridViewRow row in dataGridView1.Rows)


{
if (row.Index>= 0)
{
rm = Convert.ToInt32(row.Cells[1].Value.ToString());
stringrm_type = row.Cells[0].Value.ToString();
intrm_price = Convert.ToInt32(row.Cells[2].Value.ToString());

OpenCon();

dt = LoadData("SELECT * FROM Reservation");


DataRowdr = dt.NewRow();
dr["Guest_FN"] = name;
dr["Rm_Number"] = rm;
dr["Rm_Type"] = rm_type;
dr["Rm_Price"] = rm_price;
dr["Check_in"] = checkin.Value.ToShortDateString();
dr["Check_out"] = checkout.Value.ToShortDateString();

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 = LoadData("SELECT * FROM GUEST");


DataRow dr2 = dtb.NewRow();
dr2["G_FN"] = name;
dr2["G_Email"] = email.Text;
dr2["G_Phone"] = Convert.ToDouble(phone.Text);

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;
}

private void Mainmenu_FormClosing(object sender, FormClosingEventArgs e)


{
if (e.CloseReason == CloseReason.UserClosing)
{
DialogResult result = MessageBox.Show("Do you really want to exit?", "Exit",
MessageBoxButtons.YesNo);
if (result == DialogResult.Yes)
{

Application.Exit();
}
else
{
e.Cancel = true;
}
}
else
{
e.Cancel = true;
}
}

private void phone_KeyPress(object sender, KeyPressEventArgs e)


{
if (!char.IsDigit(e.KeyChar) &&e.KeyChar != 8)
{
e.Handled = true;
}
}

private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)


{
comboBox2.Items.Clear();

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();
}
}

private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)


{
OpenCon();
dt = LoadData("SELECT * FROM ROOMS WHERE RM_NUMBER = " +
Convert.ToUInt32(comboBox2.SelectedItem.ToString()));
for(int i = 0; i <dt.Rows.Count; i++)
{
label14.Text = "Php" + dt.Rows[i]["Rm_Price"].ToString();
if (dt.Rows[i]["Rm_Availability"].ToString().Equals("True"))
{
checkBox1.Checked = true;
}
else
{
checkBox1.Checked = false;
}
}
CloseCon();

private void button1_Click(object sender, EventArgs e)


{
if (comboBox1.SelectedItem == null || comboBox2.SelectedItem == null)
{
MessageBox.Show("Please select Room type and Room Number to edit room
price.");
}
else
{
Edit_Priceep = new Edit_Price(comboBox1.SelectedItem.ToString(),
label14.Text);
ep.ShowDialog();
}
}

private void textBox4_KeyPress(object sender, KeyPressEventArgs e)


{
if (!char.IsDigit(e.KeyChar) &&e.KeyChar != 8)
{
e.Handled = true;
}
}

private void button4_Click(object sender, EventArgs e)


{
if (comboBox3.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}%'",
comboBox3.SelectedItem.ToString());
dataGridView2.DataSource = dv;
CloseCon();
}
}

private void button3_Click(object sender, EventArgs e)


{
try
{

if (dateTimePicker2.Value.Date > dateTimePicker1.Value.Date)


{
MessageBox.Show("Error! you cannot set checkout date earlier than checkin");
}
else if (dateTimePicker2.Value.Date == dateTimePicker1.Value.Date)
{
MessageBox.Show("Please set checkout date a day after checkin date");
}
else
{

groupBox3.Location = new Point(185, 3);


groupBox3.Visible = true;

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();

foreach (DataGridViewRow row in dataGridView2.Rows)


{
if (row.Index>= 0)
{
label38.Text = row.Cells[1].Value.ToString();
label36.Text = row.Cells[0].Value.ToString();
label40.Text = row.Cells[2].Value.ToString();
}
}

int total = Convert.ToInt32(label34.Text) * Convert.ToInt32(label40.Text);


label42.Text = "Php " + total.ToString();
}

}
catch (System.Exception ex)
{
MessageBox.Show(ex.ToString());
return;
}

private void button7_Click(object sender, EventArgs e)


{
DataTable dt2 = new DataTable();
DataTabledtb = new DataTable();
try
{

OpenCon();

dt = LoadData("SELECT * FROM CheckIn");


DataRowdr = dt.NewRow();
dr["Guest_FN"] = label24.Text;
dr["Rm_Number"] = Convert.ToInt32(label38.Text);
dr["Rm_Type"] = label36.Text;
dr["Rm_Price"] = Convert.ToInt32(label40.Text);
dr["Check_in"] = Convert.ToDateTime(label32.Text).ToShortDateString();
dr["Check_out"] = Convert.ToDateTime(label33.Text).ToShortDateString();
dr["days"] = Convert.ToInt32(label34.Text);
dr["total_price"] = Convert.ToInt32(label34.Text) *
Convert.ToInt32(label40.Text);
dt.Rows.Add(dr);
adptr.Update(dt);
CloseCon();
OpenCon();
dt2 = LoadData("SELECT * FROM ROOMS WHERE
Rm_Number = " + Convert.ToInt32(label38.Text));
for (int i = 0; i < dt2.Rows.Count; i++)
{
dt2.Rows[i]["Rm_Availability"] = 0;
}
adptr.Update(dt2);
CloseCon();
OpenCon();

dtb = LoadData("SELECT * FROM GUEST");


DataRow dr2 = dtb.NewRow();

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();

MessageBox.Show("Successfully Checked In!");


comboBox4.SelectedItem = null;
textBox2.ResetText();
textBox1.ResetText();
textBox3.ResetText();
dateTimePicker2.Value = DateTime.Now;
dateTimePicker1.Value = DateTime.Now;
dataGridView1.DataSource = null;
textBox4.ResetText();
comboBox3.SelectedItem = null;
groupBox3.Visible = false;
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;
}
catch (NullReferenceException)
{
MessageBox.Show("Please complete all the fields!");
return;
}

private void button2_Click(object sender, EventArgs e)


{
comboBox4.SelectedItem = null;
textBox2.ResetText();
textBox1.ResetText();
textBox3.ResetText();
dateTimePicker2.Value = DateTime.Now;
dateTimePicker1.Value = DateTime.Now;
dataGridView1.DataSource = null;
textBox4.ResetText();
comboBox3.SelectedItem = null;

private void button8_Click(object sender, EventArgs e)


{
groupBox3.Visible = false;
label24.Text = "- - -";
label26.Text = "- - -";
label27.Text = "- - -";
label32.Text = "- - -";
label33.Text = "- - -";
label34.Text = "- - -";
label38.Text = "- - -";
label36.Text = "- - -";
label40.Text = "- - -";
label42.Text = "- - -";

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;
}

private void textBox5_TextChanged(object sender, EventArgs e)


{
try
{
OpenCon();
dt = LoadData("Select * From Reservation");
DataView dv = new DataView(dt);
dv.RowFilter = string.Format("Guest_FN LIKE '%{0}%'", textBox5.Text);
dataGridView3.DataSource = dv;
CloseCon();
}catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}

private void button5_Click(object sender, EventArgs e)


{
textBox5.ResetText();
OpenCon();
dt = LoadData("SELECT * FROM RESERVATION");
dataGridView3.DataSource = dt;
CloseCon();
}

private void button6_Click(object sender, EventArgs e)


{
if (dataGridView3.SelectedRows == null)
{
MessageBox.Show("Please select reservation to check in");
}
else
{
foreach (DataGridViewRow row in dataGridView3.SelectedRows)
{
if (row.Index>= 0)
{
label60.Text = row.Cells[1].Value.ToString();
label47.Text = row.Cells[2].Value.ToString();
label49.Text = row.Cells[3].Value.ToString();
label45.Text = row.Cells[4].Value.ToString();

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();
}
}

private void button10_Click(object sender, EventArgs e)


{
OpenCon();
dt = LoadData("SELECT * FROM CheckIn");
DataRowdr = dt.NewRow();
dr["Guest_FN"] = label60.Text;
dr["Rm_Number"] = label47.Text;
dr["Rm_Type"] = label49.Text;
dr["Rm_Price"] = label45.Text;
dr["Check_in"] = Convert.ToDateTime(label53.Text).ToShortDateString(); ;
dr["Check_out"] = Convert.ToDateTime(label52.Text).ToShortDateString();
dr["days"] = Convert.ToInt32(label51.Text);
dr["total_price"] = Convert.ToInt32(label51.Text) *
Convert.ToInt32(label45.Text);
dt.Rows.Add(dr);

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();

MessageBox.Show("Successfully Checked In!");


OpenCon();
dt = LoadData("Select * From Reservation");
dataGridView3.DataSource = dt;
CloseCon();
label60.Text = "- - - ";
label61.Text = "- - - ";
label58.Text = "- - - ";

label47.Text = "- - - ";


label49.Text = "- - - ";
label45.Text = "- - - ";
label53.Text = "- - - ";
label52.Text = "- - - ";
label51.Text = "- - -";
label43.Text = "- - - ";
groupBox6.Visible = false;
button6.Enabled = true;
button5.Enabled = true;
textBox5.Enabled = true;
dataGridView3.Enabled = true;
}

private void button9_Click(object sender, EventArgs e)


{
label60.ResetText();
label61.Text = "- - - ";
label58.Text = "- - - ";
label47.Text = "- - - ";
label49.Text = "- - - ";
label45.Text = "- - - ";
label53.Text = "- - - ";
label52.Text = "- - - ";
label51.Text = "- - -";
label43.Text = "- - - ";
groupBox6.Visible = false;
button6.Enabled = true;
button5.Enabled = true;
textBox5.Enabled = true;
dataGridView3.Enabled = true;
}

private void textBox6_TextChanged(object sender, EventArgs e)


{
try
{
OpenCon();
dt = LoadData("Select * From CheckIn");
DataView dv = new DataView(dt);
dv.RowFilter = string.Format("Guest_FN LIKE '%{0}%'", textBox6.Text);
dataGridView4.DataSource = dv;
CloseCon();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}

private void button11_Click(object sender, EventArgs e)


{
textBox6.ResetText();
OpenCon();
dt = LoadData("SELECT * FROM CheckIn");
dataGridView4.DataSource = dt;
CloseCon();
}

private void button12_Click(object sender, EventArgs e)


{
if(dataGridView4.SelectedRows == null)
{
MessageBox.Show("Please select transaction to checkout");
}else
{

foreach (DataGridViewRow row in dataGridView4.SelectedRows)


{
if (row.Index>= 0)
{
OpenCon();
dt = LoadData("Insert Into Invoice(Guest_FN,Check_In, Check_Out, Rm_type,
rm_number, rm_price, days, total_price) Select Guest_FN,Check_In, Check_Out,
Rm_type, rm_number, rm_price, days, total_price From CheckIn where ID = " +
Convert.ToInt32(row.Cells[0].Value.ToString()));
try
{
adptr.Update(dt);
DataTable d1 = LoadData("Delete From CheckIn Where ID = " +
Convert.ToInt32(row.Cells[0].Value.ToString()));
adptr.Update(d1);
MessageBox.Show("Successfully Checked out");

CloseCon();
OpenCon();
dt = Load Data("Select * From Check-in");
dataGridView4.DataSource = dt;
CloseCon();
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}

}
}
}
}

private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)


{
if (tabControl2.SelectedTab == tabPage3)
{
OpenCon();
dt = LoadData("Select * From Reservation");
dataGridView3.DataSource = dt;
CloseCon();

}
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;
}

private void button8_Click_1(object sender, EventArgs e)


{
groupBox6.Visible = false;
button6.Enabled = true;
button5.Enabled = true;
textBox5.Enabled = true;
dataGridView3.Enabled = true;
}
}
}

System Testing Plan

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

Name: Patricia Maye S. Ampaña


Address: 9071 HormigaSt.Brgy. Olympia Makati City
Contact no: 09201596069
Birth Date: June 3, 1997
Email Address: patricia03ampana@gmail.com

Primary Education: Nicanor Garcia Elementary


School
SY: 2010-2011

Secondary Education: Makati High School


SY: 2014-2015

Tertiary Education: STI Makati City


B.S. Information Technology
SY: 2016- Present
Name: Sir Mikhail Saymo Tolentino
Address: 7896, Lawaan st, San Antonio village Makati city
Contact no: 09277389634
Birth Date: 06/25/95
Email Address: ceasarmonster619@gmail.com

Primary Education: Paoay Central Elementary school


SY: 2000-2006

Secondary Education: Paoay Lake National High school


SY:

Tertiary Education: STI Makati City


B.S. Information Technology
SY: - Present

Name: Michael Albert E. Echague


Contact no: 09154091846
Birth Date: 05/08/95
Email Address: emichaelalbert@gmail.com

Primary Education: Masinloc Zambalez Elementary school


SY: 2000-2006

Secondary Education: New era University


SY: 2006-2010

Tertiary Education: STI Makati City


B.S. Information Technology
SY: - Present

Name: Juan Carlos Manzano


Contact no: 09053035193
Birth Date:
Email Address: manzanojuancarlos15@gmail.com

Primary Education: Jose Abad Santos Memorial School


SY: 2001-2007

Secondary Education: Jose Abad Santos Memorial


School

SY: 2007-2011

Tertiary Education: STI Makati City


B.S. Information Technology
SY: - Present

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.

Special Purpose Language Tools


Microsoft Visual studio 2017 is an integrated development
environment (IDE) from Microsoft. It is used to develop computer programs for
Microsoft Windows, as well as web sites, web apps, web services and mobile apps.
Visual studio code combines the simplicity of a source code editor with the
powerful developer tooling, like IntelliSense code completion and debugging.
System Testing Plan

Aimed to identifying and correcting errors .The major objective of this


activity is to ensure that the processing done by the application is correct and
meets the objectives of the organization. Test plan aids in effective and systematic
testing of the system and it aims at checking the errors of omission and
commission that hinders the realization of the objectives. It takes the bottom up
testing approach.

Importance of Testing

 Is used to find program errors on the system


 Is used to find undercover errors in program through the
use of defect testing.
 It used to identify the best component combination for
effective error identification.
 aims at assuring quality by enforcing consistency and
reliability
 It used for both validation and verification to develop a
product that needs user requirement.

Testing Stages

In this testing we shall test the entire system for


functionality to ensure that the system can process and handle large volumes of
data efficiently. The test will be done with the sample of some users who will use
the system under test in its actual capability environment.
Acknowledgement

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.

We would also like to express our greatest appreciation to our advisor,Engr.


Aboloc for giving her time and effort in lending us a hand in our documentation.
Thank you very much.

To our block-mates in this subject course, we are appreciative for giving


inspiration in looking forward to making it and passing the subject. For the fun
times that had relieved our problems and stress even for momentarily. We do
hope that you continue in inspiring other fellow mates and be the role model for
them. And last but definitely not the least; we would like to give our deepest and
warmest gratitude to God for guiding us in making it through our system project
and got over the pressure of this semester. It is be the most memorable and
eventful semester for us.
ADVISER’S ACCEPTANCE FORM

NAME OF PROPONENTS: Sir Mikhail S. Tolentino

Patricia Maye Ampana

Michael Echague

Juan Carlos Manzano

APPROVED RESEARCH TITLE: Hotel Management system

AREA OF STUDY: Bachelor of Science in Information Technology

CONFORME:

______________________________

Engr. Nikkie Fe E. Aboloc

Project Adviser

APPROVED BY:

______________________________

Jeffrey Calara

Panelist

NOTED BY:

______________________________

Engr. Jerry Cruz Program Head

También podría gustarte