Question: Can you please help me with Python code? Thanks a lot 1. Dessert Shop Part 12: Admin Module Problem All good Point of Sale (POS)

Can you please help me with Python code? Thanks a lot

Can you please help me with Python code? Thanks a lot 1.

Dessert Shop Part 12: Admin Module Problem All good Point of Sale

(POS) applications should include an Admin module to allow the shop owners

look up information on customers, inventory, sales history, and other role-based business

information. For this part of the project, you will add an Admin

module to your Dessert Shop application that shows detailed customer information. Changes

1. Dessert Shop Part 12: Admin Module Problem All good Point of Sale (POS) applications should include an Admin module to allow the shop owners look up information on customers, inventory, sales history, and other role-based business information. For this part of the project, you will add an Admin module to your Dessert Shop application that shows detailed customer information. Changes to console application user input Add a 5th option to the top-level menu of options called "Admin Module". Choosing the the Admin Module will present a new set of choices: 1: Shop Customer List 2: Customer Order History 3: Best Customer 4: Bxit Admin Module - Choosing 1 will show a listing of all Dessert Shop customers and their Customer IDs in a nice format as shown in the Example Run. - Choosing 2 will ask the user for a customer name and then print out all orders (receipts) for that customer as shown in the example run. - Choosing 3 will display a banner exclaiming who the best customer is based on the number of orders each customer as made as shown in the Example Run. - Choosing 4 will return to the previous menu. - customer_db is a Python dict, so take advantage of the operations it provides. - It is common to chain together operations on objects with dot notation, and this works as long as each operation returns a valid object or value. - You can probably think of many more kinds of operations and questions we could build into the system beyond what you have built so far. The modularity provided by object-oriented style helps manage and timit the complexity if used wisely. - Wisdom comes with time and practice. Test Cases No new automated test cases to add for this part. Completion will be by comparing your output to the example run. Automating that amounts to comparing very long strings, which can be thrown off by whitespace and punctuation. Example Scenario The receipts shown below are not formatted the way we expect them to be printed, but all the information you need is there to do it. Customer Name: James Customer ID: 1001 Total orders: 1 Hit enter to start a new order. 1: Candy 2: Cookie 3: Ice Cream 4 : Sunday 5: Admin Module What would you like to add to the order? (1-5, Enter for done): Enter the customer name: Mei What form of payment will be used? (CASH, CARD, PHONE): Phone Paid for with CARD. Order \#: 2 Gummy Bears (Bag) 0.25 lbs. \& $0.35/1b.:$0.09 [Tax: \$0.01] Oatmeal Raisin Cookies (Box) 2 cookies a \$3.45/dozen: \$0.58 [Tax: \$0.04] Pistachio Ice Cream (Bowl) 2 scoops e $0.79/ scoop: $1.58 [Tax: $0.11] Total number of items in order: 3 Order Subtotals: $2.24 [Tax: \$0.16] Order Total: $2.41 Paid for with CASH. 1: Shop Customer List 2: Customer Order History 3: Best Customer 4: Bxit Admin Module What would you like to do? (14):3 The Dessert Shop's most valued customer is: Karis! 1: Shop Customer List 2: Customer Order History 3: Best Customer 4: Bxit Admin Module What would you like to do? (14):4 1: Candy 2: Cookie 3: Ice Cream 4: Sunday 5: Admin Module What would you like to add to the order? (1-5, Enter for done)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!