{% extends 'base.html' %} {% load static_v %} {% block title %}{{ t.fleet_dashboard_title }} — PickkerMarket{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{{ company.company_name }}

{{ t.fleet_dashboard_title }}

{{ t.fleet_live_map_title }}

{% csrf_token %} {% if warehouses %} {% endif %}
{% for truck in trucks %}
{% if not truck.is_active %}Inactive{% endif %}

{% if truck.truck_type.icon_url %}{% else %}{{ truck.truck_type.icon }}{% endif %} {{ truck.nickname|default:truck.truck_type.name }}

{{ truck.truck_type.name }}{% if truck.license_plate %} · {{ truck.license_plate }}{% endif %}

{% if truck.warehouses %}

→ {% for w in truck.warehouses %}{{ w.name }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %}
{% csrf_token %}
{% empty %}

{{ t.fleet_no_trucks }}

{% endfor %}
{% endblock %} {% block extra_scripts %} {% endblock %}