Files
Fil-A-Management/templates/filament/order_edit_content.html
T

17 lines
1012 B
HTML

<div data-order-editor data-editor-title="Bestellwunsch bearbeiten">
<p class="muted">{{ item.owner.username }} · {{ item.get_status_display }}</p>
{% include "filament/variant_form.html" %}
{% if item.adjustment_choices or item.adjustments.all or item.status == "ordered" and item.quantity > 1 %}
<div class="form-actions">
{% if item.adjustment_choices %}
<a class="button secondary" href="{% url 'order_adjustment' item.pk %}" data-order-editor-link>{% if item.is_pending %}Stornieren{% else %}Status korrigieren oder stornieren{% endif %}</a>
{% elif item.adjustments.all %}
<a class="button secondary" href="{% url 'order_adjustment' item.pk %}" data-order-editor-link>Verlauf ansehen</a>
{% endif %}
{% if item.status == "ordered" and item.quantity > 1 %}
<a class="button secondary" href="{% url 'order_arrival' item.pk %}" data-order-dialog-navigate>Teillieferung erfassen</a>
{% endif %}
</div>
{% endif %}
</div>