Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

308 B
Raw Blame
class WorkPackage
  class MaterialCosts < AbstractCosts
    def costs_model
      CostEntry
    end

    def filter_authorized(scope)
      CostEntry.with_visible_costs_on scope
    end

    def costs_sum_alias
      "cost_entries_sum"
    end

    def subselect_alias
      "cost_entries"
    end
  end
end