Module: Refinery::Orders::OrdersHelper

Defined in:
app/helpers/refinery/orders/orders_helper.rb

Instance Method Summary collapse

Instance Method Details

#pretty_total_price(li) ⇒ Object



5
6
7
# File 'app/helpers/refinery/orders/orders_helper.rb', line 5

def pretty_total_price( li )
  number_to_currency( ( li.quantity.to_f * li.unit_price ) )
end