0% found this document useful (0 votes)
184 views35 pages

Database Design for Gusto University

The document describes the physical database design for a customer and order database. It includes the column names, data types, constraints, and descriptions for the CUSTOMER and ORDER tables. The CUSTOMER table has columns for the customer ID, name, address, phone number, and email. The ORDER table has columns for the order number, date, subtotal amount, discount percentage, discount amount, delivery charges, and package charges. Constraints like primary keys, unique constraints, default constraints and check constraints are defined to enforce data integrity.

Uploaded by

Terry Hal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
184 views35 pages

Database Design for Gusto University

The document describes the physical database design for a customer and order database. It includes the column names, data types, constraints, and descriptions for the CUSTOMER and ORDER tables. The CUSTOMER table has columns for the customer ID, name, address, phone number, and email. The ORDER table has columns for the order number, date, subtotal amount, discount percentage, discount amount, delivery charges, and package charges. Constraints like primary keys, unique constraints, default constraints and check constraints are defined to enforce data integrity.

Uploaded by

Terry Hal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Student Name/ID Number: Htet Aung Lin/PD57449

Unit Number and Title: Unit 4: Database Design and Development


Academic Year:2022

Unit Assessor: Mrs. A Mon Oo

Assignment Title:Assignment1:Design,Creating Documentation and report

Issue Date: 10/2/2022 (Thu)

Submission Date: 4/3/2022 (Fri)

Internal Verifier Name: Mrs. A Mon Oo

Date:4/3/2022

Physical Design

1
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

CUSTOMER TABLE

Column Name Data Type Null/Not Null Constraint Data Description


CU ID Char (10) Not Null Primary Key -Customer ID will be saved in
Check
this column.
Constraint
-Primary key constraint will
be applied to this column to
store unique data.
-Format is [Link]
constraint will be applied to
this column. Check constraint
is C[0-9][0-9][0-9].
CU Name Varchar (20) Not Null -Customer name will be saved
in this column.

CU address Varchar (10) Not Null -Customer address will be


saved in this column.

CU phone Varchar (10) Not Null Unique -Customer phone will be


Constraint saved in this column.
Check -Unique constraint will be
Constraint applied to this colum n
because it is not possible that
dif f erent customers can have
same number.
-Check constraint will be
applied to this column to
make sure that every number
starts with 09 or +95 or 01
and the number count is only
11 f or normal number
starting with 09, 9 f or old
phone number eg.095082240
and number starting with
+95,8 f or number starting
with 01.

CU email Varchar (10) Not Null Unique -Customer email will be saved
Constraint in this column.
Check -Unique constraint will be
Constraint applied to this colum n
because it is not possible that
dif f erent customers can have
email address.
-Check constraint will be
applied to this column to
make sure that email address
ends with @[Link] and
start with small letter.

2
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

3
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
Order TABLE

Order No Char (5) Not Null Primary Key -Order No will be saved in this
Check
column.
Constraint
-Primary key constraint will
be applied to this column to
store unique data.
-Format is CB001.
Check Constraint will be
applied to this [Link]
constraint is CB[0-9][0-9][0-
9].
OrderDate Varchar (20) Not Null Def ault -Order date will be saved in
Constraint this column.
-For the date to set up
automatically,def ault
constraint will be applied to
this column.
Sub Amount Money Not Null Check -Sub Amount will be saved in
Constraint this column.
-Check constraint will be
applied to thus column not to
allow negative values.
-Sub Amount is calculated by
summing up all the amount of
ordered items in order details.
Discount% Money Null Check -Discount will be saved in this
Constraint column.
Unique -Check constraint will be
constraint applied to this column not to
allow negative value.
-Customer can get Discount
10% if the total sub amount is
more than 100,000Ks.
Discount Money Null Check -Discount Amount will be
Amount Constraint applied to this column.
Unique -Check constraint will be
constraint applied to this column to not
allow negative value.
-Discount amount is
calculated by dividing the
total sub amount with
10,discount rate.
deliver charges Money Null Check -Discount Amount will be
Constraint applied to this column.
-Check constraint will be
applied to this column to not
allow negative value.
-Customers have to pay
2000ks as deliver charges but
if total sub amount is more

4
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
than 100,000ks, delivery
charge is f ree.

package Money Null Check -Package charges will be


charges Constraint applied to this column.
-Check constraint will be
applied to this column to not
allow negative value.
-Customers who live away
f rom Yangon have to pay
2000ks f or package charges.
tax charges Money Null Check -Tax charges will be applied to
Constraint this column.
-Check constraint will be
applied to this column to not
allow negative value.
-Tax charges 3% will be
added if many dif f erent items
are ordered in an order.
Final total Money Not Null Check -Final total will be applied to
Constraint this column.
-Check constraint will be
applied to this column to not
allow negative value.
-Final total is calculated by
this f ormula, Final total= (Sub
amount-discount
amount)+deliver
charges+package
charges+tax charges
Staf f ID Int Not Null Foreign Key -Staf f ID will be applied to this
Check column.
Constraint -Foreign key constraint will be
applied to this column to store
unique data and to have Pk-
Fk relationship between this
table and Staf f table.
-Format is 45.
Check Constraint will be
applied to this [Link]
constraint is [0-9][0-9][0-9].

CU ID Char (10) Not Null Foreign Key -Customer ID will be applied


Check to this column.
Constraint -Foreign key constraint will be
applied to this column to store
unique data and to have Pk-
Fk relationship between this
table and Customer table.
-Format is C001.
-Check constraint is C[0-9][0-
9][0-9].

5
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
OID Varchar (3) Not Null Foreign Key -Of f ice ID will be saved in this
Check
column.
Constraint
-Foreign key constraint will be
applied to this column to store
unique data and to have Pk-
Fk relationship between this
table and Of f ice table.
-Format is o1.
Check Constraint will be
applied to this column. Check
constraint is o[0-9][0-9][0-
9].

6
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Order Detail TABLE

Column Name Data Type Null/Not Null Constraint Data Description


Order No Char (5) Not Null Foreign key -Order No will be saved in this
column.
-Foreign key constraint will be
applied to this column to store
unique data and to have Pk-Fk
relationship between this table
and order table.
-Format is CB001.
Check Constraint will be applied
to this column. Check constraint
is CB[0-9][0-9][0-9].

Product ID Char (5) Not Null Foreign key -Product ID will be saved in this
column.
-Foreign key constraint will be
applied to this column to store
unique data and to have Pk-Fk
relationship between this table
and order table.
-Format is F-005.
Check Constraint will be applied
to this column. Check constraint
is F-[0-9][0-9][0-9].

Qty Int Not Null Check -Qty will be saved in this


constraint
column.
-Check constraint will be
applied to this column not to
allow negative values.
-Qty is the the numbers of
items customers purchased.

Amount money Not Null Check -Amount will be saved in this


constraint
column.
-Check constraint will be
applied to this column not to
allow negative values.

7
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
-Amount is calculated by
multiplying the price of the
products purchased by
customer and Qty.

8
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
Office TABLE

Column Name Data Type Null/Not Null Constraint Data Description


OID Varchar (3) Not Null Primary Key -Of f ice ID will be saved in this
column.
-Primary key constraint will
be applied to this column to
store unique data.
-Format is o1.
Check Constraint will be
applied to this [Link]
constraint is o[0-9][0-9][0-
9].

of f ice phone Varchar (15) Not null Unique -Of f ice phone will be saved in
Constraint
this column.
Check
Constraint -Unique Constraint will be
applied to this colum n
because dif f erent of f ice
batches have dif f erent phone
number.
-Check constraint will be
applied to this column to
make sure that every number
starts with 09 or +95.
of f ice email Varchar (15) Not null Unique -Of f ice email will be saved in
Constraint
this column.
Check
Constraint -Unique Constraint will be
applied to this colum n
because dif f erent of f ice
batches have dif f erent email
address.
-Check constraint will be
applied to this column to
make sure that every email
address ends with
@[Link].
Of f ice Address Varchar (6) Not Null -Of f ice address No will be
No
saved in this column.

9
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
Of f ice Township Varchar(15) Not Null -Of f ice Township will be saved
in this column.

Of f ice city Varchar(10) Not Null -Of f ice city will be saved in
this column.

10
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Staff TABLE

Column Name Data Type Null/Not Null Constraint Data Description


Staf f ID Char (4) Not Null Primary Key -Staf f ID will be applied to this
Check column.
Constraint -Primary key constraint will
be applied to this column to
store unique data.
-Format is 0045.
Check Constraint will be
applied to this [Link]
constraint is [0-9][0-9][0-9].

Staf f Name Varchar (30) Not Null -Staf f Name will be saved in
this column.

11
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
Product TABLE

Column Name Data Type Null/Not Null Constraint Data Description

Product ID Char (5) Not Null Primary key -Product ID will be saved in
this column.
-Primary key constraint will be
applied to this column to store
unique data.
-Format is F-005.
Check Constraint will be
applied to this [Link]
constraint is F-[0-9][0-9][0-
9].
Product Name Varchar (20) Not Null -Product name will be saved in
this column.
Price money Not Null Check constraint - Product price will be saved in
this column
- Check constraint is applied
to this column not to allow
negative value.

User Documentation

This is the f irst interf ace of an [Link] f eatures in dashboard are not available yet but will be
available af ter applying the [Link] customer basically display the total number of
customer by checking the ID [Link] total order in last three months is [Link] data
will change according to more orders.(using select query)

12
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

The second one is f or viewing staf f list both by scrolling and searching. The Staf f list table link
direcly Staf f table in database system so that the updating or deleting data ef f ect the Staf f table
which is in [Link] this table list,Admin can scroll down and [Link] by clicking the
checkbox,admin can select one or multiples rows and then can edit or [Link] one or more is
selected and click delete button,the data will be deleted f rom the database using select and delete
command. If one or more is selected and click edit button (an icon with pencil), the webpage will
move to the next page named ‘Staf f Edit’. As we see, the selected data f rom the staf f list table
will be appeared .

13
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Example,if admin selected 1st and 4th row and clicked edit button,

they will be appeared in this table and are editable if you double click the data. (using update
command in db).

Example,if I edit “Kaung Myat Aung” to “Phyo Thiha Kyaw”,

,the data in main Staf f List table will also be changed.

14
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
So now at Search & update, Admin can enter both the staf f ID and Name or just staf f ID or
just [Link] relative data will be appeared down at the table below. (Using select query)

Example, If I type ‘3’ in Staf f ID and clicked search button,

Staf f with ID 3 will be appeared like this and it can be edited by double clicking,also deteted by
selecting it and tap delete button.

To search more, we have to click “+” icon besides Ref resh & [Link] clicking this, data in search
area will be gone but remains in editable table.

If I typed “Phyo Thiha Kyaw” at staf f name and clicked search button,

15
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

It will happen like this.

Now, these rows are editable by double-clicking on the [Link] can either update or delete
these table by selecting the desired one.

Example if I changed “Phyo Thiha Kyaw” to “May Thu Han” and clicked update button,

the data in Staf f list will also be changed.

So now, the interesting one, If we click Go to advance search button,

the new webpage, advanced search will be appeared.

16
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

First of all, f or the f irst f eature with multiple queries,admin can check whose perf ormance is
greatest over last one week or 4 months or 3 years or any else. It might help a lot in promotion
or giving bonus. Here last three months is chosen and system displays the details about his
perf ormance. It displays also the most selling product by him and most ordered township city so
that admin can analyze f urther. (applied select query) (in this f eature,no need to click af ter
choosing option, data will be displayed automatically)

So f or the next f eature with multiple queries,admin can enter both staf f ID and name or just the
ID or just the [Link] admin can choose the duration of time,like on a day or specif ic month
or specf ic [Link] admin wants to check f or a day,he has to choose specif ic day,month and
[Link] admin can select the inf ormation,he wants to know or just select “select all”to display
every inf ormation.(“Select all”check box doesn’t work f or duration time.)Here is the example,I
chose staf f with ID 45,February,2020 and detail of total accepted order and most selling product
by him.

17
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

It display like this. Furthermore, f or the admin to compare, clicking “+”icon will ref resh the
searched options and can search new one again and display below the previous [Link] ,I
clicked search & update button and entered Staf f Name “Kyaw Thar” and selected March,2021
and f or inf ormation I chose “select all’”. Here it displays every inf ormation of the staf f . (applied
select query).

The next advanced search is revere f rom the [Link] is to f ind staf f s who have achieved as the
f [Link] this search,admin can f ind easily f or staf f s whom to promote or givining bonus or also
can f ind who doesn’t do job with ef f [Link] f ilters are exact total accpeted order or more than__
or less than__ or all and exact total sale amount or more than__ or less than or [Link] duration
timeline f ilter,option are all time or exact date or in a month or in a year or in any week of a
[Link] can select the f liters and click search button to display the related staf f with all of
their work inf ormation in the table [Link] can ref resh the f ilter and search more by clicking
“+” button.

18
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
I will do an example. As you see, Staf f s with required inf ormation are displayed below.
Addionally,their most selling product or most ordered township are shown as so it is easier for
admin to analyze and which product to import more.(applied lots of select query)

By double clicking the staf f tab,we can go back to the main page .

So now at new staf f register, f or the admin to process f aster f or multiple staf f .I used table
[Link] can add new one by double clicking the table area.(Basically, this is f or new staff
who can’t register by themselves on [Link] that admin can register manually f or them.)

Admin can f ill data f or one new staf f or even more. And then just click select all or only select the
one he wants to [Link],I wrote two staf f data,click the checkbox and click “Add” button.

The newly inserted staf f s will be added to the main staf f list table. (using insert command)

Staf f register f orm can also be register online f rom the link given in main of f icial website and
Facebook [Link] here new member can register by [Link] f ID will be assigned
automatically by determining the ID of last registered staf f and giving the next new ID.(using

19
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
select query and adding +1).Then new staf f need to read the guidelines and rule of the company
and click checkbox and then conf irm and accept button.

This is linked to main staf f list table. The inserted new staf f will be added to [Link] I
added new staf f and conf irmed.

Here in the staf f list table,new member is added.(using insert command)

Below the staf f , there is product tab and if we click, product webpage will be appeared.

20
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

So the f unction of product list table is just like the staf f list table explained detaily [Link]
table connects directly with Product [Link] display list of products and admin can select any of
them to edit or delete.(using update and delete command).By selecting the desired one and
clicking edit [Link] will lead to another webpage,product [Link] selected one will be displayed
here are editable by [Link] ter editing,clicking update button will change the data in
product list table.

21
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
At Search & update,just like in Staf f , admin can search the product by its ID or name or
price.(Using select query)By searching price,dif f erent products with same price may be displayed
in a order of [Link] product ID 3 and 10 have same price,ID 3 product will be in 1st row and ID 10
will be in 2nd [Link] data in each row is editable by double clicking on [Link] update
button will change the data in product list table.(Using update command).Selecting the product
to be deleted and clicking delete button will remove the product f rom product list [Link] by
clicking ‘+’ icon,the data in search will be ref reshed and can add more to the editable table.

So the “Go to advanced search”, this will move to new webpage” Advanced search” f or product.

The f irst f eature is to show the details of top 5 best selling product in any duration .Admin can
select the duration and 5 product will be automatically shown [Link] is easy f or admin to
analyze.(using select query)

22
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

The next one is to search a product by its name or Id and then applying the duration (f or ordered
time, which time was it ordered).Then admin select the wanted inf ormation.(total ordering
quantity and total amount and most bought customer township are count within the selected
duration.)Then clicking search button will allow the table to display the selected product’s
inf ormation.

Next f eature is to f ind products with f ilters, There admin can select and f ill up the targeted
[Link] can f ind the list of products sold out in specif ic months,year or a week of a month or a
day. ([Link] only the duration time is selected, the table will show the products that are sold
within that duration.)Then table will display the targed product and inf ormation by clicking search
button.(using select query)

For the admin to add new products f aster, just like the above,new one or multiple new product
can be added by writing in each row and clicking select all and add button.

By clicking Customer tab,custome page will be appeared.


23
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Just like the above webpages,the customer list will show the list of customers and it links directly
with Customer table and are editable and deleted by selecting the desired ones and clicking edit
icon or delete button.(using delete command)If edit icon is clicked,the new webpage,Customer
Edit will be [Link] there,the selected ones will be appeared in each row and are editable by
double clicking and then f inally clicking update button will change the data in main customer list
table.(using update command)

For search & update just like the above,admin can search by any f liter, ID or Name or Phone
Number or Email or [Link] them and clicking search button will make the relative
customer to be displayed in editable table.(using select query).Data in each row is editable or
deleted by selecting and clicking update or delete button.(using update and delete command).

24
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
Also by clicking ‘+’ icon,the data in search will be ref reshed and can add more to the editable
table.

Clicking go to advanced search button will move to next page “Advanced search” f or customer.

Firstly f or f irst f eature,most spent customer on last __,it is really usef ul f or admin to give gif ts or
discount voucher f or the most spent [Link] can choose the duration of anywhen he
likes. (in this f eature,no need to click af ter choosing option,data will be displayed
automatically).Here,I applied 2 weeks and it shows customer id,name,total order ,order no,order

25
HND-41 GUSTO UNIVERSITY HTET AUNG LIN
date,total spent amount and most bought product by someone who has most spent on the
company.(using select query)

The next search is f inding individual customer by ID or Name and will show his/her total
order,total spent,most bought product and all inf [Link] admin only wants to f ind out the
specif ic ones,can select the wanted one and click search button to f ind out that customer’s
[Link] to search more,admin can click”+”icon and the data f litered will be ref resh and then
search [Link],as an example,I searched about customer C001 who is top customer and
during f eburary,[Link] inf ormation about him is dropped down to the [Link] is real usef ul to
f ind out about long long ago.(using query)

The next one is reverse f rom above,it is to f ind out customers who have the f iltered [Link]
admin can enter the exact order or more than__ or less than __ or all and same goes to total
spent [Link] admin can choose the duration or exact date,to make exact order date is to
add also [Link] else admin can f ind out during month or week of a month or a [Link] than
click search button to customer inf ormation to be displayed in the table .To search more,admin
has to press “+”icon.(applied query)

Double-tapping customer tab will move back to the main customer [Link] the admin to add
new customer f aster with inf ormation(f or customers who can’t register by themselves This is for
new customer who ordered using phone or not using with the customer website.) I made simple
method the editable table,admin can f ill up each row and column and select desired one or click
select all and then clicking add button will insert data into the main customer list table.

26
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Clicking order tab will make Order webpage appear. Like the above, in order list,order list table
links directly with Order table in database system and admin is able to scroll down and search
the orders.

In the Search,just like above,admin can enter Order No or Order Date or Final Total (more than
___ or less than___ or more than___ and less than__) or all three. Applying these f ilter and
clicking search button will display the order lists according the f [Link] the Order Date and f inal
total,dif f erent orders with same date and same required f inal total will be listed by order of less
number to high number of Order ID.(using select query)

Clicking go to advanced search button will move to new page “Advanced Search”f or order.

27
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Firstly,the f irst search is to f ind the total discount amount or total f inal amount in last month or
[Link] just have to select and then the display will [Link],I chose total discount
amount in last one month so that it displays inf ormation about the discount amount in a
month,including order no with discount,date and customer township which got most
discount.(using query)

28
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Nextly,this f eature is f or f inding the orders with targeted f [Link] can search by f inal total
amount,discount amount,delivery charges,package charges and tax charges .Final total
amount,tax charges and discount amount can also be searched by less than or more [Link]
admin can f ind the lists of orders ordered in specif ic month or week of week or year or even the
exact [Link] ter selecting and entering the f ilters,admin can f ind the targeted ones by clicking
search [Link] search more,”+” can be clicked to ref resh the f liters and enter again.(using

query)

Af ter double clicking the order tab,it will go back to the main order page.

This is f or making new order f or customer who ordered using phone or not using with the customer
[Link] f or admin to make new order f aster and easier,I designed like [Link] admin have
to add new order no,date and also of f ice ID and customer ID because Order table is in pk-fk
relationship with Of f ice table and Customer table in database system and also Of f ice ID is primary
key in of f ice table as well as Customer ID is in Customer [Link] that entering Customer ID will
allow the voucher to display every detail of customer and entering Staf f ID will have same
[Link] ter adding the required data in “For”f orm ,admin can add product ID and its
quantity(order detail).Product ID is also primary key so that entering it will allow the voucher to
display the inf ormation of [Link] have to click “Add” button in order detail row af ter entering
1st product ID and its [Link] ter adding all product and relative quantity and admin can enter
main add button which is at [Link] it will be added to Order list table(will be order table in
database). (using insert command)

At the moment,if admin go to voucher tab,at there voucher with added order will be displayed.

29
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Example, I made a new order,as customer “Htet Aung Lin”.

In vocher page,the vocher with added order detail will be [Link] detail in the voucher will
be changed according to added details while making new order.

The last tab f or admin interf ace,of fice tab,if it is clicked of f ice page will appeared .Just like the
above,of f ice list table links directly with Of f ice table in database system. Updating or deleting in
this table will result directly in [Link] admin can select the of f ice batch and edit by
clicking edit icon or clicking delete button.(delete command will run in Of f ice table).

30
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Clicking edit icon will move to next webpage,of f ice edit and admin can edit the selected ones and
then clicking update button will change data in of f ice list table(update command will run in of f ice
table).

In edit & search,just like above,admin can enter of f ice ID or phone number or email or addrress
of the of f [Link] the f ilter and clicking the search button will make the of f ice batch to be
displayed in editable table.(Using select query)Then admin can double click each row and select
the rows and then clicking update button will update data in of f ice list table(update command will
run in of f ice table).Then clicking ‘+’ icon will allow the admin to search [Link] the row
and clicking delete button will make delete command to run in Of f ice table.

31
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

For the admin to add new of f ice f aster and easier,admin can f ill up the data and then select the
row and clicking add button will add new of f ice batch to of f ice list table .(Insert command will run
in of f ice table)

The log out tab is not available yet because there is no admin table f or admin acco unt register
yet.

Now f or customer side,my prof ile tab is to register their inf ormation on their [Link] doesn’t
have to register if they do by [Link],customer have to f ill up all the requirements .Then
clicking create acoount buton to get [Link] it is registered,in admin interf ace,the new
customer will be automatically added to the staf f list [Link] can have f ull management over
there,can update or delete.(New customer will be inserted into customer table in databse
system,insert command will run).Bef ore registeration,it will be like this.

Af ter registaration,(as an example)

32
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

Thereis edit my prof ile button if it is clicked,new page will be appeared and there ,customer can
update their inf ormation by f illing up the data and clicking the save changes [Link] customer
inf ormation in admin’s customer list table will be updated too.(Update command will run in
customer table)

The next tab is menu items,if it is clicked,menu items page will be [Link] there,Customer
can choose the items to buy and [Link],customers can enter the of f ice batch they want
to order f [Link] or township can be [Link] customer can search items they want to f ind by its
name or ID or its price(less than____or more than____).Apply the f ilters and clicking search
button will display the related f [Link] can search without entering the product name just
enter than price less or more and click the checkbox and then click search button.(Select query
will be used).To purchase,customer can select the quantity in combo box and then click the add
to cart [Link] it is clicked,item will be added and f inally clicking order button will move into next
webpage, the voucher f or [Link] I made an example,I made an order as customer”Htet
Aung Lin”.

33
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

The voucher f orm with order detail I added will be appeared in voucher page f or [Link]
then I can choose payment method(not available yet).Then f inally ,I,customer can make an order
by clicking accept payment and conf irm order [Link] the order,admin can also view the
voucher and also data will be added to the order list table f rom admin view(insert command will
run).

34
HND-41 GUSTO UNIVERSITY HTET AUNG LIN

In this page,there is a order list table f or [Link] can f ind and check back the old
orders by many f liters(can select the target ones and then click search [Link] target lists
will be displayed)(using select query) or just by scrolling down the [Link] table shows every
lists f rom latest to earlist order date.

In this page, Customer can f ind f or the of f ice inf ormation(the table will show all the list of of f ice)
,also search with its township or city or ID by entering them and click search button.(using select
query) So that customer can contact or know the information of the office easily.

(PS:Netbeans can’t display f ull size so some of the UI are half by half )

35

You might also like