{% extends 'base.html' %} {% from '_bulk.html' import bulk_head, bulk_cell, bulk_bar with context %} {% block title %}Producten{% endblock %} {% block content %}
Assortiment

Producten

Exporteer CSV Importeren Nieuw product
{% for k, l in [('active', 'Actief'), ('inactive', 'Inactief'), ('all', 'Alle')] %} {{ l }} {% endfor %} {{ rows|length }} product(en)
{% if rows %}
{{ bulk_head() }} {% for p in rows %} {{ bulk_cell(p.id, p.name) }} {% endfor %}
NaamSKULeverancierEenheidPrijs excl.BtwBijgewerktStatus
{% else %}

{{ 'Geen producten gevonden.' if term or show != 'active' else 'Nog geen producten. Voeg ze toe of importeer een CSV; daarna kies je ze in offertes.' }}

{% endif %}
{% call bulk_bar(url_for('products_bulk'), [('activate', 'Actief maken'), ('deactivate', 'Inactief maken'), ('export', 'Exporteren als CSV'), ('delete', 'Verwijderen', '{n} product(en) verwijderen? Producten die in offertes staan, worden op inactief gezet.')]) %}{% endcall %} {% endblock %}