{% extends 'base.html' %} {% load static %} {% load static_v %} {% block title %}Edit User — Admin{% endblock %} {% block extra_head %} {% if picker_profile %}{% endif %} {% endblock %} {% block content %}
Admin Portal

Edit {{ edited_user.first_name }} {{ edited_user.last_name }}

{{ edited_user.email }} · {{ edited_user.role|title }}

{% csrf_token %} {% if customer_profile %} {% endif %} {% if picker_profile %}

Segment: {% if picker_profile.picker_segment == 'b2b' %}B2B (truck){% else %}B2C{% endif %}

{% if picker_profile.picker_segment == 'b2b' %}

A standalone B2B picker (one truck, no fleet company) offered first for an order tied to any of these — ctrl/cmd-click to select more than one. Leave empty to stay in the general B2B pool, matched by proximity only.

{% else %} {% endif %}

For individual customer orders only — leave unset to keep matching by distance only.

{% if picker_profile.photo_url %} {% else %}

Not provided yet (optional for now)

{% endif %}

Search a market/area name, use current location, click the map to set a pin, drag the pin to fine-tune, or reset it if the picker couldn't set it themselves.

Type exact coordinates directly if you have them — the map and address above update to match.

Approval status: {% if picker_profile.is_approved %}Approved{% else %}Pending — approve from the Manage Users list{% endif %}

{% endif %}

← Back to Manage Users

{% endblock %} {% block extra_scripts %} {% if picker_profile %} {% endif %} {% endblock %}