style check
This commit is contained in:
parent
a1e9b938d6
commit
4412aceeb8
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
class EntrepriseDecorator < Draper::Decorator
|
class EntrepriseDecorator < Draper::Decorator
|
||||||
delegate_all
|
delegate_all
|
||||||
|
|
||||||
|
|
||||||
def raison_sociale_or_name
|
def raison_sociale_or_name
|
||||||
raison_sociale.nil? ? nom + ' ' + prenom : raison_sociale
|
raison_sociale.nil? ? nom + ' ' + prenom : raison_sociale
|
||||||
end
|
end
|
||||||
|
@ -28,7 +27,7 @@ class EntrepriseDecorator < Draper::Decorator
|
||||||
end
|
end
|
||||||
|
|
||||||
def pretty_capital_social
|
def pretty_capital_social
|
||||||
h.number_to_currency(capital_social, delimiter: ' ', unit: '€', format: "%n %u")
|
h.number_to_currency(capital_social, delimiter: ' ', unit: '€', format: '%n %u')
|
||||||
end
|
end
|
||||||
|
|
||||||
def pretty_date_creation
|
def pretty_date_creation
|
||||||
|
|
Loading…
Add table
Reference in a new issue