Class: MalawiHivProgramReports::Clinic::StockCardReport

Inherits:
Object
  • Object
show all
Defined in:
app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb

Overview

Generates a stock card report for a clinic

Instance Method Summary collapse

Constructor Details

#initialize(start_date:, end_date:, **_kwargs) ⇒ StockCardReport

Returns a new instance of StockCardReport.



7
8
9
10
# File 'app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb', line 7

def initialize(start_date:, end_date:, **_kwargs)
  @start_date = ActiveRecord::Base.connection.quote(start_date)
  @end_date = ActiveRecord::Base.connection.quote(end_date)
end

Instance Method Details

#find_reportObject



12
13
14
15
# File 'app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb', line 12

def find_report
  # TODO: Implement this
  stock_card_report
end