Merge pull request #967 from internetee/remove-duplicate-billing-email-from-admin-area

Remove duplicate field
This commit is contained in:
Timo Võhmar 2018-09-19 16:56:14 +03:00 committed by GitHub
commit 1e19ccd6a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -16,9 +16,6 @@
<dt><%= t(:contact_email) %></dt> <dt><%= t(:contact_email) %></dt>
<dd><%= @registrar.email %></dd> <dd><%= @registrar.email %></dd>
<dt><%= Registrar.human_attribute_name :billing_email %></dt>
<dd><%= @registrar.billing_email %></dd>
</dl> </dl>
</div> </div>
</div> </div>

View file

@ -40,4 +40,5 @@ complete:
accounting_customer_code: US0001 accounting_customer_code: US0001
language: en language: en
vat_no: US12345 vat_no: US12345
vat_rate: 0.05 vat_rate: 0.05
billing_email: billing@bestnames.test

View file

@ -14,5 +14,6 @@ class AdminAreaRegistrarDetailsTest < ApplicationSystemTestCase
assert_text 'VAT number US12345' assert_text 'VAT number US12345'
assert_text 'VAT rate 5.0%' assert_text 'VAT rate 5.0%'
assert_text 'Language English' assert_text 'Language English'
assert_text 'billing@bestnames.test'
end end
end end