{% extends "base.html" %} {% block title %}{{ t('Supplier registrations') }}{% endblock %} {% block content %}
{{ t('Vendor Management') }}

{{ t('Supplier registrations') }}

{{ t('Registration link') }}

{{ t('Share this link with new suppliers (website, emails, tenders). They fill in their details and documents; you review and approve here.') }}

{{ t('Open') }}
{% if can_write %}
{% endif %}
{% for s, lbl in (('submitted', 'Waiting review'), ('info_requested', 'Information requested'), ('approved', 'Approved'), ('rejected', 'Rejected'), ('all', 'All')) %} {{ t(lbl) }}{% if counts.get(s) %} {{ counts[s] }}{% endif %}{% endfor %}
{% for r in rows %} {% else %}{% endfor %}
{{ t('Reference') }}{{ t('Company') }}{{ t('VAT') }}{{ t('Category') }}{{ t('Contact') }}{{ t('Documents') }}{{ t('Submitted') }}{{ t('Status') }}
{{ r.number }}{{ nm({'name_en': r.company_en, 'name_ar': r.company_ar}) }}{{ r.vat_no or '' }}{{ r.category or '' }} {{ r.contact_person or '' }}
{{ r.email }}
{{ r.ndocs }}{{ (r.submitted_at or '')[:10] }} {% include "vendors/_reg_badge.html" %}
{{ t('Nothing yet.') }}
{% endblock %}