Render enterprise fee report directly in renderer

This commit is contained in:
Kristina Lim
2018-12-06 09:37:58 +08:00
committed by luisramos0
parent c8b154b12a
commit 9e035efd50
10 changed files with 49 additions and 57 deletions

View File

@@ -2,15 +2,11 @@ module OpenFoodNetwork
module Reports
module Renderers
class Base
attr_accessor :report_data
attr_reader :report_data
def initialize(report_data)
@report_data = report_data
end
def independent_file?
false
end
end
end
end

View File

@@ -1,11 +0,0 @@
module OpenFoodNetwork
module Reports
module Renderers
module IndependentFile
def independent_file?
true
end
end
end
end
end