Last active
August 29, 2015 14:18
-
-
Save gtan66/7d96a9951f59ea13f392 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def invoices_for_lon02 | |
Invoice.where(location_id: 37).each do |m| | |
m.line_items.each do |l| | |
puts [m.account.name, m.account.short_code, m.started_on, m.name, m.aasm_state, m.amount,m.uuid, l.name, l.uuid, l.amount].join(", ") | |
end | |
end | |
return "" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment