internetee/registry

View on GitHub
app/views/admin/registrars/show/_billing.html.erb

Summary

Maintainability
Test Coverage
<div class="panel panel-default">
    <div class="panel-heading">
        <%= t '.header' %>
    </div>

    <div class="panel-body">
        <dl class="dl-horizontal">
            <dt><%= Registrar.human_attribute_name :vat_no %></dt>
            <dd><%= registrar.vat_no %></dd>

            <dt><%= Registrar.human_attribute_name :vat_rate %></dt>
            <dd><%= number_to_percentage(registrar.vat_rate, precision: 1) %></dd>

            <dt><%= Registrar.human_attribute_name :accounting_customer_code %></dt>
            <dd><%= registrar.accounting_customer_code %></dd>

            <dt><%= Registrar.human_attribute_name :billing_email %></dt>
            <dd>
                <%= registrar.billing_email %>
            </dd>

            <dt><%= Registrar.human_attribute_name :reference_no %></dt>
            <dd><%= registrar.reference_no %></dd>

            <dt><%= Registrar.human_attribute_name :iban %></dt>
            <dd><%= registrar.iban %></dd>
        </dl>
    </div>
</div>