Add Purchase system
authorIra W. Snyder <devel@irasnyder.com>
Fri, 23 Nov 2007 06:32:31 +0000 (22:32 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Fri, 23 Nov 2007 06:32:31 +0000 (22:32 -0800)
commitebb2b4d40713d535c06970b2a17aace4458ecf25
tree9c498fe4cc2bf5d0ff079bf1ff649ede7b8df445
parent51e5c301fa78679232f16b450632fc890c02c4f2
Add Purchase system

Signed-off-by: Ira W. Snyder <devel@irasnyder.com>
28 files changed:
app/controllers/purchase_controller.rb [new file with mode: 0644]
app/helpers/purchase_helper.rb [new file with mode: 0644]
app/models/customer.rb
app/models/game.rb
app/models/merchandise.rb
app/models/merchandise_purchase.rb [new file with mode: 0644]
app/models/purchase.rb
app/models/rentable.rb
app/models/rentable_purchase.rb [new file with mode: 0644]
app/models/video.rb
app/views/layouts/purchase.rhtml [new file with mode: 0644]
app/views/purchase/begin.rhtml [new file with mode: 0644]
app/views/purchase/buy.rhtml [new file with mode: 0644]
app/views/purchase/buy_begin.rhtml [new file with mode: 0644]
app/views/purchase/list.rhtml [new file with mode: 0644]
app/views/purchase/menu.rhtml [new file with mode: 0644]
app/views/purchase/rent.rhtml [new file with mode: 0644]
app/views/purchase/rent_begin.rhtml [new file with mode: 0644]
db/development.sqlite3
db/migrate/017_create_rentable_purchases.rb [new file with mode: 0644]
db/migrate/018_create_merchandise_purchases.rb [new file with mode: 0644]
db/migrate/019_remove_purchase_due_date.rb [new file with mode: 0644]
db/schema.rb
test/fixtures/merchandise_purchases.yml [new file with mode: 0644]
test/fixtures/rentable_purchases.yml [new file with mode: 0644]
test/functional/purchase_controller_test.rb [new file with mode: 0644]
test/unit/merchandise_purchase_test.rb [new file with mode: 0644]
test/unit/rentable_purchase_test.rb [new file with mode: 0644]