Documente Academic
Documente Profesional
Documente Cultură
Assalammualaikum wbt...
Firstly, I would like to thank to Allah s.w.t. because was give me permission,
good healthy, and more idea to prepared my assignment very well. During
the assignment operation, I was facing many assumption and obstacle to get
the information and data but I’m never giving up to prepared and complete
my assignment. Lastly, I was settling it on the right time.
Not forgotten, I also would like to say thank you to my parents and family
because were understand my situation. They are helped me so much in
finance, time, and supported to me. Beside that, thanked to my classmates
because give support to me while doing the assignment. They are also
encouraging me every day. May Allah Bless you guys. Amen. Thank you.
design a better interface which has quick and easy access to menu
the food and by the customer in the form of a bill. The system we are
customers, take orders and run the restaurant. With our system, we
this system are that the customer doesn’t need to take a long time to
make an order. They just simply need to go the computer that has
been provided in the restaurant and make order. What this system can
do is. This system can take order for the customer. The customer just
simply need to add their type of pizza crust, size of their pizza, their
profile information, their type of payment and the system will print the
Insert
Choices
No
Yes
Insert Topping price* 5 + Total
Topping Payment= Total Price
No
Yes
Customer
Informations
Receipt :
1) Name
2) No. Phone
3) IC Number
4) Address
5) Payment
type
Printed
Receipt
End
End
INTERFACE
SKECTH
SPLASH FORM
Image1 Image2
Label1
Label2
FORM 1
FORM 2
FORM 3
FORM 4
PROPERTISE
OBJECT PROPERTY SETTING
CAPTION -
CAPTION Calculation
CAPTION CALCULATION
Caption type
CAPTION sizing
CAPTION LARGE
CAPTION MEDIUM
CAPTION SMALL
TEXT
TEXT
TEXT
TEXT
CAPTION CALCULATE
CAPTION RESET
CAPTION NEXT
CAPTION topping
CAPTION Pepperoni
CAPTION Mushrooms
CAPTION Olives
CAPTION Pineapple
CAPTION Anchovies
CAPTION Seafood’s
TEXT RM 4.00
TEXT RM 4.00
TEXT RM 4.00
TEXT RM 4.00
TEXT RM 5.00
TEXT RM 4.00
TEXT RM 4.00
TEXT RM 4.00
CAPTION NEXT
CommandButton3 NAME Command3
CAPTION Clear
CAPTION choose
CAPTION choose
CAPTION choose
CAPTION choose
CAPTION choose
CAPTION choose
CAPTION choose
CAPTION choose
TEXT
- -
TEXT -
CAPTION NAME
Label2 NAME Label2
CAPTION NO PHONE
CAPTION IC NO
CAPTION ADDRESS
CAPTION TOPPINGS
- -
TEXT -
TextBox2 NAME Text2
TEXT -
TEXT -
TEXT -
TEXT -
TEXT -
CAPTION preview
CAPTION back
CAPTION Receipt
CAPTION NAME
Label2 NAME Label2
CAPTION NO PHONE
CAPTION IC NO
CAPTION ADDRESS
CAPTION TOPPINGS
CAPTION Receipt
TOTAL PAYMENT
- -
TEXT -
TEXT -
TextBox3 NAME Text3
TEXT -
TEXT -
TEXT -
TEXT -
CAPTION BACK
CAPTION PRINT
CODING
FORM 1
per_extra_large = Val(Text2.Text)
per_large = Val(Text3.Text)
per_medium = Val(Text4.Text)
per_small = Val(Text5.Text)
YOUR_TOTAL_PAYMENT = Val(Text1.Text)
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
End If
Text1.Text = YOUR_TOTAL_PAYMENT
ElseIf Option2 And Option5.Value = True Then
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
End If
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
Text1.Text = YOUR_TOTAL_PAYMENT
ElseIf Option3 And Option7.Value = True Then
Text1.Text = YOUR_TOTAL_PAYMENT
End If
End Sub
Option1.Value = False
Option2.Value = False
Option3.Value = False
Option4.Value = False
Option5.Value = False
Option6.Value = False
Option7.Value = False
End Sub
Form2.Text20 = Text1.Text
Form2.Text21 = Text1.Text
Form2.Show
Unload Me
End Sub
End Sub
FORM 2
pri_extra_cheese = Val(Text2.Text)
pri_pepproni = Val(Text12.Text)
pri_mushrooms = Val(Text13.Text)
pri_green_peppers = Val(Text14.Text)
pri_hot_peppers = Val(Text15.Text)
pri_olives = Val(Text16.Text)
pri_pineapple = Val(Text17.Text)
pri_anchovies = Val(Text18.Text)
pri_seafoods = Val(Text19.Text)
your_pizza_bill = Val(Text20.Text)
your_topping_bill = Val(Text1.Text)
your_total_bill = Val(Text21.Text)
Text1.Text = your_topping_bill
End If
End Sub
pri_5 = Val(Text6.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check5.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form4.Text5 = Text21.Text
End If
End Sub
pri_6 = Val(Text7.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check6.Value = 1 Then
pri_total = Val(Text21.Text) + 5
Text21.Text = pri_total
Form4.Text5 = Text21.Text
End If
End Sub
pri_7 = Val(Text8.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check7.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
Form1.Show
Unload Me
End Sub
pri_8 = Val(Text10.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check8.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form2.List1.AddItem "RM 4.00"
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_9 = Val(Text10.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check9.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
End If
End Sub
Form3.Show
Unload Me
End Sub
Check1.Value = False
Check2.Value = False
Check3.Value = False
Check4.Value = False
Check5.Value = False
Check6.Value = False
Check7.Value = False
Check8.Value = False
Check9.Value = False
List1.Clear
End Sub
Dim n As Integer
If Check1.Value = 1 Then
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
End If
If n > 5 Then
MsgBox msg1
End If
If n > 5 Then
MsgBox msg1
End If
End Sub
pri_total = Val(Text1.Text)
pri_1 = Val(Text2.Text)
pri_2 = Val(Text3.Text)
Text1.Text = pri_total
End If
End Sub
pri_1 = Val(Text2.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check1.Value = 1 Then
pri_total = Val(Text21.Text) + 3
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_2 = Val(Text3.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check2.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_3 = Val(Text4.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check3.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_4 = Val(Text5.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check4.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
End Sub
FORM 3
Form4.Text1 = Text1.Text
Form4.Text2 = Text2.Text
Form4.Text3 = Text3.Text
Form4.Text4 = Text4.Text
Form4.Show
Unload Me
End Sub
Form2.Show
Unload Me
End Sub
FORM 4
Form3.Show
Unload Me
End Sub
PrintForm
End Sub
USER
MANUAL
In this form user need to choose their type of crust. They
can do that by clicking the option button. They also need
to insert the size of their pizza also by clicking the option
button. At the left bottom of the form we have 3
command buttons. From the right we have the calculate
command button. User need to click that button to
calculate the prize of the pizza size. If the customers want
to do a correction, the customer just click button “cancel
information” and the form will reset like firstly the
customer entered the form. The next form is the topping
form.
In this form user need to choose what they want to be the
topping of their pizza. They need to click the option
button and then click the choose command button to
insert the topping in the bill list box. At the bottom we will
see the checking you’re topping command button. The
function of this command button is to check how many
topping that you choose. The massage box will be appear
if you choose more than 5 topping because this system
don’t allowed the customer to choose more than 5
topping. At the bottom left of the form we will see the
back, next and clear command button. The function of
the back command button is to direct the user to the
sizes form. The function of the clear command button is
to clear all the information in the topping form that user
have entered. The next command button will direct the
user to the customer information form
In this form user need to insert their detail information
such as name, IC no, and phone no. user also need to
write down their type of payment in this form. There is 2
command buttons in this form. The first button is the
preview command button. The preview command button
will take user to look their receipt. The back command
button will take user to the back form.
This is the receipt form. Basically these form just a
preview from the user information form. User can’t
change their input here. They need to click the back
button if they need to make adjustment to the
information or pizza order. The print button will print the
user receipt.