We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Calculated as the total number of Commoners minus the number of incative commoners
inactive_commoners_count = Currency.find(ENV['QR_CODE_ENABLED_CURRENCIES'].split(',').map(&:to_i)).map(&:group).map{|g| g.inactive_commoners.count}.reduce(:+) Commoner.count - inactive_commoners_count