Fix EInvoiceGenerator initializer method

This commit is contained in:
Karl Erik Õunapuu 2020-09-15 16:12:03 +03:00
parent 764e35e198
commit 88b1b30be7
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -100,7 +100,7 @@ class Invoice < ApplicationRecord
end
def to_e_invoice(payable: true)
generator = Invoice::EInvoiceGenerator.new(self, payable: payable)
generator = Invoice::EInvoiceGenerator.new(self, payable)
generator.generate
end