diff --git a/core/templates/base.html b/core/templates/base.html index a14e57d..e6c9160 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -4,50 +4,151 @@ - Searing Sandwiches | POS & Stock - + {% block title %}Searing Sandwiches | POS & Stock{% endblock %} + + + + + + + + {% block extra_css %}{% endblock %} @@ -55,31 +156,36 @@ -
- {% block content %}{% endblock %} +
+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} +
+ +
+
+ {% block content %}{% endblock %} +
+ {% block extra_js %}{% endblock %} - + \ No newline at end of file diff --git a/core/templates/core/dashboard.html b/core/templates/core/dashboard.html index baee4b5..5bed782 100644 --- a/core/templates/core/dashboard.html +++ b/core/templates/core/dashboard.html @@ -1,31 +1,43 @@ {% extends 'base.html' %} {% block content %} -
-
-

Manager Dashboard

+
+
- Manage Users +

Manager Dashboard

+

Overview of your restaurant's performance and stock.

+
+
-
+
-
-
Total Sales (All Time)
-

${{ total_sales|stringformat:".2f" }}

+
+
Total Sales (All Time)
+

{{ total_sales|stringformat:".2f" }} EGP

+
+ Live tracking +
-
-
Ingredient Stock Levels
-
+
+
+
Ingredient Stock Levels
+ Updated in real-time +
+
{% for ingredient in ingredients %} -
-
-
{{ ingredient.name }}
-
{{ ingredient.stock_quantity|floatformat:0 }} {{ ingredient.unit }}
+
+
+
{{ ingredient.name }}
+
+ {{ ingredient.stock_quantity|floatformat:0 }} + {{ ingredient.unit }} +
{% endfor %} @@ -34,40 +46,66 @@
-
+
-

Recent Orders

+
+

Recent Orders

+ +
- - - - - - - - - +
Order #TimeItemsNotesTotal
+ + + + + + + + {% for order in orders %} - - + - - + + + {% empty %} - + {% endfor %} diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 987c50e..c062d51 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -1,34 +1,62 @@ {% extends 'base.html' %} -{% block title %}Welcome | Liver & Sausage POS{% endblock %} +{% block title %}Welcome | Searing Sandwiches{% endblock %} {% block content %} -
-
-

- Professional Cashier System +
+
+
+ Next-Gen POS Solution +
+

+ The Smarter way to
Manage Your Kitchen.

-

- Streamlined order management, automated stock tracking, and real-time reporting for your restaurant. +

+ Empower your team with a lightning-fast cashier interface, automated inventory control, and detailed sales analytics.

-
+
-
-
-

Cashier POS

-

Create orders, customize sandwiches, and print receipts instantly.

- Open POS +
+
+ +
+

Speedy Checkout

+

A touch-friendly interface designed for high-volume service. Add items, take notes, and print receipts in seconds.

+ + Start Selling +
-
-
-

Manager Dashboard

-

Track liver, sausage, and fries stock. View sales reports and manage prices.

- View Reports +
+
+ +
+

Smart Insights

+

Real-time stock tracking for liver, sausage, and ingredients. Detailed sales reports to help you grow your business.

+ + View Analytics +
+ +
+

Trusted by modern fast-food chains

+
+ + + + +
+
-{% endblock %} + + +{% endblock %} \ No newline at end of file diff --git a/core/templates/core/login.html b/core/templates/core/login.html index 2f715b5..9da5451 100644 --- a/core/templates/core/login.html +++ b/core/templates/core/login.html @@ -1,32 +1,58 @@ {% extends 'base.html' %} {% block content %} -
-
-
+
+
+
-

Login

+
+
+ +
+

Sign In

+

Enter your credentials to access the system

+
+
{% csrf_token %} -
- - +
+ +
+ + +
- - + +
+ + +
-
- +
+
+ {% if form.errors %} -
- Invalid username or password. + {% endif %}
+
-{% endblock %} + + +{% endblock %} \ No newline at end of file diff --git a/core/templates/core/pos.html b/core/templates/core/pos.html index 70f9ed2..e3de3c3 100644 --- a/core/templates/core/pos.html +++ b/core/templates/core/pos.html @@ -1,93 +1,196 @@ {% extends 'base.html' %} -{% block title %}POS | Cashier Interface{% endblock %} +{% block title %}POS | Searing Sandwiches{% endblock %} {% block extra_css %} -.menu-item-card { - cursor: pointer; - transition: all 0.2s; -} -.menu-item-card:hover { - border-color: var(--orange); - background-color: #2a2a2d; -} -.cart-sticky { - position: sticky; - top: 90px; - max-height: calc(100vh - 120px); - overflow-y: auto; -} -.cart-item { - border-bottom: 1px solid var(--slate); - padding: 10px 0; -} -.cart-item:last-child { - border-bottom: none; -} + {% endblock %} {% block content %} -
- -
-

Menu

-
- {% for item in menu_items %} -
-

Order #TimeItemsNotesTotal
{{ order.order_number }}{{ order.created_at|date:"H:i" }} {{ order.created_at|date:"d M" }}{{ order.order_number }} - {% for item in order.items.all %} - {{ item.quantity }}x {{ item.menu_item.name }} - {% endfor %} +
{{ order.created_at|date:"H:i" }}
+
{{ order.created_at|date:"d M, Y" }}
{{ order.customer_notes|truncatechars:30 }}${{ order.total_price }} +
+ {% for item in order.items.all %} + + {{ item.quantity }}x {{ item.menu_item.name }} + + {% endfor %} +
+
+ + {% if order.customer_notes %} + {{ order.customer_notes|truncatechars:30 }} + {% else %} + - + {% endif %} + + {{ order.total_price|floatformat:2 }} EGP - Receipt + + Receipt +
No orders found yet. +
+ +

No orders found yet. Start by creating one in the POS.

+ Open POS +
+
- +
+ - - - + + + + - {% for user in users %} + {% for u in users %} - - + + + - {% empty %} - + {% endfor %} @@ -83,4 +115,8 @@ -{% endblock %} + + +{% endblock %} \ No newline at end of file
UsernameRoleDate JoinedUserRoleJoined Date
{{ user.username }} - - {{ user.profile.role|title }} - + +
+
+ +
+ {{ u.username }} +
+
+ {% if u.profile and u.profile.role == 'manager' %} + + Manager + + {% else %} + + Cashier + + {% endif %} + +
{{ u.date_joined|date:"M d, Y" }}
+ at {{ u.date_joined|date:"H:i" }} +
+ {{ user.date_joined|date:"M d, Y" }}
No users found. + No users found. +