Introduce helper method

#623
This commit is contained in:
Artur Beljajev 2018-03-13 11:39:18 +02:00
parent 3ed6416e50
commit beba81bc6d
5 changed files with 8 additions and 4 deletions

View file

@ -89,4 +89,8 @@ module ApplicationHelper
types.delete('ddoc')
".#{types.join(',.')}"
end
def vat_rate(value)
number_to_percentage(value, precision: 1)
end
end