Sample Book
Sample Book
Submitted by
Dedication
Mohamed ahmed mohamed
I am strongly thanking to my mother‟s (fadumo askar ahmed, deeqa askar ahmed) also I am
thanking to whom encouraged or gives me support to complete my bachelor degree program.
CERTIFICATE
This is to certify that the following students:
(Project Name)
ACKNOWLEDGEMENT
This document is thesis report about Alloore hotel management System written for Gollis
University of Burao, Somaliland. This thesis is conducted for Alloore hotel management
system located in Burao Somaliland.
We are extremely thanks to our grateful supervisor mr daa,uda jamada and the dean of the
faculty of Information Technology, Gollis university Mr. Khaddar Mohamed abdillaahi.
And we are also acknowledge to the president of gollis university Mr. Abdihakiim Mohamed
Abdilaahi for his support, encouragement and gives us the opportunity to work on this project
with him.
Special thanks for our colleagues for the collaboration in sharing knowledge each other, their
views and tips are useful indeed. Unfortunately, it is not possible to list all of them in this
limited space. Our sincere appreciation also extends to all of the lecturers in faculty of ICT
who have opened our mind seeing the wonderful world of IT - Management.
Last but not least, our heartfelt thanks go to all of our families, whose sacrifice, support, love,
caring inspired us to overcome all the difficulties throughout our entire academic life. This
dissertation processes would not be successful without having their patience, love, and
dedication.
Project abstract
Alloore Hotel Management System (AHMS) is a system designed to increase the
performance of the Alloore hotel activities such customer registration, employee registration
or rooms information. This system enhances services and products that Alloore hotel
provides to its customers.
This software or system gives every customer and supplier a unique number that makes easy
and reduces time to search the customer and supplier information if needed, this increases the
performance of the hotel.
The main objective of this software is about how the hotel will provide quality service and
product and to enhance hotel performance.
6
Allore Hotel Management System
Table contents
Cover page ................................................................................1
Title page...................................................................................2
Dedication.................................................................................3
Certificate page..........................................................................4
4.1.2 Departments 30
4.1.3
5 Implementation 33
5.1 Introduction 33
5.1.1 Database implementation 33
5.1.2 Goals & objectives of the hotel 33
5.1.3 Vision 34
5.1.4 Mission 34
5.1.5 Input consideration 35
5.1.6 Output consideration 41
5.1.7 Process consideration 70
5.18 Testing and installation 71
6 Feasibility study 72
6.1 Introduction 72
6.2 Time feasibility 72
6.3 Software feasibility 73
6.4 Cost effective feasibility 73
6.5 Sufficient information feasibility 73
7 Future development 74
7.1 Introduction 74
7.2 Application of the project 74
7.3 Future development of the project 74
7.4 Bipliography 76
CHAPTER ONE
1.1 Introduction
A hotel business has of recent reached the highest peak in today‟s society. Hotels need to be
managed in such a manner that it makes all the concerned stakeholders happier and satisfied.
Hotel owners ought to benefit from the business, Workers ought to appreciate every single
task that they pass through and above all, customers ought to be satisfied with the different
services they expect to receive from the concerned hotel. All these activities can be done and
achieved through proper management.
Recently, there has been a series of complaints from the public on matters concerning Hotel
Management. This happens due to several factors including lack of sufficient integration
between Hotel activities and the ever booming ICT technologies which has left Hotel
activities being done manually and with complications.
This project entitled “ALLOORE HOTEL MANAGEMENT SYSTEM” therefore aims at
proving the fact that an integration of Hotel activities with ICT can help in solving a number
of problems experienced through automating all the work being done manually in hotels at
present. On completion this project would expedite the work in all regards.
There is indeed the existence of complications with Hotel activities carried out not only in
Burao Society but all over the world. These complications range from service to delivery of
9
Allore Hotel Management System
Hotel goods and services. We have been hearing of hotels making loses and thus shutting
down, customers complaining of poor service deliveries in hotels and several others. Such
complications ought to be eliminated and hotels ought to have good performance with better
quality services and products. It‟s because of such facts that drove us to come up with a much
better program that can foresee the success of hotel operations not only in Burao region but
the whole Somaliland Nation and world at large.
We decided to develop this Hotel project with a number of objectives that we ought to be
achieved. Such objectives include the following:
First and foremost, this project was developed with the aim of fulfilling the
requirements for the accomplishment of our degree satisfaction. It‟s a clear fact that
one ought to undergo such a study before being pronounced as a graduate in ICT.
Protection of data among hoteliers was also another objective of our project.
Information stored through this project can be accessed easily by the concerned
parties as reference in the future.
This project was also developed for the security of hotel business operations between
the employees and the employers. Through such a project, it‟s a clear fact that trust
between the employees and the employers might be well maintained and hence
avoidance of suspicions between them.
10
Allore Hotel Management System
Increasing customer satisfaction among hoteliers was also another important objective
of our project. Through such a project, customers shall be served well and
satisfactorily without any complaints.
In conclusion, the above stated comprise some of the most important objectives of our project
together with several others that still stay unmentioned.
This project was developed in the period between May and August 2014 in Burao City. It
was mainly concerned with Hotel Management System that could foresee hotel operations
being done in proper manner through integration with ICT which has become a major
concern of today‟s wold other than the manual system currently used.
The sample hotel used in the project is Alloore Hotel situated in the heart of Burao City.
Alloore hotel was started when the year was 2005 in the hargeisa city and now alloore has
many branchs in somaliland region like berbera, hargeisa, burao.
Alloore burao branch was opened 2010 and it becomes one of the best hotels in burao during
these years it is opened.
The delivers of alloore hotel enclude restuarent,holls, bed rooms and free internet .
Bed room availabilaties are as follows free internet, free TV and you can get other
availabilities when you are in ALLOORE HOTEL like good barking if you have a car.
The Hotel is in Burao, All the United Nations Agencies and International Organizations
offices and residences are located near the hotel which is renowned for its tranquillity and
serene atmosphere. Most of the government offices are only 10 minutes‟ drive from the hotel
which makes it just the perfect place for business and pleasure.
The scope of this project is already mentioned in this section. the system scope of the systems
covers the functionality to register customers, staffs, treatments and proscriptions given to
customers as well as retrieval of that information. The system has also the scope to print
various reports and searching of customers and treatment information.
11
Allore Hotel Management System
As earlier on stated, this project was finally developed through a series of hardships. There
were some of the aspects that to some extent proved to be barriers to our project
development. Some of these limitations included the following:
Lack of enough time to develop the project and finally prepare its report.
Insufficient finance to develop the project since it required us to acquire materials
such stationaries, electronics, the internet and several others.
Users (employees).
Administrator (management of the Hotel).
Users can see the required articles or menus
Administrator can maintain daily updates in the hotel records. Administrator is must be an
authorized user. He can further change the password. There is the facility for password
HOTEL Management System” has been designed to computerize the following.
CHAPTER TWO
SYSTEM ANALYSIS:
Understanding and analysing of the several problems or limitations associated with the Old
System which is purely manual, has been so paramount to the development of our new Hotel
Management System. Old system is a manual system that stores inventory transactions
manually. It‟s used to manually update inventory transactions for each day that causes for
typing errors from the user. Mismanagement when updating the previous inventory records
and it‟s hard to find any saved or previous inventory records. Lack of reports and ordered
Inventory items. Daily printing inventory forms to manually store in a file to refer previous
inventory data that causes to use many papers each day that costs money. After many
problems that faced that old system it‟s actually needed to develop a new system that is more
Hotel
management
system
Payment order report
Payment form
Advance form
Employe registration
report report
14
Allore Hotel Management System
ineffective.
Hard to sum and the different types of money such as Dollar ($), Shilling, Cheque and
many more.
However, with the existence of the above problems associated with the old system, the new
system is designed so as to find every single solution to them hence being relevant and
Back-End
a. SQL Server 2008, selected for Database development and processing DBMS Front-
End
a. Visual Studio 2008 as the IDE (Integrated Development Environment) for the user
b. VB.Net 3.5 (including its latest and most advanced features), as the programming
language.
Ms. Visual
Ms. Word
Ms. PowerPoint
Efficient and effective program when user is accessing different inventory reports.
a. The system stores the daily activity information such as the Username, First name,
b. The system updates the collected information from the forms when there is need to do
so.
c. The system registers the inventory of the hotel which one has on hand before any
transaction
e. The system updates the Inventory whenever transaction occurs between forms.
f. The system collects any information related to a purchase forms like username, first
g. The system allows purchase information to be frequently updated since purchases are
frequently changing.
h. The purchaser takes items he/she needs from the stock Inventory
a. Secure
b. Fast
c. Reliable
d. Easy
e. Friendly
g. Efficient
h. Effective
Security
The system is secure because it has many security related features. Every user has his/her
own security type such as permissions and roles which relates every user‟s responsibility;
since the system has different users it also has different security; for example Item no can‟t
enter or access empty or letters, the inventory of the hotel where he/she could otherwise
Fast
The system is fast where users can do their tasks faster because the system is built in
Reliability
The system is reliable where users don‟t worry about what they are doing because it is fault
tolerant which can accept errors made by users and record those errors to monitor the kind of
Easy
It is easy that users can do their tasks easily with the help of a small user manual which is
Efficient
Effective
It is effective in that it contains the appropriate functions and information content, organized
in an appropriate manner
Although the New System is designed to solve the several problems associated with the Old
System and improving a number of hotel management activities, it also has its own
CHAPTER THREE
SYSTEM DESIGN
3.1 Introduction to System Design:
must consider its elements- input and output, processors, control, feedback, andenvironment.
system that allows inputs and facilitates interaction with the user. Themain characteristic of an
open system are input from outside, processing, output, and operation in cycles through
requires a special type of information system. Strategicsystem for long range planning policies
the daily informationneeded to operate the business. Future emphasises on the decision
support system not on information processing, it requires a computer aided environment and
What is database?
organization
In this chapter we describe the database design part of Alloore Hotel Management System
stages are planning, defining, designing, building, testing and deployment. The idea for the
project stages are originates in the environment or from within the organization. Once the
If the answer is yes, a designing study is conducted. Analysis is a detailed study of the various
operation performed by a system. System design refers to the technical specifications that will
modifications, or any changes from the original specifications. To ensure the success of the
system, careful and often extensive planning is required. The overall management process is
The first step in the system development life cycle is the identification of a need.
This is a user‟s request to change, improve or enhance an existing system. Because there is
likely to be a stream of such requests, standard procedures must be established to deal with
them. The objective of project selection is to determine whether the request is valid and
system or build a new one. There are four primary sources of project requests.
The requesters inside the organization are department managers, senior executives, and
systems analysts. Shared, complete and accurate information requirements are essential in
building computer – based information systems. The Association for Computing Machinery
suggesting two distinct job titles for systems developments: “information analyst” and
“systems designer” rather than the more general term “systems analyst”. There are three key
strategies or general approaches for eliciting information regarding the user‟s requirements:
(1) asking, (2) getting information from the existing information system, and prototyping. The
third strategy for determining user information requirements is used when the user cannot
Project Review and Selection will be done by different methods such as Steering committee
method, Information System Committee Method, User-group committee method and other
methods. The data that the analysts collect during preliminary investigations are gathered
through two primary methods: reviewing documents and interviewing selected company
personnel. Preliminary investigations examine project feasibility; the likelihood the system
will be useful to the organization. Three tests of feasibility-all equally important-are studied:
operational, technical and financial. Not all projects submitted for evaluation and review are
judged acceptable.
23
Allore Hotel Management System
Data flow diagrams are used by information technology professionals and systems analysts to
document and show users how data moves between different processes in a system. Analysts
generally start with an overall picture and then move on to the finer details of each process.
Data flow diagrams provide a graphical representation of how information moves between
processes in a system. Data flow diagrams follow a hierarchy; that is, a diagram may consist
Data flow diagrams originated with Chris Gane and Trish Sarson in 1979, who popularized
the technique for structured analysis and design. Edward Yourdon and Tom DeMarco
introduced another method in the 1980s which used circles instead of rounded rectangles to
denote processes and which became popular with many systems analysts.
Data flow diagramming employs four symbols to illustrate data movement; squares to
represent external entities, the sources and destinations of data in a system; arrows to
This diagram contains how project main part connects its forms and report views by using
arrows shows you how the project connects with each other.
Splash
Employe report
Login form
Add new user
Customer report
Employee form
Customer form
Payment form
Stock form
Suppliers form
the monthly or day to day activities of Hotel like Room activities, Check in of New
25
Allore Hotel Management System
Customer, Check out of customer, assigning a room according to customer requirement, and
finally compute the bill etc. which has to be performed repeatedly on regular basis. To
provide efficient, fast, reliable and user-friendly system is the basic motto behind this
exercise.
Let us now discuss how different file details handle the structure and data files:
Password
In this module, this project is for multiple users. If a User enters a password and the software
checks its validity. If the password is valid then option is given to change the password,
recovery, log out, login, new users sign in. The Administrator can also update changes in the
This is used to add a new employee details, delete entity details and view the details. In that
screen, the automatic item is created. In this detail, whenever a new entity is required to be
the data is already existing or not. If it already exists, then it prompts that “Entry already
existing” and if not than the data is entered with the various validation checks.
Function NEW_ROOM ()
This is the function used to open a new room for a customer so that he/she can assign a
separate room. In that screen, the automatic room number is created. After opening a new
room for the customer, finally a room is assigned to a customer and the room records are
In this project you have to design and implement an HMS that can be used by a small hotel.
Reserve a room for a customer and then unreserved it when the customer leaves the
hotel.
Each customer reserving a room should have a profile in the HRS containing name,
id, address, marital status, the time period of reservation, type of the room. You have
the choice to either delete the profile when the customer leaves or keep it in the
system.
The program should give an information about the hotel room‟s status i.e. how many
rooms are reserved and how many are not, types of those rooms, how many customers
The HMS should have like a waiting list to add customers to if the hotel is full.
The user of the program should know how much the customer paid and how much
Searching for a room by its number should be an available service in the program in
Also you need to find the unreserved rooms in the hotel. This service should display
You can search for a person by name or id and then display his/her profile.
When a customer leaves the hotel, the program should display a bill for him
27
Allore Hotel Management System
CHAPTER FOUR
PROJECT MODULES
In project modules every hotel has topics and documentations were modules writings the
services or products and system running that hotels does work and perform its daily workers.
And there are many topics in Hotel Management system. But unfortunately at ALLOORE
Hotel have system and that system doesn‟t have any document but small application in the
system they work so that current system so accurate enough organization‟s goals and
objectives.
We are emphasize some applications were successfully worked and no redundancy but have
some good characteristics we shall refer for like Aloore Hotel so we shall divided the hotel
management system menu bars into five categories like employee, customers, rooms, hotel
items, expence/accounts and about us and Alloore hotel managements menu bars perform
Hotel Deep Sleep system was established the Unified Process (UP) methodology the worked
an accurate. In this Hotel management system was simple and accurate like the above figure
(1) shows and snap the system overall overview and this maintenance and performed the
customer menu bars and also this menu has other subsystem of the hotel management system
the easily worked this organization and also guest registration and create new guest did show
- Employee information
- Customer information
- Rooms information
- Project information
So our scope generalized, modified and add so other application so necessary, but some
advertisement documentations and oral interview we get with the Alloore Hotel management
was their services do they facilitate and so small others supported the hotels efforts and
services and their facilitate. Really we mentioned our documentations what amazing the
manager of hotel that we present was make deep in research and analysed with their hotel
system at current time uses and do more investigation and look of many sides to make
documentation about Alloore Hotel Management like defects their system have and also
did present like mission, vision statement, goals and objectives of the hotel then they
accepted and welcomed open hands and congratulates what we done for documentations
presents we are the first documentation of what we mentioned above . In this small
application does not have enough work about the hotel services, and other social update like
ZAAD services and eCASH debit to use the system for the development of the environment,
then we develop their so user-friendly and so times-saving of the user-working and so other
An organizational chart provides highly understandable figure that is how the organization
Also The Hotel can make arrangements for anybody who wishes to get more information
It is the most important department of the hotel. The main function of this department isto
give warm welcome to the guest. It helps to create good image in front of the guest. This is
the first department where guest comes in contact with. It generates the maximum revenue
for the hotel as it sells room to the guests. This also includes sub departments like reservation,
Bell desk, and Information desk. It also provides some facilities like concierge service to the
guest.
31
Allore Hotel Management System
It is a department which serves food and beverage to the guest in a very attractive and
pleasing manner, which creates good impression on the guest. There are several kind of food
and beverage outlet like restaurants, Bars, Coffee shops, take away banquets etc. It is second
most revenue producing department of the hotel by selling different types of food and
Housekeeping:
This department is responsible for cleaning and maintaining hotel premises which include
public area, guest rooms, lobby, area etc. generally this department is not visible to the guest.
It works for guest satisfaction through keeping the environment clean and hygiene.
Horticulture is one of the most important features of housekeeping department which deals
with different types of flower arrangement and maintaining the garden. This department
It is a department with deals with the preparation of different types of food items. It is not a
visible department to the guest because it usually works in the back area. It makes the food
more delicious and attractive by different styles of cooking method. Different cuisine has
their own kitchen and specialized chef to work on it according to their skills. Bakery
departments comes under this which include preparation of desserts, breads etc.
Laundry services :
32
Allore Hotel Management System
When considering a laundry service at Alloore Hotel, there are several things to think about.
In the case of guests who do not own washers and driers, Laundry services are convenient,
but they can also be small costly, and it may be a good idea to price out Alloore Hotel before
the types of laundry which a service is willing to handle. Finally, getting competing quotes
from several laundry services is strongly recommended, for guests who live in our hotel
Guests who use laundry services are sometimes willing to offer advice and recommendations.
Asking around among friends and family members to see who uses a service is a good idea,
as these people may be able to provide advice about the best service to use, and things to
CHAPTER FIVE
IMPLEMENTATION
5.1 Introduction:
Implementation is the level of the project where theoretical design is turned into working
system. It is the most level of developing successful new system and gaining the users
organization requirements.
We implemented this project successfully; in this project we analyzed the whole aspects of
the project, after that we designed the database and normalized. After designed the database
and forms we the implemented both the database and the user interface. In the
In database implementation we use SQL server and DDL is one the best database
objects, modifying database objects using ALTER statement and destroying the database
Goals:
o Operate hotel properties, furnished and equipped to the top of the Somaliland best
o Further reinforce our position in the market place as a recognized and trusted Hotel
Management Company.
facilities and service standards, food and beverage and related products, at a fair price.
Objectives:
Somaliland. Established in 2005 to 2005 and fully active since 2008 with the support of the
Somaliland sovereignty and dignity because its foundation was to develop Somaliland hotels
to competitor‟s and maintain the same levels of the standard of international hotels, Alloore is
working to ensure a sustainable future for the tourism and guests in hargeisa, berbera and
5.1.3 Vision:
level. We have the vision to be the best hotel in our area and Somaliland hotels, and as such
position ourselves as the choice for our tourists and guests. The quality of service is based on
5.1.4 Mission:
A Home: What the client feels comfortable, quiet and cocky(self-satisfied): Alloore Hotel is
to become the refuge of the traveller who comes to realize her dream of meeting the
wonderful Hotel in all over the world, or the traveller who wants to rest after completing their
The purpose of the input consideration phase is to refine the requirements in the input
consideration phase, analyze the code, the input code and the index for the input
consideration phase.
During the input consideration phase requirements will be further code index that makes
working form, the risk list and use case will be completed. The architectural will be
Code below shows us the database implementation of Alloore hotel management information
system.
Users Table
CREATETABLE tblusers (
username nvarchar(50),
yearofbirth datetime,
photo image,
joiningdate datetime,
gender Table
CREATETABLE tblgender (
Male varchar(10),
Female varchar (10),
)
Manager Table
CREATETABLE tblmanager (
Hurdo varchar(10),
Finance varchar (10),
Manager varchar (10),
Advance Table
Attendance Table
CREATETABLE tlbattendance (
empidnchar(20) not null,
firstname varchar(50) not null,
departmentnvarchar(20) not null,
shiftvarchar(20) not null,
time_indatetime,
time_out datetime ,
)
39
Allore Hotel Management System
Expence Table
CREATETABLE tlbexpence (
Serial_nonchar(20) not null,
Expence_name nvarchar(50) not null,
datedatetime,
discriptionnvarchar(400) not null,
expencetypenvarchar(50) not null,
shiftvarchar(50) not null,
shiling_slandnchar(20) not null,
ratenchar(20) not null,
dollarnchar(20) not null,
total_indollarnchar(20) not null,
)
Hall Table
CREATETABLE tlbhall (
datedatetime,
type nvarchar(50) not null,
ref_no nchar(20) not null,
detailsnvarchar(400) not null,
qtynchar(20) not null,
pricenchar(20) not null,
amountnchar(20) not null,
depositnchar(20) not null,
Restaurant Table
CREATETABLE tlbrestaurent(
Ref_nonchar(20) not null,
Date datetime,
Cus_no nchar(20) not null,
Cus_name varchar(40) not null,
40
Allore Hotel Management System
Stock Table
CREATETABLE tlbstock (
Item_namevarchar(50) not null,
Item_no nchar(50) not null,
Serial_nonvarchar(10) not null,
Suppliers Table
CREATETABLE tlbsupliers (
Date datetime not null,
Item_name varchar(50) not null,
Sup_nonchar(10) not null,
Sup_namenvarchar(50) not null,
Ref_no nchar(20) not null,
notes nvarchar(400) not null,
qtynchar(20) not null,
cost_pricenchar(20) not null,
amountnchar(20) not null,
paidnchar(20) not null,
41
Allore Hotel Management System
Vocations Table
CREATETABLE tlbvocations (
empid nchar(20) not null,
employename varchar(50) not null,
middlenamevarchar(10) not null,
lastnamevarchar(50) not null,
started_date datetime,
end_date datetime,
noofdays nchar(20),
discription nvarchar(400) not null,)
After designed and coded backend of the software we will start the frontend or output
consideration. In user output interfaces we normally use Forms and Reports.
Before we begin coding the frontend we shall discus Forms and Reports:
Forms: form is interface or output system used to interact the database. Using forms you can
update record, save new record to the database or delete a record from the database. On the
other hand, a form contains data from only one record such as data about only one customer,
employee or other forms.
Snapshot
Spash Form:
42
Allore Hotel Management System
Employeeregistration form
This form is employee registration form; this form was intended to register
employees of the hotel. This form also used to update or delete and save employee
information.
In order to save successfully employee information to a database fill all the required
Payment form
Payment form is form used to pay employee monthly salary payment from is saved
the data by using database which for useful payment information searching.
Suppliers form
46
Allore Hotel Management System
C# Code
Since the code is too long we took only the code of the Datalayer and only two forms
code, employee form and room account code. Because if we are take all the codes of
all the forms it becomes too long code and we can‟t conclude it so then we try to
make short form and just two examples only.
Room account code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
namespace final_project
public Roomaccount()
{
InitializeComponent();
}
privatevoid GenerateId()
{
cmd = newSqlCommand("select ISNULL(Max(customerid),1)+1 from tblcustomer",
conn);
49
Allore Hotel Management System
conn.Open();
txtcustomerid.Text = txtfullname.Text + cmd.ExecuteScalar().ToString();
conn.Close();
}
privatevoid fillcbo()
{
da = newSqlDataAdapter("select * from tblgender", conn);
ds = newDataSet();
da.Fill(ds, "tblgender");
cbogender.DataSource = ds.Tables["tblgender"];
cbogender.DisplayMember = "gender";
}
privatevoid fillroomtype()
{
da = newSqlDataAdapter("select * from tblroomtype", conn);
ds = newDataSet();
da.Fill(ds, "tblroomtype");
cboroomtype.DataSource = ds.Tables["tblroomtype"];
cboroomtype.DisplayMember = "roomtype";
}
privatevoid fillroomnumber()
{
}
privatevoid customer_registration_Load(object sender, EventArgs e)
{
GenerateId();
a = txtfullname.Text;
fillcbo();
cbogender.SelectedIndex = -1;
cbogender.Text = "--SELECT--";
fillroomtype();
cboroomtype.SelectedIndex = -1;
50
Allore Hotel Management System
fillroomnumber();
cboroomnumber.SelectedIndex = -1;
cboroomnumber.Text = "--SELECT---";
filldg();
}
if (txtcontact.Text == "")
{
MessageBox.Show("Pls Enter contact.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtcontact.Focus();
return;
}
51
Allore Hotel Management System
if (dtbenteringdate.Text == "")
{
MessageBox.Show("Pls Enter entering date.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
dtbenteringdate.Focus();
return;
}
if (txtstaying.Text == "")
{
MessageBox.Show("PlsEntert staying.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtstaying.Focus();
return;
}
if (txtoutdate.Text == "")
{
MessageBox.Show("Pls Enter outdate.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtoutdate.Focus();
return;
}
if (txtstayingdays.Text == "")
{
MessageBox.Show("Pls Enter stayingdays .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtstayingdays.Focus();
if (cboroomtype.Text == "")
{
MessageBox.Show("Pls Select roomtype .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
cboroomtype.Focus();
return;
}
if (cboroomnumber.Text == "")
{
MessageBox.Show("Pls Select roomnumber .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
cboroomnumber.Focus();
}
if (txtfloor.Text == "")
{
MessageBox.Show("Pls Select floor.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
52
Allore Hotel Management System
txtfloor.Focus();
}
if (txtamountperday.Text == "")
{
MessageBox.Show("Pls Select amountperday.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtamountperday.Focus();
}
if (txtextracharges.Text == "")
{
MessageBox.Show("Pls Select extracharges .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtextracharges.Focus();
}
if (txtprepaid.Text == "")
{
MessageBox.Show("Pls Select prepaid.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtprepaid.Focus();
}
if (txttotalamount.Text == "")
{
MessageBox.Show("Pls Select totoalamount .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txttotalamount.Focus();
}
if (txtdiscount.Text == "")
{
MessageBox.Show("Pls Select discount .", "Important Note", MessageBoxButtons.OK,
if (txtamountpaid.Text == "")
{
MessageBox.Show("Pls Select amountpaid .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtamountpaid.Focus();
}
if (txtbalance.Text == "")
{
MessageBox.Show("Pls Select balance .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtbalance.Focus();
53
Allore Hotel Management System
try
{
SqlCommand cmd1 = newSqlCommand("insert into
tblcustomer(fullname,customerid,gender,address,contact,enteringdate,staying,outdate,staying
days,roomtype,roomnumber,floor,amountperday,extracharges,prepaid,totalamount,discount,a
mounttopaid,amountpaid,balance
)values(@name,@cusid,@gender,@address,@contact,@doj,@staying,@outdate,@stayinday
s,@roomtype,@roomnumber,@floor,@perday,@charges,@prepaid,@totalamount,@discoun
t,@amounttopaid,@paid,@balance)", conn);
cmd1.Parameters.AddWithValue("@name", name);
cmd1.Parameters.AddWithValue("@cusid", cusid);
cmd1.Parameters.AddWithValue("@gender", gender);
cmd1.Parameters.AddWithValue("@address", address);
cmd1.Parameters.AddWithValue("@contact", contact);
cmd1.Parameters.AddWithValue("@doj", doj);
conn.Open();
int i = cmd1.ExecuteNonQuery();
conn.Close();
if (i > 0)
{
MessageBox.Show("Employee registered:" + "fullname is:" + txtfullname.Text);
54
Allore Hotel Management System
}
catch (Exception ex)
{
}
finally
{
// Reset();
// GenerateId();
}
}
txttotalamount.Text = c.ToString();
}
c = a - b;
txtamounttopaid.Text = c.ToString();
}
int a, b, c;
a = Convert.ToInt32(txtamounttopaid.Text);
b = Convert.ToInt32(txtamountpaid.Text);
c = a - b;
txtbalance.Text = c.ToString();
}
btnupdate.Enabled = true;
//txtsearch.Text = "";
id =
dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells["customerid"].Value.ToStrin
g();
}
}
privatevoid filldg1()
{
conn =
newSqlConnection(ConfigurationManager.ConnectionStrings["constr"].ConnectionString);
cmd = newSqlCommand("select * from tblcustomer where customerid=@id", conn);
cmd.Parameters.AddWithValue("@id", id);
da = newSqlDataAdapter(cmd);
ds = newDataSet();
da.Fill(ds, "Emp");
dt = ds.Tables[0];
56
Allore Hotel Management System
dataGridView1.DataSource = dt;
}
privatevoid filldg()
{
conn =
newSqlConnection(ConfigurationManager.ConnectionStrings["constr"].ConnectionString);
da = newSqlDataAdapter("select * from tblcustomer", conn);
ds = newDataSet();
da.Fill(ds, "Emp");
dt = ds.Tables[0];
dataGridView1.DataSource = dt;
}
c = a *b;
txttotalamount.Text = c.ToString();
}
dataGridView1.DataSource = dvc;
if (txtsearchname.Text == "")
{
filldg();
}
conn.Open();
try
{
cmd.ExecuteNonQuery();
conn.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
//Reset();
filldg1();
dataGridView1.ClearSelection();
// dataGridView1.Rows[rowIndex].Selected = true;
//BtnaUpdate.Enabled = false;
// MessageBox.Show(id);
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
namespace final_project
{
publicpartialclassemployeeregistration : Form
{
SqlConnection conn = new
SqlConnection(ConfigurationManager.ConnectionStrings["constr"].ConnectionString);
SqlCommand cmd;
SqlDataAdapter da;
DataSet ds;
string a;
string id;
DataTable dt;
string imgpath;
byte[] data;
public employeeregistration()
{
cbosex.SelectedIndex = -1;
cbosex.Text = "--SELECT--";
filldg();
}
if (txtaccupation.Text == "")
{
63
Allore Hotel Management System
if (cbodepartment.Text == "")
{
MessageBox.Show("Pls Enter depatment.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
cbodepartment.Focus();
return;
}
if (txtemail.Text == "")
{
MessageBox.Show("PlsEntert email.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtemail.Focus();
return;
}
if (cbosex.Text == "")
{
MessageBox.Show("Pls Enter sex.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
cbosex.Focus();
return;
}
if (txthomephone.Text == "")
{
MessageBox.Show("Pls Select homephone .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txthomephone.Focus();
return;
}
if (txtmothername.Text == "")
{
MessageBox.Show("Pls Select mothername .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
64
Allore Hotel Management System
txtmothername.Focus();
}
if (dtbdateofjoined.Text == "")
{
MessageBox.Show("Pls Select date of joined.", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
dtbdateofjoined.Focus();
}
if (txtbirth.Text == "")
{
MessageBox.Show("Pls Select mothername .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtbirth.Focus();
}
if (txtage.Text == "")
{
MessageBox.Show("Pls Select mothername .", "Important Note", MessageBoxButtons.OK,
MessageBoxIcon.Information);
txtage.Focus();
}
if (pictureBox1.Image == null)
{
MessageBox.Show("Pls Insert Employee Photo");
return;
}
string empid = txtempid.Text; string fname = txtfirstname.Text; string mname =
txtmiddlename.Text; string lname = txtlastname.Text;
string address = txtaddress.Text; string accupation = txtaccupation.Text; string dept =
cbodepartment.Text; string email = txtemail.Text; string sex = cbosex.Text;
cmd1.Parameters.AddWithValue("@mother", mother);
cmd1.Parameters.AddWithValue("@birth", birth);
cmd1.Parameters.AddWithValue("@age", age);
cmd1.Parameters.AddWithValue("@doj", doj);
if (imgpath.Trim().Length > 0)
{
data = File.ReadAllBytes(imgpath);
}
else
data = null;
cmd1.Parameters.AddWithValue("@photo", data);
conn.Open();
int i = cmd1.ExecuteNonQuery();
conn.Close();
if (i > 0)
{
MessageBox.Show("Employee registered:" + "employeID is:" + txtempid.Text);
}
}
catch (Exception ex)
{
}
finally
{
Reset();
}
}
publicvoid Reset()
{
txtempid.Text = txtfirstname.Text = txtmiddlename.Text = txtlastname.Text =
txtaddress.Text = txtaccupation.Text = "";
cbodepartment.Text = "--Select--"; cbosex.Text = "--Select--";
txthomephone.Text = txtcellphone.Text = txtemail.Text = txtmothername.Text =
txtbirth.Text = txtage.Text = ""; dtbdateofjoined.Text =
System.DateTime.Now.ToShortDateString();
pictureBox1.Image = null;
if (!(s.Contains(a)))
{
MessageBox.Show("Invalid Email Id");
txtemail.Clear();
txtemail.Focus();
return;
}
int pos = s.IndexOf(a);
if (pos == 0)
{
MessageBox.Show("Invalid Email Id");
txtemail.Clear();
txtemail.Focus();
return;
}
if (!(s.Contains(b)))
{
MessageBox.Show("Invalid Email Id");
txtemail.Clear();
txtemail.Focus();
return;
}
}
}
}
pictureBox1.Image = Image.FromStream(ms);
btnupdate.Enabled = true;
//txtsearch.Text = "";
id =
dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells["employeID"].Value.ToStrin
g();
}
}
privatevoid filldg1()
{
conn =
newSqlConnection(ConfigurationManager.ConnectionStrings["constr"].ConnectionString);
cmd = newSqlCommand("select * from tblemployee where employeID=@id", conn);
cmd.Parameters.AddWithValue("@id", id);
da = newSqlDataAdapter(cmd);
ds = newDataSet();
da.Fill(ds, "Emp");
dt = ds.Tables[0];
dataGridView1.DataSource = dt;
}
privatevoid filldg()
{
conn =
newSqlConnection(ConfigurationManager.ConnectionStrings["constr"].ConnectionString);
da = newSqlDataAdapter("select * from tblemployee", conn);
ds = newDataSet();
da.Fill(ds, "Emp");
dataGridView1.DataSource = dt;
}
@home,mother=@mother,yearofbirth=@birth,age=@age,dateofjoining=@doj,Photo=@phot
o where employeID=@empid", conn);
cmd.Parameters.AddWithValue("@empid", empid);
cmd.Parameters.AddWithValue("@fname", fname);
cmd.Parameters.AddWithValue("@mname", mname);
cmd.Parameters.AddWithValue("@lname", lname);
cmd.Parameters.AddWithValue("@address", address);
cmd.Parameters.AddWithValue("@accupation", accupation);
cmd.Parameters.AddWithValue("@dept", dept);
cmd.Parameters.AddWithValue("@email", email);
cmd.Parameters.AddWithValue("@sex", sex);
cmd.Parameters.AddWithValue("@home", home);
cmd.Parameters.AddWithValue("@cell", cell);
cmd.Parameters.AddWithValue("@mother", mother);
cmd.Parameters.AddWithValue("@birth", birth);
cmd.Parameters.AddWithValue("@age", age);
cmd.Parameters.AddWithValue("@doj", doj);
cmd.Parameters.AddWithValue("@photo", data);
conn.Open();
try
{
cmd.ExecuteNonQuery();
conn.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
dataGridView1.ClearSelection();
// dataGridView1.Rows[rowIndex].Selected = true;
//BtnaUpdate.Enabled = false;
// MessageBox.Show(id);
}
}
conn.Open();
int i = cmd.ExecuteNonQuery();
conn.Close();
MessageBox.Show(i + "record (s) deleted");
txtempid.Text = "";
The purpose of the processing consideration is to refine the requirements in the process
following the program phases, analyzesand the architecture, the design model and the plans.
During the process consideration requirements will be further analyzed, details and designs
will be completed. The architectural will be developed to test the performance and feasibility
of the system.
Here we Plan of the process consideration for doing the following activities.
o Details Uses cases
o Use cases analysis
o Use case Design
o Use case Diagrams
71
Allore Hotel Management System
Meets the business and technical requirements that guided its design and
development, and
Works as expected.
Software testing also identifies important defects, flaws, or errors in the application code that must
be fixed. The modifier “important” in the previous sentence is, well, important because defects must
be categorized by severity.
Software testing and installation begins early phase of system development life cycle; every
phase of system development life cycle –analysis phase, design and implementation all these
phases are tested.
Installations
Software installation is an easy to install because you follow installation process only you
must click next the number of times considered to click it.
Hardware
CHAPTER SIX
FEASIBILITY STUDY
6.1 Introduction:
financial and technical aspects of a proposal. Feasibility study is the test of the system
proposal made to identify whether the user needs may be satisfied using the current
software and hardware technologies, whether the system will be cost effective from a
business point of view and whether it can be developed with the given budgetary
constraints. A feasibility study should be relatively cheap and done at the earliest
possible time. Depending on the study, the decision is made whether to go ahead with a
more detailed analysis. When a new project is proposed, it normally goes through
proposed system is possible to develop with available resources and what would be the
Other feasibility concern relates to project duration and is referred to as assessing time
feasibility. This project is time feasible because it meets the deadlines of the time of the
project.
This time feasibility evaluates how the time affects other works within the organization view
and the proposed system. This project Alloore hotel management System is a timely feasible.
73
Allore Hotel Management System
Software availability feasibility is a software analysis that resource availability may affect
technology needed for the proposed system is available or not. Since technology needed is
available this proposed system is technically feasible. This software analysis involves how it
will work when installed and the assessment of managerial environment in which it is
implemented. As we know, people are inherently resistant to change. The new proposed
system is very much useful to the users and there for it will accept broad audience from the
Cost effective feasibility determines or checks whether the system can be developed with
available budget. This system does not require enormous amount of money to develop; so it‟s
economically feasible.
Alloore hotels project lets you lower your costs & manage your hotel without compromise. It
is designed to help you organize operations, and change things quickly & easily, when
needed. Everything can be managed from one point of forms and can be stored in the
database.
CHAPTER SEVEN
FUTURE DEVELOPMENT
7.1 Introduction:
Ever since Alloore Hotels announced it was in Hargeisa City, and it been tight-hiked on the
hotel designs and, furthermore, quiet on future development for the brand. Until now
Alloore Groups is now moving forward with projects in Hargeisa, Berbera and burao, with an
The Alloore hotel becomes quite a trendy section for new boutique hotel development.
Alloore hotel burao locates at the center of the burao and Broadway in the neighborhood
known as abdi aw daahir pharmacy, neighboring Afgooye village such as the Afgooye
mosque and The west side of Afgooye bitumen. Alloore hotel is expected to be opened in 24-
hours and have approximately 100 rooms at moment, large meeting hall space and extra
food-and-beverage.
know like data validation, quick search and so on, but some advertisement documentations
you will see this project with the Alloore Hotel has its services do they facilitate and so small
The future development section we had some issues regarding to the time to finish some
features in the hotel Management system; we decided to make extensions for the project
iteration
– The first issues we have to solve is to find solution for the room availability, in the
hotel system a room must be search by the status “Available” , we haven‟t reached
– The invoice is also part of the project iteration 2, we need to refine more the
billing to calculate besides the reservation of a room also handle billings regarded
to the restaurant, fitness center, phone calls, video shop, It room and room items.
– Changes in the table guest in the database must also be applied; it needs more
specification of the guest information such as email, zip code, city and country.
– In future our program would be able to manage staff information. This means that
all the staff in the hotel will be provided with a login and password. It is from
there that any staff will not be allowed to access the system and therefore perform
the intended tasks. There more classes will be created and the system is expected
to grow.
– The Reservation is also part of the priorities cited above in our system, where
guests are able to book by choosing numbers of rooms, arrival and departure
project system will have a database which can be accessed anytime for these
– Another future idea is to create an internal mail system which allows the staff to
communicate remotely whenever they are logged in the system. This would
BIBLIOGRAPHY
Name of the book Author name
76
Allore Hotel Management System