{% extends 'base.html' %} {% load i18n static humanize %} {% block title %} {% trans 'User Management' %} {% endblock title %} {% block content %}

{% trans 'User Management' %}

{% trans 'Customers' %}

{% for customer in customers %} {% empty %} {% endfor %}
{{ _("First Name") }} {{ _("Last Name") }} {{ _("Email") }} {{ _("Status") }} {{ _("Created date") }} {{ _("Actions") }}
{{ customer.first_name }} {{ customer.last_name }} {{ customer.email }} {% if customer.active %} {{ _("Active") }} {% else %} {{ _("Inactive") }} {% endif %} {{ customer.created|naturalday|capfirst }}
{% trans 'No data available in table' %}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}

{% trans 'Organizations' %}

{% for organization in organizations %} {% empty %} {% endfor %}
{{ _("Name") }} {{ _("Arabic Name") }} {{ _("Email") }} {{ _("Status") }} {{ _("Create date") }} {{ _("Actions") }}
{{ organization.name }} {{ organization.arabic_name }} {{ organization.email }} {% if customer.active %} {{ _("Active") }} {% else %} {{ _("Inactive") }} {% endif %} {{ organization.created|naturalday|capfirst }}
{% trans 'No data available in table' %}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}

{% trans 'Vendors' %}

{% for vendor in vendors %} {% empty %} {% endfor %}
{{ _("Name") }} {{ _("Arabic Name") }} {{ _("Email") }} {{ _("Status") }} {{ _("Create date") }} {{ _("Actions") }}
{{ vendor.name }} {{ vendor.arabic_name }} {{ vendor.email }} {% if customer.active %} {{ _("Active") }} {% else %} {{ _("Inactive") }} {% endif %} {{ vendor.created_at|naturalday|capfirst }}
{% trans 'No data available in table' %}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}

{% trans 'Staff' %}

{% for obj in staff %} {% empty %} {% endfor %}
{{ _("Name") }} {{ _("Arabic Name") }} {{ _("Email") }} {{ _("Status") }} {{ _("Create date") }} {{ _("Actions") }}
{{ obj.name }} {{ obj.arabic_name }} {{ obj.email }} {% if obj.active %} {{ _("Active") }} {% else %} {{ _("Inactive") }} {% endif %} {{ obj.created|naturalday|capfirst }}
{% trans 'No data available in table' %}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}
{% endblock %}