Browse Source

Show the absorbed sales logs

merge-orgs-demo-2
Kat 11 months ago
parent
commit
fc9be44ad8
  1. 2
      app/controllers/organisations_controller.rb

2
app/controllers/organisations_controller.rb

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

Loading…
Cancel
Save