From d1d484bc0cbc82be34693eff433f179161b6d2ed Mon Sep 17 00:00:00 2001 From: Georg Kahest Date: Thu, 10 Oct 2019 01:21:30 +0300 Subject: [PATCH] remove checks of displayed variables, as requested in: https://github.com/internetee/registry/pull/1346#discussion_r332424910 --- app/views/invoice/pdf.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/invoice/pdf.haml b/app/views/invoice/pdf.haml index 0e059c58c..20159f804 100644 --- a/app/views/invoice/pdf.haml +++ b/app/views/invoice/pdf.haml @@ -195,23 +195,23 @@ %dt= t(:reg_no) %dd= @invoice.buyer_reg_no - - if @invoice.buyer_address.present? + - @invoice.buyer_address.present? %dt= t(:address) %dd= @invoice.buyer_address - - if @invoice.buyer_country.present? + - @invoice.buyer_country.present? %dt= t(:country) %dd= @invoice.buyer_country - - if @invoice.buyer_phone.present? + - @invoice.buyer_phone.present? %dt= t(:phone) %dd= @invoice.buyer_phone - - if @invoice.buyer_url.present? + - @invoice.buyer_url.present? %dt= t(:url) %dd= @invoice.buyer_url - - if @invoice.buyer_email.present? + - @invoice.buyer_email.present? %dt= t(:email) %dd= @invoice.buyer_email