Before simplifying order creation and editing
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
<td>{{ transaction.description|default:"-" }}</td>
|
||||
<td>
|
||||
{% if transaction.order %}
|
||||
<a href="{% url 'orders:order-detail' transaction.order.pk %}" class="btn btn-sm btn-outline-primary">
|
||||
<a href="{% url 'orders:order-detail' transaction.order.order_number %}" class="btn btn-sm btn-outline-primary">
|
||||
#{{ transaction.order.order_number }}
|
||||
</a>
|
||||
{% else %}
|
||||
@@ -237,10 +237,10 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<a href="{% url 'orders:order-detail' order.pk %}" class="btn btn-sm btn-outline-primary">
|
||||
<a href="{% url 'orders:order-detail' order.order_number %}" class="btn btn-sm btn-outline-primary">
|
||||
<i class="bi bi-eye"></i>
|
||||
</a>
|
||||
<a href="{% url 'orders:order-update' order.pk %}" class="btn btn-sm btn-outline-secondary">
|
||||
<a href="{% url 'orders:order-update' order.order_number %}" class="btn btn-sm btn-outline-secondary">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user