mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
remove legacy code
This commit is contained in:
parent
5aacaef006
commit
29e7f954f3
4 changed files with 0 additions and 45 deletions
|
@ -40,11 +40,6 @@ class Invoice < ApplicationRecord
|
|||
|
||||
attribute :vat_rate, ::Type::VatRate.new
|
||||
|
||||
def get_status_from_billing
|
||||
response = EisBilling::GetInvoiceStatus.send_invoice(invoice_number: number)
|
||||
JSON.parse(response.body, symbolize_names: true)[:status]
|
||||
end
|
||||
|
||||
def set_invoice_number
|
||||
if Feature.billing_system_integrated?
|
||||
result = EisBilling::GetInvoiceNumber.send_invoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue