Remove number_display.rb

This commit is contained in:
Patrick Gansterer 2020-03-23 12:53:21 +01:00
parent 5f2e319469
commit 67ab647eb0
9 changed files with 18 additions and 35 deletions

View file

@ -17,8 +17,8 @@
:plain
/
= number_to_currency(order_article.total_gross_price, :unit => "")
%td #{order_article.price.tax}%
%td= order_article.price.deposit
%td= number_to_percentage(order_article.price.tax) unless order_article.price.tax.zero?
%td= number_to_currency(order_article.price.deposit, :unit => "") unless order_article.price.deposit.zero?
%td
= link_to t('ui.edit'), edit_order_order_article_path(order_article.order, order_article), remote: true,
class: 'btn btn-mini' unless order_article.order.closed?