From 474e27d32510d04f651924ca7c75b964032903ff Mon Sep 17 00:00:00 2001 From: Georg Kahest Date: Tue, 8 Oct 2019 11:41:10 +0300 Subject: [PATCH] Fix condition of buyer_url display in invoice pdf --- app/views/invoice/pdf.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/invoice/pdf.haml b/app/views/invoice/pdf.haml index 19778ec43..88d2c7bab 100644 --- a/app/views/invoice/pdf.haml +++ b/app/views/invoice/pdf.haml @@ -207,7 +207,7 @@ %dt= t(:phone) %dd= @invoice.buyer_phone - - if @invoice.buyer_phone.present? + - if @invoice.buyer_url.present? %dt= t(:url) %dd= @invoice.buyer_url