mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 20:48:22 +02:00
Merge pull request #1346 from internetee/fix-registrar-url-condition-in-pdf
Fix invoice pdf url display
This commit is contained in:
commit
902c61501b
1 changed files with 21 additions and 21 deletions
|
@ -196,7 +196,7 @@
|
|||
%dd= @invoice.buyer_reg_no
|
||||
|
||||
- if @invoice.buyer_address.present?
|
||||
%dt= t(:address)
|
||||
%dt= Invoice.human_attribute_name :address
|
||||
%dd= @invoice.buyer_address
|
||||
|
||||
- if @invoice.buyer_country.present?
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue