Display "Update" button on the order table page unless order is complete

With the split checkout, we can access this page between the different steps: for this cases, cart actions should be displayed
This commit is contained in:
Jean-Baptiste Bellet
2022-02-28 16:58:01 +01:00
parent d052c4f8a4
commit 2976b0717c

View File

@@ -22,7 +22,7 @@
= render 'bought' if show_bought_items? && @order.cart?
%tfoot#edit-cart
= render 'spree/orders/form/cart_actions_row' if @order.cart?
= render 'spree/orders/form/cart_actions_row' unless @order.complete?
%tr
%td.text-right{colspan:"3"}