mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-06 07:29:16 +00:00
Apply special instructions override
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
/ insert_bottom "[data-hook='admin_orders_index_rows'] td:nth-child(3)"
|
||||
|
||||
- if order.special_instructions.present?
|
||||
%br
|
||||
%span{class: "icon-warning-sign", "ofn-with-tip" => order.special_instructions}
|
||||
notes
|
||||
@@ -82,7 +82,12 @@
|
||||
%td.align-center
|
||||
= order.distributor.andand.name
|
||||
%td.align-center= l (@show_only_completed ? order.completed_at : order.created_at).to_date
|
||||
%td= link_to order.number, admin_order_path(order)
|
||||
%td
|
||||
= link_to order.number, admin_order_path(order)
|
||||
- if order.special_instructions.present?
|
||||
%br
|
||||
%span{class: "icon-warning-sign", "ofn-with-tip" => order.special_instructions}
|
||||
notes
|
||||
%td.align-center
|
||||
%span{class: "state #{order.state.downcase}"}= t("order_state.#{order.state.downcase}")
|
||||
%td.align-center
|
||||
|
||||
Reference in New Issue
Block a user