mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +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
|
%tbody
|
||||||
- @orders.each do |order|
|
- @orders.each do |order|
|
||||||
%tr{class: "state-#{order.state.downcase} #{cycle('odd', 'even')}", "data-hook" => "admin_orders_index_rows"}
|
%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.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)
|
||||||
%td.align-center
|
%td.align-center
|
||||||
|
|||||||
Reference in New Issue
Block a user