Always send e-invoice if already paid

This commit is contained in:
Alex Sherman 2021-05-31 13:25:52 +05:00
parent 235ef9ba3e
commit fb810e5ccb

View file

@ -105,7 +105,7 @@ class Invoice < ApplicationRecord
end
def do_not_send_e_invoice?
e_invoice_sent? || cancelled? || paid?
e_invoice_sent? || cancelled?
end
def e_invoice_sent?