mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +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
|
@ -195,25 +195,25 @@
|
||||||
%dt= t(:reg_no)
|
%dt= t(:reg_no)
|
||||||
%dd= @invoice.buyer_reg_no
|
%dd= @invoice.buyer_reg_no
|
||||||
|
|
||||||
- if @invoice.buyer_address.present?
|
- if @invoice.buyer_address.present?
|
||||||
%dt= t(:address)
|
%dt= Invoice.human_attribute_name :address
|
||||||
%dd= @invoice.buyer_address
|
%dd= @invoice.buyer_address
|
||||||
|
|
||||||
- if @invoice.buyer_country.present?
|
- if @invoice.buyer_country.present?
|
||||||
%dt= t(:country)
|
%dt= t(:country)
|
||||||
%dd= @invoice.buyer_country
|
%dd= @invoice.buyer_country
|
||||||
|
|
||||||
- if @invoice.buyer_phone.present?
|
- if @invoice.buyer_phone.present?
|
||||||
%dt= t(:phone)
|
%dt= t(:phone)
|
||||||
%dd= @invoice.buyer_phone
|
%dd= @invoice.buyer_phone
|
||||||
|
|
||||||
- if @invoice.buyer_phone.present?
|
- if @invoice.buyer_url.present?
|
||||||
%dt= t(:url)
|
%dt= t(:url)
|
||||||
%dd= @invoice.buyer_url
|
%dd= @invoice.buyer_url
|
||||||
|
|
||||||
- if @invoice.buyer_email.present?
|
- if @invoice.buyer_email.present?
|
||||||
%dt= t(:email)
|
%dt= t(:email)
|
||||||
%dd= @invoice.buyer_email
|
%dd= @invoice.buyer_email
|
||||||
|
|
||||||
.clear
|
.clear
|
||||||
.row.pull-down
|
.row.pull-down
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue