1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/test/fixtures/invoices.yml
Sylvain bc6ef8ef50 WIP: move backend code base to new architecture
- from stripe only to payment gateway abstract
- from reservation params style to unified cart_items

TODO: fix not passing tests,
subscriptions/renew_as_admin_test.rb fails because InvoiceItem(9).amount = nil
2021-04-23 17:54:59 +02:00

124 lines
2.7 KiB
YAML

invoice_1:
id: 1
invoiced_id: 1
invoiced_type: Subscription
total: 10000
created_at: 2012-03-12 11:03:31.651441000 Z
updated_at: 2012-03-12 11:03:31.651441000 Z
invoicing_profile_id: 3
statistic_profile_id: 3
reference: 1604001/VL
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: 8291cfc4cc4cf57eb63cb079ac952cd0ad8ca7b3e7f663f04d4c18a3c5c4ca68
environment: test
operator_profile_id: 3
invoice_2:
id: 2
invoiced_id: 2
invoiced_type: Subscription
total: 2000
created_at: 2012-03-12 13:40:22.342717000 Z
updated_at: 2012-03-12 13:40:22.342717000 Z
invoicing_profile_id: 4
statistic_profile_id: 4
reference: '1604002'
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: 1d8d62a39bd6e230043e60ffd0429c14414f5703a60b9cba71a81f6a9dcaf894
environment: test
operator_profile_id: 1
invoice_3:
id: 3
invoiced_id: 3
invoiced_type: Subscription
total: 3000
created_at: 2015-06-10 11:20:01.341130000 Z
updated_at: 2015-06-10 11:20:01.341130000 Z
invoicing_profile_id: 7
statistic_profile_id: 7
reference: '1203001'
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: 8fb2c1105d24ac19096d5673b02ddea11c0c8578d818fad320c85c6005dda69b
environment: test
operator_profile_id: 1
invoice_4:
id: 4
invoiced_id: 1
invoiced_type: Reservation
total: 0
created_at: 2016-04-05 08:35:52.931187000 Z
updated_at: 2016-04-05 08:35:52.931187000 Z
invoicing_profile_id: 7
statistic_profile_id: 7
reference: '1203002'
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: 4ed7cf862affb0b6e0be53cfd97da3373b51c555ef2f06c7fe2b354940f10b53
environment: test
operator_profile_id: 1
invoice_5:
id: 5
invoiced_id: 2
invoiced_type: Reservation
total: 1500
created_at: 2016-04-05 08:36:46.853368000 Z
updated_at: 2016-04-05 08:36:46.853368000 Z
invoicing_profile_id: 3
statistic_profile_id: 3
reference: '1506031'
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: 9aead7f5eb9411778d072279a058be0fe2da76eb12f6a22100cbec1f2b3f6e9d
environment: test
operator_profile_id: 1
invoice_6:
id: 6
invoiced_id: 4
invoiced_type: Subscription
total: 3000
created_at: 2021-01-04 14:51:21.616153182 Z
updated_at: 2021-01-04 14:51:21.616153182 Z
invoicing_profile_id: 8
statistic_profile_id: 8
reference: '2101041'
payment_method:
avoir_date:
invoice_id:
type:
subscription_to_expire:
description:
footprint: e637ccf79157d973e87be46b09d5f90ac08f41b69bc53c3c60b6fc39d07450d9
environment: test
operator_profile_id: 1