{% extends 'base.html' %} {% block title %}Dashboard - Manufacturing App{% endblock %} {% block content %}

Dashboard

Daily Production
{{ daily_production.total_quantity|default:"0" }}
{{ daily_production.total_orders|default:"0" }} orders
Daily Sales
${{ daily_sales.total_amount|default:"0" }}
{{ daily_sales.total_orders|default:"0" }} orders
Daily Purchases
${{ daily_purchases.total_amount|default:"0" }}
{{ daily_purchases.total_orders|default:"0" }} orders
Monthly Profit
${{ monthly_profit|default:"0" }}
This month
Production Overview
Inventory Status
Recent Manufacturing Orders
{% if recent_manufacturing %}
{% for order in recent_manufacturing %} {% endfor %}
Order Product Quantity Date
{{ order.order_number }} {{ order.product.name }} {{ order.quantity }} {{ order.date }}
{% else %}

No recent manufacturing orders.

{% endif %}
Low Stock Alerts
{% if low_stock_products %}
{% for product in low_stock_products %} {% endfor %}
Product Current Stock Min Level Status
{{ product.name }} {{ product.current_stock }} {{ product.min_stock_level }} Low Stock
{% else %}

All products have sufficient stock.

{% endif %}
Weekly Summary

{{ weekly_production.total_quantity|default:"0" }}

Production

${{ weekly_sales.total_amount|default:"0" }}

Sales

Monthly Summary

{{ monthly_production.total_quantity|default:"0" }}

Production

${{ monthly_sales.total_amount|default:"0" }}

Sales

{% endblock %} {% block extra_js %} {% endblock %}