- Calculate the total amount of the items ordered and generate a bill π§Ύ.
- Save the bill in a database πΎ.
- Access the database .
- Send the bill to the customer using mail π§.
- Update the items available in the restaurant.
Calculates the total amount of the items ordered and generates a bill π§Ύ.
Send the bill to the customer π§. ( to make this work follow the steps given below in the Instructions )
Save the bill in a database πΎ. ( Using sqlite3 database )
Update the items available in the restaurant.
Default username and password is admin and password.
To change username and password , go to the login() function and in the user_dict change username and password.
Then run the program and enter username and password that you have set when prompted.
Login to your mail
Open a new tab and search "Less secure apps"
Click on the first link and ENABLE "Less secure apps".
In the code go to mail() function and enter your email ID and Password.
Now you are good to go...!π