mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
parent
7f2ad25ee6
commit
f7301c3aea
7 changed files with 7 additions and 11 deletions
|
@ -70,7 +70,6 @@ module Admin
|
|||
:city,
|
||||
:state,
|
||||
:zip,
|
||||
:billing_address,
|
||||
:country_code,
|
||||
:email,
|
||||
:phone,
|
||||
|
|
|
@ -114,12 +114,6 @@
|
|||
<dd>
|
||||
<%= @registrar.email %>
|
||||
</dd>
|
||||
<dt>
|
||||
<%= t(:billing_address) %>
|
||||
</dt>
|
||||
<dd>
|
||||
<%= @registrar.billing_address %>
|
||||
</dd>
|
||||
<dt>
|
||||
<%= t(:billing_email) %>
|
||||
</dt>
|
||||
|
|
|
@ -395,7 +395,6 @@ en:
|
|||
choose: 'Choose...'
|
||||
created_before: 'Created before'
|
||||
created_after: 'Created after'
|
||||
billing_address: 'Billing address'
|
||||
billing_email: 'Billing e-mail'
|
||||
contact_phone: 'Contact phone'
|
||||
contact_email: 'Contact e-mail'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class RemoveRegistrarBillingAddress < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :registrars, :billing_address
|
||||
end
|
||||
end
|
|
@ -2139,7 +2139,6 @@ CREATE TABLE registrars (
|
|||
name character varying,
|
||||
reg_no character varying,
|
||||
vat_no character varying,
|
||||
billing_address character varying,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
creator_str character varying,
|
||||
|
@ -4678,3 +4677,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180306183540');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180306183549');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180308123240');
|
||||
|
||||
|
|
|
@ -1475,7 +1475,6 @@
|
|||
<text text-anchor="start" x="1600.5" y="-2624.3" font-family="Times,serif" font-size="14.00">name :string</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2609.3" font-family="Times,serif" font-size="14.00">reg_no :string</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2594.3" font-family="Times,serif" font-size="14.00">vat_no :string</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2579.3" font-family="Times,serif" font-size="14.00">billing_address :string</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2564.3" font-family="Times,serif" font-size="14.00">created_at :datetime</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2549.3" font-family="Times,serif" font-size="14.00">updated_at :datetime</text>
|
||||
<text text-anchor="start" x="1600.5" y="-2534.3" font-family="Times,serif" font-size="14.00">creator_str :string</text>
|
||||
|
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
|
@ -77,7 +77,6 @@ namespace :import do
|
|||
name: x.organization.try(:strip).presence || x.name.try(:strip).presence || x.handle.try(:strip).presence,
|
||||
reg_no: x.ico.try(:strip),
|
||||
vat_no: x.dic.try(:strip),
|
||||
billing_address: nil,
|
||||
phone: x.telephone.try(:strip),
|
||||
email: x.email.try(:strip),
|
||||
billing_email: x.billing_address.try(:strip),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue