mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 07:26:22 +02:00
Improve default csv generation
This commit is contained in:
parent
e50501f13f
commit
aef30eeb4d
5 changed files with 19 additions and 19 deletions
|
@ -748,7 +748,7 @@ class Domain < ApplicationRecord
|
|||
statuses,
|
||||
contacts.pluck(:code),
|
||||
force_delete_date,
|
||||
force_delete_data
|
||||
force_delete_data,
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -764,7 +764,10 @@ class Domain < ApplicationRecord
|
|||
end
|
||||
|
||||
def self.csv_header
|
||||
['Domain', 'Registrant', 'Valid to', 'Registrar', 'Created at', 'Statuses', 'Contacts code', 'Force delete date', 'Force delete data']
|
||||
[
|
||||
'Domain', 'Registrant', 'Valid to', 'Registrar', 'Created at',
|
||||
'Statuses', 'Contacts code', 'Force delete date', 'Force delete data',
|
||||
]
|
||||
end
|
||||
|
||||
def self.pdf(html)
|
||||
|
|
|
@ -125,7 +125,7 @@ class Invoice < ApplicationRecord
|
|||
issue_date,
|
||||
total,
|
||||
currency,
|
||||
seller_name
|
||||
seller_name,
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue