class Sunnyside::LedgerReport

Public Class Methods

new(post_date) click to toggle source
# File lib/sunnyside/ledger/ledger.rb, line 31
def initialize(post_date)
  create_report(post_date)
end

Public Instance Methods

create_report(post_date) click to toggle source
# File lib/sunnyside/ledger/ledger.rb, line 35
def create_report(post_date)
  Invoice.where(post_date: post_date).all.each { |inv| self.payable_csv(inv, post_date) }
end