Merge branch 'registry-765' into registry-623

This commit is contained in:
Artur Beljajev 2018-03-10 13:28:39 +02:00
commit f1fb17a42c
8 changed files with 11 additions and 11 deletions

View file

@ -301,12 +301,12 @@ GEM
erubis erubis
que (~> 0.8) que (~> 0.8)
sinatra sinatra
rack (1.6.8) rack (1.6.9)
rack-accept (0.4.5) rack-accept (0.4.5)
rack (>= 0.4) rack (>= 0.4)
rack-mount (0.8.3) rack-mount (0.8.3)
rack (>= 1.0.0) rack (>= 1.0.0)
rack-protection (1.5.3) rack-protection (1.5.5)
rack rack
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)

View file

@ -60,7 +60,6 @@ module Admin
:city, :city,
:state, :state,
:zip, :zip,
:billing_address,
:country_code, :country_code,
:email, :email,
:phone, :phone,

View file

@ -119,10 +119,10 @@
<%= @registrar.email %> <%= @registrar.email %>
</dd> </dd>
<dt> <dt>
<%= t(:billing_address) %> <%= t(:billing_email) %>
</dt> </dt>
<dd> <dd>
<%= @registrar.billing_address %> <%= @registrar.billing_email %>
</dd> </dd>
</dl> </dl>
</div> </div>

View file

@ -19,7 +19,6 @@ en:
time: time:
formats: formats:
default: "%Y-%m-%d %H:%M" default: "%Y-%m-%d %H:%M"
longer: "%a, %e. %b %Y, %H:%M"
long: "%A, %e. %B %Y, %H:%M" long: "%A, %e. %B %Y, %H:%M"
short: "%d.%m.%y, %H:%M" short: "%d.%m.%y, %H:%M"
date: "%Y-%m-%d" date: "%Y-%m-%d"
@ -28,7 +27,6 @@ en:
date: date:
formats: formats:
default: "%Y-%m-%d" default: "%Y-%m-%d"
year_and_month: "%Y %B"
activerecord: activerecord:
errors: errors:
@ -388,7 +386,6 @@ en:
choose: 'Choose...' choose: 'Choose...'
created_before: 'Created before' created_before: 'Created before'
created_after: 'Created after' created_after: 'Created after'
billing_address: 'Billing address'
billing_email: 'Billing e-mail' billing_email: 'Billing e-mail'
contact_phone: 'Contact phone' contact_phone: 'Contact phone'
contact_email: 'Contact e-mail' contact_email: 'Contact e-mail'

View file

@ -0,0 +1,5 @@
class RemoveRegistrarBillingAddress < ActiveRecord::Migration
def change
remove_column :registrars, :billing_address
end
end

View file

@ -2139,7 +2139,6 @@ CREATE TABLE registrars (
name character varying NOT NULL, name character varying NOT NULL,
reg_no character varying NOT NULL, reg_no character varying NOT NULL,
vat_no character varying, vat_no character varying,
billing_address character varying,
created_at timestamp without time zone, created_at timestamp without time zone,
updated_at timestamp without time zone, updated_at timestamp without time zone,
creator_str character varying, creator_str character varying,
@ -4706,6 +4705,8 @@ INSERT INTO schema_migrations (version) VALUES ('20180306183540');
INSERT INTO schema_migrations (version) VALUES ('20180306183549'); INSERT INTO schema_migrations (version) VALUES ('20180306183549');
INSERT INTO schema_migrations (version) VALUES ('20180308123240');
INSERT INTO schema_migrations (version) VALUES ('20180309053424'); INSERT INTO schema_migrations (version) VALUES ('20180309053424');
INSERT INTO schema_migrations (version) VALUES ('20180309053921'); INSERT INTO schema_migrations (version) VALUES ('20180309053921');

View file

@ -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="-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="-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="-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="-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="-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> <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

Before After
Before After

View file

@ -77,7 +77,6 @@ namespace :import do
name: x.organization.try(:strip).presence || x.name.try(:strip).presence || x.handle.try(:strip).presence, name: x.organization.try(:strip).presence || x.name.try(:strip).presence || x.handle.try(:strip).presence,
reg_no: x.ico.try(:strip), reg_no: x.ico.try(:strip),
vat_no: x.dic.try(:strip), vat_no: x.dic.try(:strip),
billing_address: nil,
phone: x.telephone.try(:strip), phone: x.telephone.try(:strip),
email: x.email.try(:strip), email: x.email.try(:strip),
billing_email: x.billing_address.try(:strip), billing_email: x.billing_address.try(:strip),