{% extends "base.html" %} {% block content %}

Admin Management

User Management

{% for user in users %} {% endfor %}
ID Username Email Company Registration Date Status Actions
{{ user.id }} {{ user.username }} {{ user.email }} {{ user.company }} {{ user.created_at.strftime('%Y-%m-%d %H:%M') }} {% if user.is_admin %} Admin {% else %} User {% endif %} {% if not user.is_admin %} {% endif %}

Quotation Management

{% for quotation in quotations %} {% endfor %}
ID User Model Tooling ID Total Cost Date Actions
{{ quotation.id }} {{ quotation.user.username }} {{ quotation.model_name }} {{ quotation.tooling_id }} ${{ "%.2f"|format(quotation.total_cost) }} {{ quotation.created_at.strftime('%Y-%m-%d %H:%M') }}
{% endblock %}