mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
use invoice.order for directo/banklink
This commit is contained in:
parent
52cf53343c
commit
145af2ac0f
3 changed files with 9 additions and 4 deletions
|
@ -106,7 +106,12 @@ class Invoice < ActiveRecord::Base
|
|||
def buyer_country
|
||||
Country.new(buyer_country_code)
|
||||
end
|
||||
|
||||
|
||||
# order is used for directo/banklink description
|
||||
def order
|
||||
"Order nr. #{number}"
|
||||
end
|
||||
|
||||
def pdf(html)
|
||||
kit = PDFKit.new(html)
|
||||
kit.to_pdf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue