Import SUNLU catalog and let members update order status
This commit is contained in:
1 parent
7f9dea623b
commit
2e540bf951
9 files changed
+3960
-39
No files matched your search
@@ -27,7 +27,6 @@
|
||||
<td class="article-number">{{ entry.variant.manufacturer_color_code|default:"–" }}</td>
|
||||
<td><span class="badge">{{ entry.variant.get_spool_type_display }}</span>{% if not entry.variant.is_active %}<small class="warning">Deaktiviert · Katalogvariante</small>{% endif %}</td>
|
||||
<td>
|
||||
{% if user.is_superuser %}
|
||||
<form class="order-status-form" method="post" action="{% url 'order_status' entry.pk %}">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="expected_status" value="{{ entry.status }}">
|
||||
@@ -40,9 +39,6 @@
|
||||
</select>
|
||||
<button class="button secondary" type="submit">Speichern</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<span class="order-status">{{ entry.get_status_display }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if entry.owner_id == user.pk %}
|
||||
<td class="actions">
|
||||
|
||||
Reference in new issue
Block a user