Skip to content

Commit

Permalink
replace vat code in other place
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegPhenomenon committed Sep 25, 2023
1 parent 638a487 commit 8e7de8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/invoices/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
<div class="header"><%= @invoice.recipient %></div>
<%= @invoice.address %>
</div>
<% if @invoice.vat_code.present? %>
<div class="item">
<div class="header"><%= t('billing_profiles.vat_code') %></div>
<%= @invoice.vat_code %>
</div>
<% end %>
</div>
</div>
<div class="column right aligned">
Expand All @@ -43,12 +49,6 @@
<%= I18n.l(@invoice.paid_at) %>
</div>
<% end %>
<% if @invoice.vat_code.present? %>
<div class="item">
<div class="header"><%= t('billing_profiles.vat_code') %></div>
<%= @invoice.vat_code %>
</div>
<% end %>
</div>
</div>
<div class="column sixteen wide">
Expand Down

0 comments on commit 8e7de8a

Please sign in to comment.