Apply distributor td override

This commit is contained in:
Matt-Yorkley
2018-09-11 11:42:08 +01:00
parent 6389c552ca
commit ba0701457e
2 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +0,0 @@
/ insert_top "[data-hook='admin_orders_index_rows']"
%td.align-center
= order.distributor.andand.name

View File

@@ -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