diff --git a/accounting/__pycache__/tests.cpython-311.pyc b/accounting/__pycache__/tests.cpython-311.pyc new file mode 100644 index 0000000..3f6e650 Binary files /dev/null and b/accounting/__pycache__/tests.cpython-311.pyc differ diff --git a/assets/pasted-20260205-164945-08c624c0.png b/assets/pasted-20260205-164945-08c624c0.png new file mode 100644 index 0000000..5b715a0 Binary files /dev/null and b/assets/pasted-20260205-164945-08c624c0.png differ diff --git a/config/__pycache__/wsgi.cpython-311.pyc b/config/__pycache__/wsgi.cpython-311.pyc index 9c49e09..1dbe5b0 100644 Binary files a/config/__pycache__/wsgi.cpython-311.pyc and b/config/__pycache__/wsgi.cpython-311.pyc differ diff --git a/config/wsgi.py b/config/wsgi.py index e2fbd58..05c92fe 100644 --- a/config/wsgi.py +++ b/config/wsgi.py @@ -8,9 +8,12 @@ https://docs.djangoproject.com/en/5.2/howto/deployment/wsgi/ """ import os +import pymysql + +pymysql.install_as_MySQLdb() from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings') -application = get_wsgi_application() +application = get_wsgi_application() \ No newline at end of file diff --git a/core/__pycache__/tests.cpython-311.pyc b/core/__pycache__/tests.cpython-311.pyc new file mode 100644 index 0000000..ca65c6f Binary files /dev/null and b/core/__pycache__/tests.cpython-311.pyc differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 93ff41b..8c5c3aa 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 218b2cc..f7d89ae 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/customer_display.html b/core/templates/core/customer_display.html new file mode 100644 index 0000000..628939d --- /dev/null +++ b/core/templates/core/customer_display.html @@ -0,0 +1,461 @@ +{% extends 'base.html' %} +{% load i18n static %} + +{% block title %}{% trans "Customer Display" %} | {{ site_settings.business_name }}{% endblock %} + +{% block head %} + +{% endblock %} + +{% block content %} +
+
+
Debug
+ + +
+
+ {% if site_settings.logo %} + Logo + {% endif %} +
+

{{ site_settings.business_name|default:"POS Display" }}

+
{% trans "Your Order Details" %}
+
+
+ +
+ +
+ +

{% trans "Welcome!" %}

+

{% trans "Items will appear here as scanned." %}

+
+
+ +
+
+ {% trans "Subtotal" %} + --- +
+
+ {% trans "VAT" %} + --- +
+ +
+
+ + +
+
+
{% trans "Total to Pay" %}
+
0.00
+
+ +
+
+
+

{% trans "Thank You!" %}

+

{% trans "We appreciate your business." %}

+
+ + +
+
+
+
+ +
Waiting for data...
+
+{% endblock %} + +{% block scripts %} + +{% endblock %} \ No newline at end of file diff --git a/core/templates/core/pos.html b/core/templates/core/pos.html index 02cde53..cdf6a88 100644 --- a/core/templates/core/pos.html +++ b/core/templates/core/pos.html @@ -128,6 +128,9 @@

{% trans "Point of Sale" %}

+
@@ -515,6 +518,71 @@ {% localize off %}