Beruflich Dokumente
Kultur Dokumente
This chapter aims to describe the introduction, conceptual framework, statement of the problem as well as
objectives, significance of the study, scope and delimitation of the proposed system and definition of terms.
1.1 INTRODUCTION
The Ordering System are the “mechanical” part of inventory management. Wherein, the systems will
provide efficiency of recording orders and a receipt with ease. Ordering Management System is use when filling
orders for various types of securities and are able to track the progress of each order throughout the system. It is
widely used in many businesses to manage, locate and monitor the data and information of objects and materials that
are related to their product. Most of the business companies used paper processes and semi-automated system such
The project is entitled Bakeshop Ordering Management System. This system is based on ordering and
selling the cake, bread and other pastry and generating bills for each customer. The main principle behind the need
of Bakeshop Ordering Management System is easy supervision of shop. This project is about making a database for
the Bakeshop to make the records of the sales/purchase and products. However, the current system is in-efficient
since it has to record each and everything on registers, which is difficult to manage.
It will be able to check any report at any time. It can help to reduce the time and effort, with sales
monitoring function, a lot of filtering options, and it can also produce computer generated receipts and reports.
1.2 CONCEPTUAL FRAMEWORK
Bakeshop
Personal Generate
information reports Ordering
for ordering
Management
Availability of
product System
The system development Input – Process – Output shown in figure 1.1 is the representation on how the
researchers conducted the conceptualization to solve or to give an acceptable solution on the identified problem
INPUT
Personal information for ordering – It collects the personal information of the customer.
PROCESS
Availability of product – The system will check and verify the availability of the product.
OUTPUT
BAKESHOP ORDERING MANAGEMENT SYSTEM – The system will provide an easy ordering
Because of the rapid change in season as the evolution of technology, there are people who are contented
on what they have and there are others who are not. Most of the time, people do not realize modern ways or suitable
There are some businesses which is still using manual process from their time of operation till their closing
time in the evening. It is a routine work. Most of the bakeshop are still using manual operation especially when it
comes to financial monitoring of their business. That’s why the owner has to count their income using paper and ball
pen before closing instead of just resting. When it gets unlucky, the record might get lost because it is only on paper
record. The ordering system is the only solution to the existing problem which the owner uses to encounter specially
bakeshop businesses, before going home and have some bonding time.
Main Problem
The main problem of the study is the existing manual system of the bakeshop. It takes a long time to compute the
total bills of the orders and also the bookkeeping of the records.
Specific Problems:
How will the ordering system provide an accurate result in dealing with the daily transactions?
How will the system help in decreasing the responsibility for calculating payments?
The general objective of the project is to design, develop, and deliver a new system that will manage the
ordering system in Bakeshop. And to provide an easy access in getting their orders and verifying their bills.
Scopes:
Security
The system has the security features wherein it is protected by username and password
The files or records can be saved on a USB flash drive, CD’s, DVD’s, or a hard drive.
Only the administrator has an account on the system that can edit, modify, add, view menu and view
reports, while employees in charge in the counter, also have an account or access the system that can only
Delimitation:
Does not have the capability to print the daily, monthly and annual report.
This study focuses on developing an Ordering Management System in a Bakeshop. The main goal of the
study is to shorten the time taken during the instance a customer orders. This project is designed to give comfort for
beneficiary and help to increase their sales by impressing their customers on what technology does beneficiary have.
This study will help the owner to find out if the system lessens his time in administering the Bakeshop.
For the Employees
This study will help the employees to find out if the used of ordering system will ease their work in
Have the benefits of the printed receipts right after purchasing an item or product.
The proposed system may be used as reference data in conducting new researchers. Wherein, this can serve
as a basis of their study and have a substantial idea with regard on what topic to choose. And the future researchers
can also help to improve the system in becoming more accurate, effective and efficient.
It is the good start to have an idea about the future work of the proponents after graduation and enter the
corporate world. This system shall aid the proponents to boost self-confidence in getting accurate information to
their beneficiary by communicating not just only to employees of the said bakeshop but also the general manager
itself.
The terms stated on the following are defined to understand and elaborate its meaning in the way the researcher used
in the study.
Back-up – It is the copying data file to restore its original data after a data lost event.
Database – It is used to store the records of bakeshop data to become organize and easy to find.
Manual System – It is a bookkeeping system where records are maintained by hand, without using a computer
Proponents – It is the students who proposes the research that supports and validate that idea.
Record – It is the collection of related field with information that usually pertains to only one subject.
Sales – It is the total amount of money that a business receives from selling goods or products.
This review consists of books, articles, documents that focus on the same subject matter or other concepts
of the study.
All information about Bakeshop Ordering Management System were gathered through research from the
According to Ali Tariq, Ahsan Abbas & Shahnam Asif. The project is about making a database for the
bakery to make a record of the employees, sales purchase and product. The basic aim of the project is to provide the
search, record, delete, and updating facilities which would be much more efficient and less time consuming. The
software will allow the owners to maintain their entire record in one place which will be easy to manage. It will also
According to Norshahril Bin Abu Talib. In Information Technology era, users need higher and faster
system or application. Time is a highest priority in their life. Faster applications or systems with high response time
are the criteria are mostly being look at. Daily activities such as money transaction from bank and purchasing
products are commonly activities done by users. This is included with taking order in restaurants. Current system
could not fulfill the requirements of customer especially when peak conditions. For example, current system could
not arrange the customer's order properly, wasting time, and need more staff to handle the customers. This will make
trouble to the customers and also to restaurants management. Therefore, the EROS or Executive Restaurant Order
System is the best way to prevent this problem. The EROS system includes the application of taking order system by
waiter or waitress using PDA. After that the order will be sent to the kitchen and cashier by using Wireless Local
Area Network (WLAN). On -the kitchen's section, the order will be displayed on the screen. For customer's
reference, the EROS system provides the receipt. This receipt is available in Cashier application. The EROS system
According to Sarah’s Short Cake – Sales Order System (2017). The purpose of this case study is to provide
an opportunity for information systems students to apply data modeling, process modeling, and user interface design
skills to a semi realistic scenario. Additionally, students in database courses can apply their knowledge and skills to
design the class diagram/entity relationship diagram, as well as create a physical database based on the information
requirements in this case. Furthermore, students in system 18 Journal of the International Academy for Case Studies
Volume 23, Number 2, 2017 development/capstone courses can use this case as a comprehensive project,
proceeding through the system development life cycle and develop a working system for Sarah’s shortcakes. The
www.bekeryindia.com
According to www.bakeryindia.com , “The present day consumer looks for new bakery products, better
appeal, taste and convenience from bakery foods. With a population of 1 billion plus, India has the largest middle-
income consumers, who demand varieties in food, clothing, transport and improved living standards. Opportunities,
in abundance, exist in Bakery cafes and Restaurants. Those who cater fast foods are another fastest growing section
in India. This is a new challenge to baker and he needs to update his information, technology, products and services
to meet the changing needs of the Indian consumer. To meet the new challenges, the government of India
encourages the Small and Medium enterprises (SME) with very attractive financing schemes, to modernize and
upgrade their units. This has opened up opportunities not only to SME’s but also to those in the bakery trade to
According to Gemma Navarro (2012) Computer is general purpose device which can be programmed to
carry out a finite set arithmetic or local operation. Computer has a big rule in our nation today because of our
technology. Wherever you go computer still exist, especially in business it makes the procedure easy and secure by
programming the manual system into a computerizing system. The rule of technology in our life today has a big
impact.
According to Louella D. Desiderio (August, 2012). Business urged to use Internet to push products. It
shows that businesses are advised to use the internet for promoting their products and services as more consumers
are going online to research before making purchases. Companies should consider using online advertisements for
the products and services thy offer as more and more people are using the internet to research goods they plan to
buy.
According to Aquino (2005). Importance of computer application is increasing day by day. The use of computer
information technology results for them to be able to develop products fast and make decisions fast, ability to have
fluid organization structures, able to cope with the demanding work force and external environment by the rapid
development of innovative approaches and lastly using information system confirms the company’s mission vision.
CHAPTER 3
RESEARCH METHODOLOGY
This chapter presents the discussion on the research methodology of the study, the subjects, sampling
technique, research instruments, procedure of data gathering and statistical treatment that will be uses for accurate
The proponents plan to propose a Programming Project entitled “Bakeshop Ordering System”. This
proposed project intended to help to manage the bakeshop. The software will be managed and used by
Administrative Bakeshop, the only capable of editing and or altering the said program. The proposed software will
solve the existing problem encountered in manual and ordering system used by the Admin.
This study focused on how to develop and deploy an Ordering and Management System that will enhance
the traditional method of ordering system used in Bakeshop. The general objective of this study is to develop an
effective and efficient ordering of bakeshop, to help minimize the admins problem during the starts of transactions.
The result of the study can provide the management a view of their ordering process. In gathering data, the
proponents used different gathering instruments such as interview guide, survey form, questionnaires, library
research and web surfing for gathering data to provide the researchers relevant information for the development of
the system.
This study was conducted at Bakeshop. This is because the store is still handling a manual process of daily
transaction and also open to improve their current system that is using.
3.3 RESEARCH DESIGN
The proponent uses the Waterfall Model for System Development Process Model because it was the actual
methodology applied in developing the system. The waterfall model emphasizes that a logical progression of steps
be taken throughout the software development life cycle (SDLC), much like the cascading steps down an
incremental waterfall.
Requirement Gathering and analysis – The proponents gather an interview to the client in determining the flow of
current system which is needed in developing the system. Through this, the proponents analyze the given requirements
in order for the software design to be clearly defined and planned. The goal of systems analysis is to determine the
System Design – The requirement specifications from first phase conducted by the proponents are studied in this
phase and the system design is prepared. This system design helps in specifying hardware and system requirements
Implementation − with inputs from the system design, the system is first developed in small programs called units,
which are integrated in the next phase. Each unit is developed and tested for its functionality, which is referred to as
Unit Testing.
Integration and Testing − All the units developed in the implementation phase are integrated into a system after
testing of each unit. Post integration the entire system is tested for any faults and failures.
Deployment of system − Once the functional and non-functional testing is done; the product is deployed in the
Maintenance − There are some issues which come up in the client environment. To fix those issues, patches are
released. Also to enhance the product some better versions are released. Maintenance is done to deliver these
Administrator
Manage Sales
Data
Bakeshop
Ordering
System
Customer Employee/Staff
Start
Login
Input customer’s
information and
Input employee View employee orders
details details
Input customer’s
information
End
PRODUCT / ITEMS
OOP
CODE
LOGIN FORM
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JPanel;
import javax.swing.ImageIcon;
import javax.swing.JTextField;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import java.awt.Toolkit;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Color;
import javax.swing.border.LineBorder;
import javax.swing.JSeparator;
import java.awt.Frame;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
LoginSystem window = new LoginSystem();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public LoginSystem() {
initialize();
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setUndecorated(true);
frame.setIconImage(Toolkit.getDefaultToolkit().getImage("C:\\Users\\use
r\\Desktop\\JE\\EKANG\\VB\\Thesis\\login logo.bmp"));
frame.setBounds(100, 100, 666, 377);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
});
btnExit.setFont(new Font("Tahoma", Font.PLAIN, 13));
btnExit.setBounds(153, 300, 113, 24);
frame.getContentPane().add(btnExit);
}
}
ORDER MENU FORM
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
import java.awt.Color;
import javax.swing.JLayeredPane;
import javax.swing.JOptionPane;
import javax.swing.JCheckBox;
import javax.swing.JTextField;
import java.awt.Font;
import java.awt.CardLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.sql.Connection;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Date;
import javax.swing.JButton;
import javax.swing.JList;
import java.awt.Component;
import javax.swing.JSeparator;
import javax.swing.border.LineBorder;
import javax.swing.JTextArea;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Date;
JTextArea txtPrice;
JTextArea txtAmount;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
OrderMenu window = new OrderMenu();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public OrderMenu() {
initialize();
clock();
}
public void clock( ) {
Thread clock = new Thread()
{
public void run()
{
try
{
for(;;)
{
Date date = new Date();
String strDateFormat = "hh:mm:ss a";
DateFormat dateFormat = new
SimpleDateFormat(strDateFormat);
String formattedDate =
dateFormat.format(date);
LocalDate Datee =
java.time.LocalDate.now();
lblTime.setText(""+formattedDate );
lblDate.setText(""+Datee );
sleep(1000);
}
}
catch (InterruptedException e)
{
e.printStackTrace();
}
}
};
clock.start();
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setUndecorated(true);
frame.setBounds(0, 0, 1366, 768);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
txtItems.setText(txtItems.getText()+"Black Forest
Cake"+"\n");
txtQty.setText(txtQty.getText()+
txtBlackForest.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"599.00"+"\n");
itemcost[2] =
Double.parseDouble(txtBlackForest.getText())* 599.00;
txtAmount.setText(txtAmount.getText()+ itemcost[2] +
"\n" );
}
});
txtQty.setText(txtQty.getText()+
txtChocoMoose.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"569.00"+"\n");
itemcost[3] =
Double.parseDouble(txtChocoMoose.getText())* 569.00;
txtAmount.setText(txtAmount.getText()+ itemcost[3] +
"\n" );
}
});
btnAddToOrder.setBounds(317, 219, 120, 23);
CakePanel.add(btnAddToOrder);
JButton btnAddToOrder_1 = new JButton("ADD TO ORDER");
btnAddToOrder_1.setFont(new Font("Tahoma", Font.PLAIN, 10));
btnAddToOrder_1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
txtItems.setText(txtItems.getText()+"Matcha
Cake"+"\n");
txtQty.setText(txtQty.getText()+
txtMatchaCake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"559.00"+"\n");
itemcost[4] =
Double.parseDouble(txtMatchaCake.getText())* 559.00;
txtAmount.setText(txtAmount.getText()+ itemcost[4] +
"\n" );
}
});
btnAddToOrder_1.setBounds(544, 219, 120, 23);
CakePanel.add(btnAddToOrder_1);
txtQty.setText(txtQty.getText()+
txtMochaCake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"499.00"+"\n");
itemcost[5] =
Double.parseDouble(txtMochaCake.getText())* 499.00;
txtAmount.setText(txtAmount.getText()+ itemcost[5] +
"\n" );
}
});
btnAddToOrder_2.setBounds(761, 219, 120, 23);
CakePanel.add(btnAddToOrder_2);
txtQty.setText(txtQty.getText()+
txtOreoCake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"599.00"+"\n");
itemcost[6] =
Double.parseDouble(txtOreoCake.getText())* 599.00;
txtAmount.setText(txtAmount.getText()+ itemcost[6] +
"\n" );
}
});
btnAddToOrder_3.setBounds(89, 426, 120, 23);
CakePanel.add(btnAddToOrder_3);
txtQty.setText(txtQty.getText()+
txtRedVelvet.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"559.00"+"\n");
itemcost[7] =
Double.parseDouble(txtRedVelvet.getText())* 559.00;
txtAmount.setText(txtAmount.getText()+ itemcost[7] +
"\n" );
}
});
btnAddToOrder_4.setBounds(326, 426, 120, 23);
CakePanel.add(btnAddToOrder_4);
txtQty.setText(txtQty.getText()+
txtStrawberryCake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"550.00"+"\n");
itemcost[8] =
Double.parseDouble(txtStrawberryCake.getText())* 550.00;
txtAmount.setText(txtAmount.getText()+ itemcost[8] +
"\n" );
}
});
btnAddToOrder_5.setBounds(534, 426, 120, 23);
CakePanel.add(btnAddToOrder_5);
txtQty.setText(txtQty.getText()+
txtYemaCake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"450.00"+"\n");
itemcost[9] =
Double.parseDouble(txtYemaCake.getText())* 450.00;
txtAmount.setText(txtAmount.getText()+ itemcost[9] +
"\n" );
}
});
btnAddToOrder_6.setBounds(761, 426, 120, 23);
CakePanel.add(btnAddToOrder_6);
}
});
chkbxBreadStick.setFont(new Font("Times New Roman", Font.PLAIN,
14));
chkbxBreadStick.setBackground(new Color(204, 153, 255));
chkbxBreadStick.setBounds(282, 164, 120, 23);
BreadPastryPanel.add(chkbxBreadStick);
txtQty.setText(txtQty.getText()+
txtBreadRoll.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"5.00"+"\n");
itemcost[10] =
Double.parseDouble(txtBreadRoll.getText())* 5.00;
txtAmount.setText(txtAmount.getText()+ itemcost[10] +
"\n" );
}
});
btnAddToOrder_7.setBounds(93, 222, 120, 23);
BreadPastryPanel.add(btnAddToOrder_7);
txtQty.setText(txtQty.getText()+
txtBreadStick.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"10.00"+"\n");
itemcost[11] =
Double.parseDouble(txtBreadStick.getText())* 10.00;
txtAmount.setText(txtAmount.getText()+ itemcost[11] +
"\n" );
}
});
btnAddToOrder_8.setBounds(317, 224, 120, 23);
BreadPastryPanel.add(btnAddToOrder_8);
txtQty.setText(txtQty.getText()+
txtBrownies.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"15.00"+"\n");
itemcost[12] =
Double.parseDouble(txtBrownies.getText())* 15.00;
txtAmount.setText(txtAmount.getText()+ itemcost[12] +
"\n" );
}
});
btnAddToOrder_9.setBounds(535, 224, 120, 23);
BreadPastryPanel.add(btnAddToOrder_9);
txtPrice.setText(txtPrice.getText()+"20.00"+"\n");
itemcost[13] =
Double.parseDouble(txtCinnamon.getText())* 20.00;
txtAmount.setText(txtAmount.getText()+ itemcost[13] +
"\n" );
}
});
btnAddToOrder_10.setBounds(763, 222, 120, 23);
BreadPastryPanel.add(btnAddToOrder_10);
txtQty.setText(txtQty.getText()+
txtCupcake.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"30.00"+"\n");
itemcost[14] =
Double.parseDouble(txtCupcake.getText())* 30.00;
txtAmount.setText(txtAmount.getText()+ itemcost[14] +
"\n" );
}
});
btnAddToOrder_11.setBounds(105, 422, 120, 23);
BreadPastryPanel.add(btnAddToOrder_11);
txtItems.setText(txtItems.getText()+"Ensaymada"+"\n");
txtQty.setText(txtQty.getText()+
txtEnsaymada.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"25.00"+"\n");
itemcost[15] =
Double.parseDouble(txtEnsaymada.getText())* 25.00;
txtAmount.setText(txtAmount.getText()+ itemcost[15] +
"\n" );
}
});
btnAddToOrder_12.setBounds(330, 422, 120, 23);
BreadPastryPanel.add(btnAddToOrder_12);
JButton btnAddToOrder_13 = new JButton("ADD TO ORDER");
btnAddToOrder_13.setFont(new Font("Tahoma", Font.PLAIN, 10));
btnAddToOrder_13.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
txtItems.setText(txtItems.getText()+"Macaroons"+"\n");
txtQty.setText(txtQty.getText()+
txtMacaroons.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"15.00"+"\n");
itemcost[16] =
Double.parseDouble(txtMacaroons.getText())* 15.00;
txtAmount.setText(txtAmount.getText()+ itemcost[16] +
"\n" );
}
});
btnAddToOrder_13.setBounds(546, 424, 120, 23);
BreadPastryPanel.add(btnAddToOrder_13);
txtQty.setText(txtQty.getText()+
txtSpanishBread.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"5.00"+"\n");
itemcost[17] =
Double.parseDouble(txtSpanishBread.getText())* 5.00;
txtAmount.setText(txtAmount.getText()+ itemcost[17] +
"\n" );
}
});
btnAddToOrder_14.setBounds(773, 426, 120, 23);
BreadPastryPanel.add(btnAddToOrder_14);
txtQty.setText(txtQty.getText()+
txtC2.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"25.00"+"\n");
itemcost[18] = Double.parseDouble(txtC2.getText())*
25.00;
txtAmount.setText(txtAmount.getText()+ itemcost[18] +
"\n" );
}
});
btnAddToOrder_15.setBounds(163, 218, 120, 23);
DrinksPanel.add(btnAddToOrder_15);
txtQty.setText(txtQty.getText()+
txtCocacola.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"20.00"+"\n");
itemcost[19] =
Double.parseDouble(txtCocacola.getText())* 20.00;
txtAmount.setText(txtAmount.getText()+ itemcost[19] +
"\n" );
}
});
btnAddToOrder_16.setBounds(428, 218, 120, 23);
DrinksPanel.add(btnAddToOrder_16);
txtQty.setText(txtQty.getText()+
txtIcedTea.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"30.00"+"\n");
itemcost[20] =
Double.parseDouble(txtIcedTea.getText())* 30.00;
txtAmount.setText(txtAmount.getText()+ itemcost[20] +
"\n" );
}
});
btnAddToOrder_17.setBounds(704, 218, 120, 23);
DrinksPanel.add(btnAddToOrder_17);
txtQty.setText(txtQty.getText()+
txtMountainDew.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"25.00"+"\n");
itemcost[21] =
Double.parseDouble(txtMountainDew.getText())* 25.00;
txtAmount.setText(txtAmount.getText()+ itemcost[21] +
"\n" );
}
});
btnAddToOrder_18.setBounds(163, 422, 120, 23);
DrinksPanel.add(btnAddToOrder_18);
txtQty.setText(txtQty.getText()+
txtRoyal.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"20.00"+"\n");
itemcost[22] =
Double.parseDouble(txtRoyal.getText())* 20.00;
txtAmount.setText(txtAmount.getText()+ itemcost[22] +
"\n" );
}
});
btnAddToOrder_19.setBounds(428, 422, 120, 23);
DrinksPanel.add(btnAddToOrder_19);
txtQty.setText(txtQty.getText()+
txtSprite.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"20.00"+"\n");
itemcost[23] =
Double.parseDouble(txtSprite.getText())* 20.00;
txtAmount.setText(txtAmount.getText()+ itemcost[23] +
"\n" );
}
});
btnAddToOrder_20.setBounds(693, 422, 120, 23);
DrinksPanel.add(btnAddToOrder_20);
txtItems.setText(txtItems.getText()+"Cappuccino"+"\n");
txtQty.setText(txtQty.getText()+
txtCappuccino.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"130.00"+"\n");
itemcost[24] =
Double.parseDouble(txtCappuccino.getText())* 130.00;
txtAmount.setText(txtAmount.getText()+ itemcost[24] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_21);
JButton btnAddToOrder_22 = new JButton("ADD TO ORDER");
btnAddToOrder_22.setFont(new Font("Tahoma", Font.PLAIN, 10));
btnAddToOrder_22.setBounds(422, 216, 120, 23);
btnAddToOrder_22.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
txtItems.setText(txtItems.getText()+"Caramel
Machiatto"+"\n");
txtQty.setText(txtQty.getText()+
txtCaramel.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"145.00"+"\n");
itemcost[25] =
Double.parseDouble(txtCaramel.getText())* 145.00;
txtAmount.setText(txtAmount.getText()+ itemcost[25] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_22);
txtQty.setText(txtQty.getText()+
txtLattee.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"125.00"+"\n");
itemcost[26] =
Double.parseDouble(txtLattee.getText())* 125.00;
txtAmount.setText(txtAmount.getText()+ itemcost[26] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_23);
txtQty.setText(txtQty.getText()+
txtEspresso.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"110.00"+"\n");
itemcost[27] =
Double.parseDouble(txtEspresso.getText())* 110.00;
txtAmount.setText(txtAmount.getText()+ itemcost[27] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_24);
txtQty.setText(txtQty.getText()+
txtHotChoco.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"125.00"+"\n");
itemcost[28] =
Double.parseDouble(txtHotChoco.getText())* 125.00;
txtAmount.setText(txtAmount.getText()+ itemcost[28] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_25);
txtQty.setText(txtQty.getText()+
txtHotCoffee.getText()+"\n");
txtPrice.setText(txtPrice.getText()+"100.00"+"\n");
itemcost[29] =
Double.parseDouble(txtHotCoffee.getText())* 100.00;
txtAmount.setText(txtAmount.getText()+ itemcost[29] +
"\n" );
}
});
CoffeePanel.add(btnAddToOrder_26);
if (JOptionPane.showConfirmDialog(frame,"Confirm if
you want to exit?","Bakeshop Ordering Management System",
JOptionPane.YES_NO_OPTION) ==
JOptionPane.YES_OPTION){
LoginSystem.main(null);
frame.dispose();
}else{
}
});
label_84.setFont(new Font("Tahoma", Font.BOLD, 20));
label_84.setBounds(1332, 11, 24, 44);
panel.add(label_84);
}
});
button.setFont(new Font("Cambria", Font.BOLD, 12));
button.setBounds(1033, 708, 89, 37);
frame.getContentPane().add(button);
String name=txtName.getText();
receiptform.lblName.setText(name);
}
});
btnReceipt.setFont(new Font("Cambria", Font.BOLD, 11));
btnReceipt.setBounds(1140, 708, 99, 37);
frame.getContentPane().add(btnReceipt);
txtVat.setText(null);
txtTotal.setText(null);
txtCash.setText(null);
txtChange.setText(null);
txtBlackForest.setEnabled(false);
txtRedVelvet.setEnabled(false);
txtYemaCake.setEnabled(false);
txtMatchaCake.setEnabled(false);
txtOreoCake.setEnabled(false);
txtChocoMoose.setEnabled(false);
txtStrawberryCake.setEnabled(false);
txtMochaCake.setEnabled(false);
txtBreadRoll.setEnabled(false);
txtBreadStick.setEnabled(false);
txtMacaroons.setEnabled(false);
txtCupcake.setEnabled(false);
txtCinnamon.setEnabled(false);
txtSpanishBread.setEnabled(false);
txtBrownies.setEnabled(false);
txtEnsaymada.setEnabled(false);
txtC2.setEnabled(false);
txtCocacola.setEnabled(false);
txtIcedTea.setEnabled(false);
txtSprite.setEnabled(false);
txtRoyal.setEnabled(false);
txtMountainDew.setEnabled(false);
txtEspresso.setEnabled(false);
txtLattee.setEnabled(false);
txtHotChoco.setEnabled(false);
txtHotCoffee.setEnabled(false);
txtCaramel.setEnabled(false);
txtCappuccino.setEnabled(false);
chckbxBlackForest.setSelected(false);
chckbxRedVelvet.setSelected(false);
chckbxYemaCake.setSelected(false);
chkbxMatchaCake.setSelected(false);
chckbxOreoCake.setSelected(false);
chckbxChocomousse.setSelected(false);
chckbxStrawberry.setSelected(false);
chckbxMochaCake.setSelected(false);
chkbxBreadRoll.setSelected(false);
chkbxBreadStick.setSelected(false);
chkbxMacaroons.setSelected(false);
chkbxCupcake.setSelected(false);
chkbxCinnamon.setSelected(false);
chkbxSpanishBread.setSelected(false);
chkbxBrownies.setSelected(false);
chkbxEnsaymada.setSelected(false);
chkbxC2.setSelected(false);
chkbxCocacola.setSelected(false);
chkbxIcedTea.setSelected(false);
chkbxxSprite.setSelected(false);
chkbxRoyal.setSelected(false);
chkbxMountainDew.setSelected(false);
chckbxEspresso.setSelected(false);
chckbxCoffeeLatte.setSelected(false);
chckbxHotChocolate.setSelected(false);
chckbxHotCoffee.setSelected(false);
chckbxCaramelMachiatto.setSelected(false);
chckbxCappuccino.setSelected(false);
}
});
button_2.setFont(new Font("Cambria", Font.BOLD, 12));
button_2.setBounds(1255, 708, 89, 37);
frame.getContentPane().add(button_2);
}
}
ADMIN FORM
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
import java.awt.Color;
import java.awt.Font;
import javax.swing.JButton;
import javax.swing.UIManager;
import javax.swing.JSeparator;
import javax.swing.SwingConstants;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JLayeredPane;
import java.awt.SystemColor;
import java.awt.CardLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;
import com.toedter.components.JSpinField;
import com.toedter.calendar.JMonthChooser;
import com.toedter.calendar.JYearChooser;
/**
* Create the application.
*/
public AdminForm() {
initialize();
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setUndecorated(true);
frame.setBounds(0, 0, 1366, 768);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
}
});
}
});
btnItem.setOpaque(false);
btnItem.setFont(new Font("Georgia", Font.BOLD, 20));
btnItem.setBorderPainted(false);
btnItem.setBorder(null);
btnItem.setBackground(UIManager.getColor("InternalFrame.inactiveTitleGr
adient"));
btnItem.setBounds(125, 0, 89, 47);
panel_1.add(btnItem);
JSeparator separator_1 = new JSeparator();
separator_1.setOrientation(SwingConstants.VERTICAL);
separator_1.setForeground(Color.BLACK);
separator_1.setBackground(Color.BLACK);
separator_1.setBounds(216, 0, 7, 47);
panel_1.add(separator_1);
}
});
btnCustomers.setOpaque(false);
btnCustomers.setFont(new Font("Georgia", Font.BOLD, 20));
btnCustomers.setBorderPainted(false);
btnCustomers.setBorder(null);
btnCustomers.setBackground(UIManager.getColor("InternalFrame.inactiveTi
tleGradient"));
btnCustomers.setBounds(222, 0, 89, 47);
panel_1.add(btnCustomers);
btnOrdering.setBackground(UIManager.getColor("InternalFrame.inactiveTit
leGradient"));
End Sub
Else
MsgBox("Incorrect Username/Password!")
txtUsername.Text = String.Empty
txtPassword.Text = String.Empty
End If
End Sub
Timer1.Enabled = True
txtBlackForest.Text = "0"
txtBreadRoll.Text = "0"
txtBreadStick.Text = "0"
txtBrownies.Text = "0"
txtC2.Text = "0"
txtCappuccino.Text = "0"
txtChocoMousse.Text = "0"
txtCinnamon.Text = "0"
txtCocaCola.Text = "0"
txtCupcakes.Text = "0"
txtEnsaymada.Text = "0"
txtEnsaymada.Text = "0"
txtEspresso.Text = "0"
txtHotChoco.Text = "0"
txtHotCoffee.Text = "0"
txtIcedTea.Text = "0"
txtLatte.Text = "0"
txtMacarons.Text = "0"
txtMachiatto.Text = "0"
txtMatcha.Text = "0"
txtMocha.Text = "0"
txtMtnDew.Text = "0"
txtOreo.Text = "0"
txtRedVelvet.Text = "0"
txtRoyal.Text = "0"
txtSpanishBread.Text = "0"
txtSprite.Text = "0"
txtStrawberry.Text = "0"
txtYema.Text = "0"
txtBlackForest.Enabled = False
txtBreadRoll.Enabled = False
txtBreadStick.Enabled = False
txtBrownies.Enabled = False
txtC2.Enabled = False
txtCappuccino.Enabled = False
txtChocoMousse.Enabled = False
txtCinnamon.Enabled = False
txtCocaCola.Enabled = False
txtCupcakes.Enabled = False
txtEnsaymada.Enabled = False
txtEspresso.Enabled = False
txtHotChoco.Enabled = False
txtHotCoffee.Enabled = False
txtIcedTea.Enabled = False
txtLatte.Enabled = False
txtMacarons.Enabled = False
txtMachiatto.Enabled = False
txtMatcha.Enabled = False
txtMocha.Enabled = False
txtMtnDew.Enabled = False
txtOreo.Enabled = False
txtRedVelvet.Enabled = False
txtRoyal.Enabled = False
txtSpanishBread.Enabled = False
txtSprite.Enabled = False
txtStrawberry.Enabled = False
txtYema.Enabled = False
chkBlackForest.Checked = False
chkBreadRoll.Checked = False
chkBreadStick.Checked = False
chkBrownies.Checked = False
chkC2.Checked = False
chkCappuccino.Checked = False
chkChocoMousse.Checked = False
chkCinnamon.Checked = False
chkCocaCola.Checked = False
chkCupcakes.Checked = False
chkEnsaymada.Checked = False
chkEspresso.Checked = False
chkHotChoco.Checked = False
chkHotCoffee.Checked = False
chkIcedTea.Checked = False
chkLatte.Checked = False
chkMacarons.Checked = False
chkMachiatto.Checked = False
chkMatcha.Checked = False
chkMocha.Checked = False
chkMtnDew.Checked = False
chkOreo.Checked = False
chkRedVelvet.Checked = False
chkRoyal.Checked = False
chkSpanishBread.Checked = False
chkSprite.Checked = False
chkStrawberry.Checked = False
chkYema.Checked = False
End Sub
End Sub
txtBlackForest.Enabled = False
txtBreadRoll.Enabled = False
txtBreadStick.Enabled = False
txtBrownies.Enabled = False
txtC2.Enabled = False
txtCappuccino.Enabled = False
txtChocoMousse.Enabled = False
txtCinnamon.Enabled = False
txtCocaCola.Enabled = False
txtCupcakes.Enabled = False
txtEnsaymada.Enabled = False
txtEspresso.Enabled = False
txtHotChoco.Enabled = False
txtHotCoffee.Enabled = False
txtIcedTea.Enabled = False
txtLatte.Enabled = False
txtMacarons.Enabled = False
txtMachiatto.Enabled = False
txtMatcha.Enabled = False
txtMocha.Enabled = False
txtMtnDew.Enabled = False
txtOreo.Enabled = False
txtRedVelvet.Enabled = False
txtRoyal.Enabled = False
txtSpanishBread.Enabled = False
txtSprite.Enabled = False
txtStrawberry.Enabled = False
txtYema.Enabled = False
chkBlackForest.Checked = False
chkBreadRoll.Checked = False
chkBreadStick.Checked = False
chkBrownies.Checked = False
chkC2.Checked = False
chkCappuccino.Checked = False
chkChocoMousse.Checked = False
chkCinnamon.Checked = False
chkCocaCola.Checked = False
chkCupcakes.Checked = False
chkEnsaymada.Checked = False
chkEspresso.Checked = False
chkHotChoco.Checked = False
chkHotCoffee.Checked = False
chkIcedTea.Checked = False
chkLatte.Checked = False
chkMacarons.Checked = False
chkMachiatto.Checked = False
chkMatcha.Checked = False
chkMocha.Checked = False
chkMtnDew.Checked = False
chkOreo.Checked = False
chkRedVelvet.Checked = False
chkRoyal.Checked = False
chkSpanishBread.Checked = False
chkSprite.Checked = False
chkStrawberry.Checked = False
chkYema.Checked = False
txtSubtotal.Text = ""
txtVat.Text = ""
txtTotal.Text = ""
txtCash.Text = ""
txtChange.Text = ""
ListBox1.Items.Clear()
txtName.Text = ""
txtContactNo.Text = ""
End Sub
End Sub
End Sub
Receipt.lborder.Text = ListBox1.Text
Receipt.lbldatetime.Text = lblDateTime.Text
Receipt.lblname.Text = txtName.Text
Receipt.lblcontact.Text = txtContactNo.Text
Receipt.lblsubtotal.Text = txtSubtotal.Text
Receipt.lblvat.Text = txtVat.Text
Receipt.lbltotal.Text = txtTotal.Text
Receipt.lblcash.Text = txtCash.Text
Receipt.lblchange.Text = txtChange.Text
' Receipt.lborder.Items.Add(Me.ListBox1.Items)
Receipt.Show()
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
Private Sub PictureBox41_Click(sender As Object, e As EventArgs) Handles
PictureBox41.Click
Amount = Val(txtCinnamon.Text) * 20
ListBox1.Items.Add("Cinnamon Roll" & vbTab + vbTab & txtCinnamon.Text
& vbTab & 20 & vbTab & Amount)
Receipt.lborder.Items.Add("Cinnamon Roll" & vbTab + vbTab &
txtCinnamon.Text & vbTab & 20 & vbTab & Amount)
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
Private Sub ListBox1_SelectedIndexChanged(sender As Object, e As
EventArgs) Handles ListBox1.SelectedIndexChanged
End Sub
End If
End If
End Sub
End Sub
End Sub
End Sub
End Class
ADMIN FORM
End Sub
End Sub
End Sub
End Sub
Me.AddNewEmployeeTableAdapter.Fill(Me.BakeshopOrderingSystemDatabaseDataSet.A
ddNewEmployee)
End Sub
End Sub
End Sub
AddNewEmployeeTableAdapter.Update(BakeshopOrderingSystemDatabaseDataSet.AddNe
wEmployee)
MessageBox.Show("Data Saved")
SaveErr:
Exit Sub
End Sub
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox6.Clear()
TextBox8.Clear()
TextBox9.Clear()
TextBox10.Clear()
TextBox11.Clear()
TextBox12.Clear()
End Sub
End Sub
End Class
Public Class TransactionRecord
Private Sub SalesRecord_Load(sender As Object, e As EventArgs) Handles
MyBase.Load
'TODO: This line of code loads data into the
'BakeshopOrderingSystemDatabaseDataSet1.TransactionRecord' table. You can
move, or remove it, as needed.
Me.TransactionRecordTableAdapter.Fill(Me.BakeshopOrderingSystemDatabaseDataSe
t1.TransactionRecord)
End Sub
End Sub
TransactionRecordTableAdapter.Update(BakeshopOrderingSystemDatabaseDataSet1.T
ransactionRecord)
MessageBox.Show("Data Saved")
SaveErr:
Exit Sub
End Sub
End Sub
End Class