foodsoft/test/fixtures/financial_transactions.yml

15 lines
374 B
YAML

# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
bananas1:
ordergroup: bananas
amount: 0.00
note: "Deposit for 3 people: 15,-€"
user: admin
created_on: <%= 2.weeks.ago.to_s(:db) %>
bananas2:
ordergroup: bananas
amount: 100.00
note: Paying in from <%= 1.weeks.ago.strftime("%d.%m.%Y") %>
created_on: <%= 1.weeks.ago.to_s(:db) %>