{% extends 'base.html' %} {% block title %}Truck Types — Admin{% endblock %} {% block content %}
Admin Portal

Truck Types

← Back to portal

The vehicles B2B pickers register as driving. Each type's max weight decides which trucks are even offered for a given order (a heavy order won't show a tricycle); base rate + the B2B per-km rate (Fee Settings) makes up the delivery fee. Only active types are offered to customers at checkout.

{% csrf_token %}
{% for tt in truck_types %}
{% if not tt.is_active %}Inactive{% endif %}

{{ tt.icon }} {{ tt.name }}

{{ tt.capacity_label }} · up to {{ tt.max_weight_kg|floatformat:0 }} kg

Base rate: TSh {{ tt.base_rate|floatformat:0 }}

{% csrf_token %}
{% empty %}

No truck types added yet — add your first one above.

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