2016-08-03 17:25:00 +02:00
|
|
|
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
|
|
|
|
one:
|
|
|
|
name: Christmas deals
|
|
|
|
code: XMAS10
|
|
|
|
percent_off: 10
|
|
|
|
valid_until: 2015-12-31 23:59:59
|
2020-12-30 18:39:46 +01:00
|
|
|
max_usages:
|
2016-08-03 17:25:00 +02:00
|
|
|
active: true
|
2016-08-08 15:43:02 +02:00
|
|
|
validity_per_user: once
|
2016-08-03 17:25:00 +02:00
|
|
|
|
|
|
|
two:
|
|
|
|
name: Summer discounts
|
|
|
|
code: SUNNYFABLAB
|
|
|
|
percent_off: 15
|
2023-03-27 11:43:36 +02:00
|
|
|
valid_until: <%= 1.month.from_now.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
|
2016-08-03 17:25:00 +02:00
|
|
|
max_usages: 10
|
|
|
|
active: true
|
2016-08-08 15:43:02 +02:00
|
|
|
validity_per_user: always
|
2016-11-28 10:40:02 +01:00
|
|
|
|
|
|
|
cash:
|
|
|
|
name: Cash Code
|
|
|
|
code: ZERG6H1R65H
|
|
|
|
amount_off: 10000
|
2023-03-27 11:43:36 +02:00
|
|
|
valid_until: <%= 1.year.from_now.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
|
2016-11-28 10:40:02 +01:00
|
|
|
max_usages: 1
|
|
|
|
active: true
|
2020-11-04 15:53:40 +01:00
|
|
|
validity_per_user: once
|
|
|
|
|
|
|
|
cash2:
|
|
|
|
name: Small Cash Code
|
|
|
|
code: GIME3EUR
|
|
|
|
amount_off: 300
|
2023-03-27 11:43:36 +02:00
|
|
|
valid_until: <%= 1.year.from_now.utc.strftime('%Y-%m-%d %H:%M:%S.%9N %Z') %>
|
2020-12-30 18:39:46 +01:00
|
|
|
max_usages:
|
2020-11-04 15:53:40 +01:00
|
|
|
active: true
|
|
|
|
validity_per_user: once
|
2022-10-26 14:32:19 +02:00
|
|
|
twentyp:
|
|
|
|
id: 30
|
|
|
|
name: 20% test
|
|
|
|
code: REDUC20
|
|
|
|
percent_off: 20
|
|
|
|
valid_until:
|
|
|
|
max_usages:
|
|
|
|
active: true
|
|
|
|
created_at: '2021-06-18 14:53:54.770895'
|
|
|
|
updated_at: '2021-06-18 14:53:54.770895'
|
|
|
|
validity_per_user: forever
|
|
|
|
amount_off:
|
2023-03-13 10:28:26 +01:00
|
|
|
internal:
|
|
|
|
name: Internal use
|
|
|
|
code: INTERNCOUP100
|
|
|
|
percent_off: 100
|
|
|
|
valid_until:
|
|
|
|
max_usages:
|
|
|
|
active: true
|
|
|
|
validity_per_user: forever
|