├── pr1 ├── __init__.py ├── __pycache__ │ ├── urls.cpython-310.pyc │ ├── urls.cpython-38.pyc │ ├── wsgi.cpython-310.pyc │ ├── wsgi.cpython-38.pyc │ ├── __init__.cpython-38.pyc │ ├── settings.cpython-38.pyc │ ├── __init__.cpython-310.pyc │ └── settings.cpython-310.pyc ├── asgi.py ├── wsgi.py ├── urls.py └── settings.py ├── cafe ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── 0007_bill.cpython-38.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── 0001_initial.cpython-38.pyc │ │ ├── 0003_order_price.cpython-38.pyc │ │ ├── 0008_bill_bill_time.cpython-38.pyc │ │ ├── 0005_order_bill_clear.cpython-38.pyc │ │ ├── 0006_user_order_count.cpython-38.pyc │ │ ├── 0002_alter_order_table.cpython-38.pyc │ │ └── 0004_menu_item_list_order.cpython-38.pyc │ ├── 0006_user_order_count.py │ ├── 0003_order_price.py │ ├── 0004_menu_item_list_order.py │ ├── 0005_order_bill_clear.py │ ├── 0002_alter_order_table.py │ ├── 0008_bill_bill_time.py │ ├── 0007_bill.py │ └── 0001_initial.py ├── tests.py ├── __pycache__ │ ├── admin.cpython-38.pyc │ ├── apps.cpython-310.pyc │ ├── apps.cpython-38.pyc │ ├── urls.cpython-310.pyc │ ├── urls.cpython-38.pyc │ ├── views.cpython-38.pyc │ ├── admin.cpython-310.pyc │ ├── manager.cpython-38.pyc │ ├── models.cpython-310.pyc │ ├── models.cpython-38.pyc │ ├── views.cpython-310.pyc │ ├── __init__.cpython-310.pyc │ ├── __init__.cpython-38.pyc │ └── manager.cpython-310.pyc ├── apps.py ├── admin.py ├── manager.py ├── urls.py ├── models.py └── views.py ├── .gitattributes ├── db.sqlite3 ├── static ├── logo.png └── cart_img.png ├── media └── fimage │ ├── dal_fry.png │ ├── mix_veg.png │ ├── dal_tadka.png │ ├── jeera_rice.png │ ├── manchurian.png │ ├── rasgulla.png │ ├── steam_rice.png │ ├── masala_papad.png │ ├── shahi_tukda.png │ ├── tandoor_roti.png │ ├── butter_tandoor.png │ ├── paneer_chatpata.png │ ├── paneer_chilli.png │ ├── roasted_papad.png │ ├── masala_papad_uLBfzPx.png │ └── roasted_papad_1XLzljM.png ├── templates ├── offers.html ├── my_orders.html ├── reviews.html ├── all_orders.html ├── bills.html ├── home.html ├── generate_bill.html ├── profile.html ├── login.html ├── manage_menu.html ├── cart.html ├── menu.html ├── signup.html └── base.html ├── README.md └── manage.py /pr1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cafe/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-detectable=false 2 | -------------------------------------------------------------------------------- /cafe/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/static/logo.png -------------------------------------------------------------------------------- /static/cart_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/static/cart_img.png -------------------------------------------------------------------------------- /media/fimage/dal_fry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/dal_fry.png -------------------------------------------------------------------------------- /media/fimage/mix_veg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/mix_veg.png -------------------------------------------------------------------------------- /media/fimage/dal_tadka.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/dal_tadka.png -------------------------------------------------------------------------------- /media/fimage/jeera_rice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/jeera_rice.png -------------------------------------------------------------------------------- /media/fimage/manchurian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/manchurian.png -------------------------------------------------------------------------------- /media/fimage/rasgulla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/rasgulla.png -------------------------------------------------------------------------------- /media/fimage/steam_rice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/steam_rice.png -------------------------------------------------------------------------------- /media/fimage/masala_papad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/masala_papad.png -------------------------------------------------------------------------------- /media/fimage/shahi_tukda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/shahi_tukda.png -------------------------------------------------------------------------------- /media/fimage/tandoor_roti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/tandoor_roti.png -------------------------------------------------------------------------------- /media/fimage/butter_tandoor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/butter_tandoor.png -------------------------------------------------------------------------------- /media/fimage/paneer_chatpata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/paneer_chatpata.png -------------------------------------------------------------------------------- /media/fimage/paneer_chilli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/paneer_chilli.png -------------------------------------------------------------------------------- /media/fimage/roasted_papad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/roasted_papad.png -------------------------------------------------------------------------------- /cafe/__pycache__/admin.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/admin.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/apps.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/apps.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/apps.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/apps.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/urls.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/urls.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/views.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/views.cpython-38.pyc -------------------------------------------------------------------------------- /media/fimage/masala_papad_uLBfzPx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/masala_papad_uLBfzPx.png -------------------------------------------------------------------------------- /pr1/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/urls.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/urls.cpython-38.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/wsgi.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/wsgi.cpython-310.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/wsgi.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/wsgi.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/admin.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/admin.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/manager.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/manager.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/models.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/models.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/models.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/models.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/views.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/views.cpython-310.pyc -------------------------------------------------------------------------------- /media/fimage/roasted_papad_1XLzljM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/media/fimage/roasted_papad_1XLzljM.png -------------------------------------------------------------------------------- /pr1/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/settings.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/settings.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/__pycache__/manager.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/__pycache__/manager.cpython-310.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /pr1/__pycache__/settings.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/pr1/__pycache__/settings.cpython-310.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0007_bill.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0007_bill.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class CafeConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'cafe' 7 | -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0001_initial.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0001_initial.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0003_order_price.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0003_order_price.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0008_bill_bill_time.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0008_bill_bill_time.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0005_order_bill_clear.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0005_order_bill_clear.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0006_user_order_count.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0006_user_order_count.cpython-38.pyc -------------------------------------------------------------------------------- /cafe/migrations/__pycache__/0002_alter_order_table.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kaushik-Dhoot/Order-food-using-QR_code/HEAD/cafe/migrations/__pycache__/0002_alter_order_table.cpython-38.pyc -------------------------------------------------------------------------------- /templates/offers.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | 3 | {% block title %}Offers 4 | {% endblock title %} 5 | 6 | {% block body %} 7 | 8 |
Order Time: {{ o.order_time }}
31 | 32 | {% for item_key, item_values in o.items_json.items %} 33 |{{ item_values.1 }} : {{ item_values.0 }}
34 | {% endfor %} 35 | 36 |Total : {{o.price}}
37 |Order Time: {{ o.order_time }}
25 | 26 | {% for item_key, item_values in o.items_json.items %} 27 |{{ item_values.1 }} : {{ item_values.0 }}
28 | {% endfor %} 29 |Total : {{o.price}}
30 | 31 |Name: {{ o.name }}
32 | {% if not o.bill_clear %} 33 | 34 | {%else%} 35 || Item name | 25 |Qty | 26 |Total | 27 |
|---|---|---|
| {{ item }} | 33 |{{ values.0 }} | 34 |{{ values.1 }} | 35 |
| Item name | 27 |Qty | 28 |Total | 29 |
|---|---|---|
| {{ key }} | 35 |{{ value.0 }} | 36 |{{ value.1 }} | 37 |
| First name | 28 |{{request.user.first_name}} | 29 |
|---|---|
| Last name | 32 |{{request.user.last_name}} | 33 |
| Phone Number | 36 |{{request.user.phone}} | 37 |
| Total Orders | 40 |{{request.user.order_count}} | 41 |
33 | {{i.desc}}
73 | 82 |{{i.desc}}
25 | {% if user.is_superuser %} 26 | 30 | 31 | {% else %} 32 | 33 | 34 | 35 | {%endif%} 36 |Sign up
16 | {% for message in messages %} 17 |
84 |
85 |