mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Apply distributor td override
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
/ insert_top "[data-hook='admin_orders_index_rows']"
|
||||
|
||||
%td.align-center
|
||||
= order.distributor.andand.name
|
||||
@@ -79,6 +79,8 @@
|
||||
%tbody
|
||||
- @orders.each do |order|
|
||||
%tr{class: "state-#{order.state.downcase} #{cycle('odd', 'even')}", "data-hook" => "admin_orders_index_rows"}
|
||||
%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.align-center
|
||||
|
||||
Reference in New Issue
Block a user