diff --git a/test/fixtures/invoice_items.yml b/test/fixtures/invoice_items.yml index c99e3bd13..417203a51 100644 --- a/test/fixtures/invoice_items.yml +++ b/test/fixtures/invoice_items.yml @@ -1,6 +1,6 @@ DEFAULTS: &DEFAULTS description: Acme services - quantity: 2 + amount: 2 unit: pc price: 5 diff --git a/test/fixtures/invoices.yml b/test/fixtures/invoices.yml index cfebd2525..7a1c85dd1 100644 --- a/test/fixtures/invoices.yml +++ b/test/fixtures/invoices.yml @@ -1,19 +1,19 @@ DEFAULTS: &DEFAULTS created_at: <%= Date.parse '2010-07-05' %> due_date: <%= Date.parse '2010-07-06' %> + invoice_type: DEB currency: EUR seller_name: John Doe seller_iban: 1234 buyer_name: Jane Doe - vat_rate: 0.2 - total: 20 + vat_prc: 0.2 valid: <<: *DEFAULTS exported: <<: *DEFAULTS - exported: true + in_directo: true cancelled: <<: *DEFAULTS @@ -21,7 +21,7 @@ cancelled: paid: <<: *DEFAULTS - total: 1 + sum_cache: 1 outstanding: <<: *DEFAULTS