Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move change stock option to quantity actions
Anna Siwik043a4392c97f
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.htmlindex baf79b10b9..79867ce54f 100644--- a/templates/dashboard/order/detail.html+++ b/templates/dashboard/order/detail.html@@ -273,9 +273,6 @@<th class="wide">{% trans "Item" context "Shipment group table header" %}</th>- <th>- {% trans "Stock" context "Shipment group table header" %}- </th><th>{% trans "SKU" context "Shipment group table header" %}</th>@@ -293,7 +290,7 @@<tfoot>{% if group.shipping_price.gross or group.is_shipping_required %}<tr>- <td colspan="5">+ <td colspan="4">{% blocktrans trimmed with group_shipping_method_name=group.shipping_method_name context "Shipment group table item column data" %}Shipping ({{ group_shipping_method_name }}){% endblocktrans %}@@ -310,23 +307,6 @@<td>{{ item.product_name }}<br></td>- <td class="right-align">- {% if group.can_edit_items %}- <a class="dropdown-button" href="#" data-activates="line-stock-actions-{{ item.pk }}" data-constrainwidth="false">- {{ item.stock_location|default:"-" }}- <svg data-src="{% static "dashboard/images/arrow_drop_down.svg" %}" width="24" height="24" />- </a>- <ul id="line-stock-actions-{{ item.pk }}" class="dropdown-content">- <li>- <a href="#base-modal" data-href="{% url 'dashboard:orderline-change-stock' order_pk=order.pk line_pk=item.pk %}" class="modal-trigger-custom" title="{% trans "Change stock location" context "Shipment group table row action" %}">- {% trans "Change stock" context "Shipment group table row action" %}- </a>- </li>- </ul>- {% else %}- {{ item.stock_location|default:"-" }}- {% endif %}- </td><td>{{ item.product_sku }}</td>@@ -345,6 +325,11 @@{% trans "Change quantity" context "Shipment group table row action" %}</a></li>+ <li>+ <a href="#base-modal" data-href="{% url 'dashboard:orderline-change-stock' order_pk=order.pk line_pk=item.pk %}" class="modal-trigger-custom" title="{% trans "Change stock location" context "Shipment group table row action" %}">+ {% trans "Change stock" context "Shipment group table row action" %}+ </a>+ </li><li><a href="#base-modal" data-href="{% url 'dashboard:orderline-split' order_pk=order.pk line_pk=item.pk %}" class="modal-trigger-custom" title="{% trans "Split line" context "Shipment group table row action" %}">{% trans "Split order line" context "Shipment group table row action" %}