Invoice migration improvements, invoice issuing

This commit is contained in:
Martin Lensment 2015-04-08 16:40:38 +03:00
parent 7fe851d480
commit 5c0e2be387
12 changed files with 187 additions and 34 deletions

View file

@ -0,0 +1,9 @@
Fabricator(:invoice) do
invoice_type 'DEB'
due_date { Time.zone.now.to_date + 1.day }
payment_term { 'Prepayment' }
currency { 'EUR' }
description { 'Invoice no. 1' }
description { 'Invoice no. 1' }
domain
end