From 5ef1e60185a2701d4996532d452782e93e69ff39 Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Thu, 21 Sep 2023 14:24:23 +0300 Subject: [PATCH] added missing billing profile vat code to invoice --- app/views/invoices/show.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/invoices/show.html.erb b/app/views/invoices/show.html.erb index e8e4cfd67..f2750c80d 100644 --- a/app/views/invoices/show.html.erb +++ b/app/views/invoices/show.html.erb @@ -43,6 +43,12 @@ <%= I18n.l(@invoice.paid_at) %> <% end %> + <% if @invoice.billing_vat_code.present? %> +
+
<%= t('billing_profiles.vat_code') %>
+ <%= @invoice.billing_vat_code %> +
+ <% end %>