mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
parent
bf422387aa
commit
955dc10693
4 changed files with 24 additions and 19 deletions
17
app/views/admin/registrars/_billing.html.erb
Normal file
17
app/views/admin/registrars/_billing.html.erb
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<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 :accounting_customer_code %></dt>
|
||||||
|
<dd><%= registrar.accounting_customer_code %></dd>
|
||||||
|
|
||||||
|
<dt><%= Registrar.human_attribute_name :billing_email %></dt>
|
||||||
|
<dd><%= registrar.billing_email %></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -41,12 +41,6 @@
|
||||||
<dd>
|
<dd>
|
||||||
<%= @registrar.reg_no %>
|
<%= @registrar.reg_no %>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
|
||||||
<%= t(:vat_no) %>
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<%= @registrar.vat_no %>
|
|
||||||
</dd>
|
|
||||||
<dt>
|
<dt>
|
||||||
<%= t(:reference_no) %>
|
<%= t(:reference_no) %>
|
||||||
</dt>
|
</dt>
|
||||||
|
@ -71,12 +65,6 @@
|
||||||
<dd>
|
<dd>
|
||||||
<%= @registrar.website %>
|
<%= @registrar.website %>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
|
||||||
<%= Registrar.human_attribute_name :accounting_customer_code %>
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<%= @registrar.accounting_customer_code %>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,15 +108,10 @@
|
||||||
<dd>
|
<dd>
|
||||||
<%= @registrar.billing_address %>
|
<%= @registrar.billing_address %>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
|
||||||
<%= t(:billing_email) %>
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<%= @registrar.billing_email %>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<%= render 'billing', registrar: @registrar %>
|
||||||
<%= render 'admin/registrars/show/preferences', registrar: registrar %>
|
<%= render 'admin/registrars/show/preferences', registrar: registrar %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,6 +12,9 @@ en:
|
||||||
preferences:
|
preferences:
|
||||||
header: Preferences
|
header: Preferences
|
||||||
|
|
||||||
|
billing:
|
||||||
|
header: Billing
|
||||||
|
|
||||||
create:
|
create:
|
||||||
created: Registrar has been successfully created
|
created: Registrar has been successfully created
|
||||||
not_created: Unable to create registrar
|
not_created: Unable to create registrar
|
||||||
|
|
|
@ -199,7 +199,6 @@ en:
|
||||||
alg: 'Algorithm'
|
alg: 'Algorithm'
|
||||||
public_key: 'Public key'
|
public_key: 'Public key'
|
||||||
registrar:
|
registrar:
|
||||||
billing_email: 'Billing e-mail'
|
|
||||||
phone: 'Contact phone'
|
phone: 'Contact phone'
|
||||||
email: 'Contact e-mail'
|
email: 'Contact e-mail'
|
||||||
state: 'State / Province'
|
state: 'State / Province'
|
||||||
|
@ -782,3 +781,6 @@ en:
|
||||||
delimiter: " "
|
delimiter: " "
|
||||||
precision: 2
|
precision: 2
|
||||||
unit: €
|
unit: €
|
||||||
|
|
||||||
|
attributes:
|
||||||
|
vat_no: VAT number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue