mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
outzone rake task for invalid email domains
This commit is contained in:
parent
3ae8993313
commit
d15119c622
6 changed files with 189 additions and 12 deletions
|
@ -10,6 +10,8 @@ class EisBilling::EInvoiceResponseController < EisBilling::BaseController
|
|||
|
||||
def mark_e_invoice_sent_at(invoice_number)
|
||||
invoice = Invoice.find_by(number: invoice_number)
|
||||
invoice = Invoice.find_by(number: invoice_number['invoice_number']) if invoice.nil?
|
||||
|
||||
invoice.update(e_invoice_sent_at: Time.zone.now)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue