Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to know how much they spend each day for toppings by keeping track of each topping as each topping has its own cost.

Technology needed:
Django for the program
Postgresql for database

Output:

Every time there is an order, Jeff will add a pizza (Pizza A, B, or C) and will input how many pizzas is ordered.
By the end of the day, Jeff will click on the “Report” button and the system will show the ff info:
How many pizzas in total were sold for that day
How many pizzas in total were sold for that day per pizza type (see below):
How much they spent in total
How much they earned in total (net)
How much per topping was spent
If Jeff is only able to sell less than 5 pizzas by the end of the day, it will tell him that he has failed
Pizza Types(cost per sale):
Pizza A (has Topping A, B, and C): \$ 30.50
Pizza B (has Topping A only): \$ 24.50
Pizza C (has Topping B and C only): \$ 28.50
Toppings Type(cost per pizza):
Topping A: \$ 5.99
Topping B: \$ 11.99
Topping C: \$ 8.99
Also, include the source code. Also, send me the google drive link for this project.

Sample Solution