Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

IT-PROG (Integrative Programming)

Machine Project 3TAY2022-23

Ordering and Inventory System - Meal Combo Creation with DB and XML

Introduction

There are two types of systems that you will develop. Systems for client and server. This is a group
project of 4 members only, and everyone is expected to work equally. Below are the specifications for
each type.

Phase 1 - Client Side

In some restaurants, it is possible to assemble one's own meal. At times, combo meals can be made
which will result in savings. For this project, create a simplified combo meal assembler which will also
track if any discount is made.

For the purposes of this subject, we will limit the kinds of dishes into 3 (mains, sides, and drink). Each kind
will have 1 or more possible dishes to select from, each with their own price (as initial data to be used in
the database). The price remains the same per dish, however, the quantity of a dish can be selected. There
will be 2 combos which will result in a discount.

Features
The following are the features a user can do when using the system.

● The user can select a main, side or drink. When the option is selected, the items for each kind are
shown. The user has the option to cancel the transaction. Once a dish is selected, the system will
ask for a quantity for that specific dish.
○ The items shown should only correspond to the dish type selected.
○ Only one main, side and drink can be selected at any given time (one of each).
○ The user can add more quantity for each dish.
○ Canceling the transaction should not affect the quantity of any of the items.

● The user can also check-out transaction where the dishes selected will be displayed along with the
total of all the dishes. The user will be prompted to know how much they will be paying. Afterwards,
the discount will be computed if the transactions have a combo made. Finally, the discount,
discounted total and change will be computed.
○ Combos are a pattern of dish, side and drink selected. A specific discount is applied no
matter how much the quantity is selected. See the table for the combos and their respective
discounts.
○ Computed orders will be shown if the customer proceeds to make payment.
○ The request for payment should be made once all orders are final and have been marked
for checked-out.
○ If the payment is not enough, the system should prompt the user to encode a proper
payment amount once more. This will repeat until a satisfactory amount is encoded.
○ Only successful check-out transaction/s will be saved on the database, so a simple user
profile is needed (customer name and date of transaction).

● The user can cancel the transaction anytime if wished not to proceed with the transaction and
exit/close the current screen while in the main selection menu.
IT-PROG (Integrative Programming)
Machine Project 3rd Term AY 2022-23

Development tools
• You can choose any programming language and database that you want.
• Design the interface either in a web environment or standalone system. You should also consider
the user interfaces where customers can easily use the system with less supervision.
• Presentation of the Phase 1 will be on June 19/20.

Phase 2 – Server Side

Given the program features above, expand the program by using PHP and MySQL with XML integration
with the following requirements:
• Only authorized users of the system can do the following (like a System Administrator):
o Login to the system with appropriate authorization and privileges.
o Add new menu items per dish, this includes the category and prices. Adding of such
items can be done via the application developed for the web page for administrator, and
by uploading a well-formed and valid XML data that will add entries to your database;
o Can update or modify the dish/menus saved in the database whenever there are
changes to be made to the existing records;
o Can delete dish/menus in the database
o Added dishes may also be included in the combo meal options - the admin can create
new combol meal (for the purpose of this project please provide atleast 2 more combo
meal options)

• Be able to produce a simple summary report of the orders made for a specific date (number of
dishes sold, total amount, and total discount), and generate an XML file on this.

Development Tools

• For the server side, this should only be developed using PHP and MySQL.
• Design the interface suitable for the administrator.

Integration Tasks

• Having the two systems (client and server), you should be able to integrate the two using any
available technologies and method (data integration or application integration)
• Data from both systems should also be consistent and updated.
• The Final MP Presentation will be on August 7/8 (tentative).

Submission Guidelines
● This is a group mini project.
● You need to submit the code, and other related files via the Animo Space a day before the
presentation.
IT-PROG (Integrative Programming)
Machine Project 3rd Term AY 2022-23

Items
Item Category Price

Steak Mains 900

Salmon Mains 850

Chicken Mains 300

Baked Potato Sides 80

Mashed Potato Sides 75

Steamed Vegetables Sides 50

Ice Tea Drink 55

Root Beer Drink 60

Water Drink 20

Combos

● Chicken Mash Tea Combo


○ When selecting Chicken for Main, Mash Potatoes for Sides and Iced Tea for drink, this
combo is made.
○ This combo gives a 10% discount to the overall price.
● Steak Veg Beer Combo
○ When selecting Steak for Main, Steamed Vegetables for Sides and Root Beer for drink,
this combo is made.
○ This combo gives a 15% discount to the overall price.

You might also like