mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user