From 8e7de8a7e1366fe9221d6a1c3e344bb57b0e58f8 Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Mon, 25 Sep 2023 13:14:46 +0300 Subject: [PATCH] replace vat code in other place --- app/views/invoices/show.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/invoices/show.html.erb b/app/views/invoices/show.html.erb index f818de37f..5286f3b64 100644 --- a/app/views/invoices/show.html.erb +++ b/app/views/invoices/show.html.erb @@ -21,6 +21,12 @@
<%= @invoice.recipient %>
<%= @invoice.address %> + <% if @invoice.vat_code.present? %> +
+
<%= t('billing_profiles.vat_code') %>
+ <%= @invoice.vat_code %> +
+ <% end %>
@@ -43,12 +49,6 @@ <%= I18n.l(@invoice.paid_at) %>
<% end %> - <% if @invoice.vat_code.present? %> -
-
<%= t('billing_profiles.vat_code') %>
- <%= @invoice.vat_code %> -
- <% end %>