{% extends "admin_base.html" %} {% block title %}Listings — GoldBuy Admin{% endblock %} {% block admin_content %}

Listings

↓ Export Excel
All {{ tab_counts.get('', 0) }} {% for s in STATUSES %} {{ STATUS_LABELS[s] }} {{ tab_counts.get(s, 0) }} {% endfor %}
{% if not listings %}

No listings match{% if q %} “{{ q }}”{% endif %}.

{% endif %} {% for l in listings %}

{{ l['item_title'] }} {{ STATUS_LABELS[l['status']] }}

#{{ l['id'] }} · {{ l['created_at'] }}
{% for filename in photos.get(l['id'], []) %} Photo of {{ l['item_title'] }} {% else %} No photos {% endfor %}

Asking price: KSh {{ l['price'] }} {% if l['offer_amount'] %}Offered KSh {{ l['offer_amount'] }}{% endif %}

{% if l['meeting_at'] or l['meeting_place'] %}

Meeting: {{ l['meeting_at'] }}{% if l['meeting_place'] %} · {{ l['meeting_place'] }}{% endif %}

{% endif %}

Seller: {{ l['seller_name'] }}

Phone: {{ l['phone'] }}

Location: {{ l['location'] }}

Details:
{{ l['details'] }}

{{ csrf_field() }}
{{ csrf_field() }}
Notes {% if l['notes'] %}✎{% endif %}
{{ csrf_field() }}
Deal & meeting {% if l['offer_amount'] %}💰{% endif %}
{{ csrf_field() }}
{% endfor %} {% endblock %}