|
|
@ -134,7 +134,7 @@ class OrganisationsController < ApplicationController |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def sales_logs |
|
|
|
def sales_logs |
|
|
|
organisation_logs = SalesLog.visible.filter_by_organisation(@organisation) |
|
|
|
organisation_logs = SalesLog.visible.filter_by_organisation(@organisation.absorbed_organisations + [@organisation]) |
|
|
|
unpaginated_filtered_logs = filter_manager.filtered_logs(organisation_logs, search_term, session_filters) |
|
|
|
unpaginated_filtered_logs = filter_manager.filtered_logs(organisation_logs, search_term, session_filters) |
|
|
|
|
|
|
|
|
|
|
|
respond_to do |format| |
|
|
|
respond_to do |format| |
|
|
|