class Onoma::AccountingSystem
Public Class Methods
with_fiscal_position()
click to toggle source
# File lib/onoma/models/accounting_system.rb, line 4 def with_fiscal_position Onoma::FiscalPosition.items.values .reduce(Set.new) {|acc, fp| acc << fp.accounting_system} .map {|e| Onoma::AccountingSystem[e]} .compact end