mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Invoice migration improvements, invoice issuing
This commit is contained in:
parent
7fe851d480
commit
5c0e2be387
12 changed files with 187 additions and 34 deletions
9
spec/fabricators/invoice_fabricator.rb
Normal file
9
spec/fabricators/invoice_fabricator.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue