mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Remove references to eis registrar #2670
This commit is contained in:
parent
731eb2aad4
commit
a3d9585b45
4 changed files with 2 additions and 10 deletions
|
@ -64,10 +64,6 @@ class Registrar < ActiveRecord::Base
|
|||
res.reduce([]) { |o, v| o << { id: v[:id], display_key: "#{v[:name]} (#{v[:reg_no]})" } }
|
||||
end
|
||||
|
||||
def eis
|
||||
find_by(reg_no: '90010019')
|
||||
end
|
||||
|
||||
def ordered
|
||||
order(name: :asc)
|
||||
end
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<%= t(:you_have_a_new_invoice) %>
|
||||
<br><br>
|
||||
<%= t(:sincerely) %>,<br>
|
||||
<%= Setting.eis_invoice_contact %><br>
|
||||
<%= Setting.registry_invoice_contact %><br>
|
||||
<%= @invoice.seller_phone %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<%= t(:you_have_a_new_invoice) %>
|
||||
|
||||
<%= t(:sincerely) %>,
|
||||
<%= Setting.eis_invoice_contact %>
|
||||
<%= Setting.registry_invoice_contact %>
|
||||
<%= @invoice.seller_phone %>
|
||||
|
|
|
@ -24,10 +24,6 @@ if con.present? && con.table_exists?('settings')
|
|||
|
||||
Setting.save_default(:client_side_status_editing_enabled, false)
|
||||
|
||||
Setting.save_default(:eis_iban, 'EE557700771000598731')
|
||||
Setting.save_default(:eis_bank, 'LHV Pank')
|
||||
Setting.save_default(:eis_swift, 'LHVBEE22')
|
||||
Setting.save_default(:eis_invoice_contact, 'Martti Õigus')
|
||||
Setting.save_default(:invoice_number_min, 131050)
|
||||
Setting.save_default(:invoice_number_max, 149999)
|
||||
Setting.save_default(:days_to_keep_overdue_invoices_active, 30)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue