Skip to content

Commit

Permalink
Fixes #1188
Browse files Browse the repository at this point in the history
  • Loading branch information
teadur committed Oct 8, 2019
1 parent 6875088 commit 5955e16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/invoice/pdf.haml
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@

%dt= t(:payment_term)
%dd Prepayment

%dt= t(:invoice_number)
%dd= @invoice.number

- if @invoice.description.present?
%dt= t(:description)
%dd=@invoice.description

%dt= Invoice.human_attribute_name :reference_no
%dd= @invoice.reference_no

Expand All @@ -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

Expand Down

0 comments on commit 5955e16

Please sign in to comment.