mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Update show_customer_names_to_suppliers check
This commit is contained in:
@@ -73,7 +73,8 @@ module Reporting
|
||||
private
|
||||
|
||||
def default_mask_rule
|
||||
line_item_table[:order_id].in(raw("#{managed_orders_alias.name}.id"))
|
||||
line_item_table[:order_id].in(raw("#{managed_orders_alias.name}.id")).
|
||||
or(distributor_alias[:show_customer_names_to_suppliers].eq(true))
|
||||
end
|
||||
|
||||
def summary_row_title
|
||||
|
||||
Reference in New Issue
Block a user