{"id":24506055,"url":"https://github.com/patilyashh/cafe-software","last_synced_at":"2026-04-29T19:05:18.587Z","repository":{"id":272335635,"uuid":"916249230","full_name":"PATILYASHH/Cafe-Software","owner":"PATILYASHH","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-13T18:36:47.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T23:19:05.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PATILYASHH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-13T18:26:50.000Z","updated_at":"2025-02-11T14:22:57.000Z","dependencies_parsed_at":"2025-01-13T19:36:42.067Z","dependency_job_id":"337cb7bb-2925-4f51-8d9b-9ea41324f2f9","html_url":"https://github.com/PATILYASHH/Cafe-Software","commit_stats":null,"previous_names":["patilyashh/cafe-software"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PATILYASHH/Cafe-Software","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FCafe-Software","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FCafe-Software/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FCafe-Software/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FCafe-Software/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PATILYASHH","download_url":"https://codeload.github.com/PATILYASHH/Cafe-Software/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PATILYASHH%2FCafe-Software/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T23:32:54.322Z","updated_at":"2026-04-29T19:05:18.570Z","avatar_url":"https://github.com/PATILYASHH.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cafe Billing Software\n\nThis is a simple console-based billing software for a cafe. It allows users to view a predefined menu, select items, specify quantities, edit the order, and generate a bill with discounts and taxes applied.\n\n## Features\n\n- **Menu Display**: Displays the cafe menu with categories such as Main Dish (Vegetarian/Non-Vegetarian), Beverage, Dessert, Sides, and Snacks.\n- **Order Items**: Users can select items from the menu, specify quantities, and add them to their order.\n- **Edit Orders**: Allows users to modify quantities of the items already added to the order.\n- **Bill Calculation**: The software calculates the subtotal, applies a 10% discount, and adds 8% tax to generate the final bill.\n- **Customizations**: For beverages, users can choose to add extra milk or sugar.\n- **Bill Printing**: Displays a detailed bill with itemized costs and the final total after discounts and tax.\n\n## Technologies Used\n\n- **C#**: The project is written in C# using basic console operations.\n- **Collections**: Uses `List\u003cItem\u003e` to store menu items and ordered items.\n- **Data Structures**: Uses `HashSet\u003cstring\u003e` to handle item categories dynamically.\n\n## How to Use\n\n1. Clone or download the repository.\n2. Open the project in Visual Studio or any C#-compatible IDE.\n3. Run the `Program.cs` file to start the application.\n\n### Steps to Use the Software:\n1. **View Menu**: Upon launching the program, the menu will be displayed. You can browse through categories like Main Dish, Beverage, Dessert, Sides, and Snacks.\n2. **Select Items**: Enter the item number from the menu to add it to your order.\n3. **Specify Quantity**: After selecting an item, the program will ask for the quantity you wish to order.\n4. **Edit Order**: If you wish to change the quantity of an item, type 'edit' and select the item you wish to modify.\n5. **Complete Order**: Once you've finished selecting your items, type 'done' to finalize your order and print the bill.\n6. **Print Bill**: After completing the order, the program will calculate and display the bill, including the subtotal, discount, tax, and final total.\n\n## Sample Output\n\n```\nWelcome to the Cafe Billing Software\n\nMenu:\n-------------------------------------------------\n\nMain Dish - Vegetarian:\n1. Burger (Vegetarian) - ₹399.00\n2. Veg Pizza - ₹649.00\n3. Pasta (Vegetarian) - ₹599.00\n-------------------------------------------------\nMain Dish - Non-Vegetarian:\n4. Burger (Chicken) - ₹499.00\n5. Chicken Pizza - ₹749.00\n6. Chicken Pasta - ₹699.00\n-------------------------------------------------\nBeverage:\n7. Coffee - ₹199.00\n8. Tea - ₹149.00\n9. Juice (Orange) - ₹249.00\n10. Smoothie (Mango) - ₹349.00\n-------------------------------------------------\nDessert:\n11. Cake - ₹299.00\n12. Ice Cream (Vanilla) - ₹199.00\n13. Chocolate Mousse - ₹399.00\n-------------------------------------------------\nSides:\n14. Fries - ₹199.00\n15. Garlic Bread - ₹249.00\n16. Onion Rings - ₹299.00\n-------------------------------------------------\nSnacks:\n17. Spring Rolls - ₹349.00\n18. Nachos - ₹399.00\n-------------------------------------------------\n\nPlease select an item by number:\n```\n\n### Example Order:\n```\nEnter item number to order (or 'done' to finish, 'edit' to modify, 'print' to print bill): 1\nEnter quantity for Burger (Vegetarian): 2\nWould you like to add extra milk or sugar? (y/n): y\nEnter item number to order (or 'done' to finish, 'edit' to modify, 'print' to print bill): done\nBill Summary:\n-------------------------------------------------\nBurger (Vegetarian) (with extra milk and sugar) - 2 x ₹399.00 = ₹798.00\n-------------------------------------------------\nSubtotal: ₹798.00\nDiscount (10%): -₹79.80\nTax (8%): +₹63.84\nFinal Total: ₹781.04\n```\n\n## License\n\nThis project is open-source and free to use. You can modify it as needed for personal or commercial purposes.\n\n## Contributions\n\nFeel free to contribute by forking the repository, creating issues, and submitting pull requests. All contributions are welcome!\n```\nhttps://github.com/PATILYASHH/Cafe-Software\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilyashh%2Fcafe-software","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatilyashh%2Fcafe-software","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatilyashh%2Fcafe-software/lists"}