Add tooltip for article prices
This commit is contained in:
parent
2ee7f716ae
commit
8a79dfd167
9 changed files with 41 additions and 15 deletions
13
app/views/shared/_article_price_info.html.haml
Normal file
13
app/views/shared/_article_price_info.html.haml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
%table.table.table-condensed
|
||||
%tr
|
||||
%th= t 'activerecord.attributes.article.price'
|
||||
%td.numeric= number_to_currency article.price
|
||||
%tr
|
||||
%th= t 'activerecord.attributes.article.deposit'
|
||||
%td.numeric= number_to_currency article.deposit
|
||||
%tr
|
||||
%th= t 'activerecord.attributes.article.tax'
|
||||
%td.numeric= number_to_percentage article.tax
|
||||
%tr
|
||||
%th= t 'activerecord.attributes.article.fc_price'
|
||||
%td.numeric= number_to_currency article.fc_price
|
||||
Loading…
Add table
Add a link
Reference in a new issue