CC 15 Script

You might also like

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

I am Jaylord Cris Borres of CC 15 A

Today I will be showing you my version of cafe management system


its source code, and the actual execution of the program

for the source code, it is compose of different parts


i have to put some section in here just to make it easier to read

I have here the frames


which mainly the frames or the structure of the entire program, the frame holder
for
drinks and cake section, the cost total frames, receipt and button frames and etc.

the variables
we initialized some variables here
so we can set variable size, and get the data, for example in the checkbuttons

in this section we have the checkbuttons and entry for drinks


as you can see there is a function called is latte
what this function does, it checks whether the checkbutton for a certain drink or
cake , if it is clicked by the user therefore it is true, if its true we set the
state to normal, we delete the displayed default value which is 0
so the user can input integer based on the quantity of item they desire, if its
false, we make sure its state is
disabled and is displaying default 0 value, and this is applicable to all items in
the menu

down here we have the entry for the drink cost, cake cost, charge, sub total, tax
and total cost, and what it does
is to display the total cost of drinks and cakes purchased, the paid tax etc.

also we have here the functions for the receipt, it displays the name of the item
and the quantity, if its checked in the menu, the function for total, mainly the
computations in the system
, I refer the price of each drink and cakes based on the internet and made it into
peso value
, the function for reset,
basically it resets all values to 0 in the system, lastly the exit button, the user
will be prompted to confirm exit, if yes, therefore we destroy the window

thats it for the source code

now we will run the program

here you have to select drinks and cakes, if you only want cakes, check the cakes
you like enter some value, click total, and click receipt, it displays only the
items you selected, and it displays the cost too, the tax and the total in the
receipt. the same way if you only selected drinks, However, If you want to select
both just click reset, and select the items you want, enter some value, click
total, and click receipt.

Thats it, for the cafe management system.

You might also like