foodsoft/test/fixtures/financial_transactions.yml

27 lines
805 B
YAML
Raw Normal View History

# == Schema Information
# Schema version: 20090119155930
#
# Table name: financial_transactions
#
# id :integer not null, primary key
# ordergroup_id :integer default(0), not null
# amount :decimal(8, 2) default(0.0), not null
# note :text not null
# user_id :integer default(0), not null
# created_on :datetime not null
#
2009-01-06 11:49:19 +01:00
# 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.strftime("%d.%m.%Y") %>
bananas2:
ordergroup: bananas
amount: 100.00
note: Paying in from <%= 1.weeks.ago.strftime("%d.%m.%Y") %>
created_on: <%= 1.weeks.ago.strftime("%d.%m.%Y") %>