mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Set e-invoice invoice delivery channel explicitly
This commit is contained in:
parent
86a69c09bf
commit
458d5e0303
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ class Invoice
|
|||
i.vat_amount = invoice.vat_amount
|
||||
i.total = invoice.total
|
||||
i.currency = invoice.currency
|
||||
i.delivery_channel = %i[internet_bank portal]
|
||||
end
|
||||
|
||||
EInvoice::EInvoice.new(date: Time.zone.today, invoice: e_invoice_invoice)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue