Fixed haml bug.

This commit is contained in:
root 2009-08-06 16:14:36 +02:00
parent f45509fc07
commit 7e2506baa2

View file

@ -9,13 +9,15 @@
%span{:style => "color:red;font-weight: bold"} ! %span{:style => "color:red;font-weight: bold"} !
%td= order_article.price.unit_quantity.to_s + ' * ' + order_article.article.unit.to_s %td= order_article.price.unit_quantity.to_s + ' * ' + order_article.article.unit.to_s
%td %td
= number_to_currency(order_article.price.price, :unit => ""), | = number_to_currency(order_article.price.price, :unit => "")
"/ ", | :plain
number_to_currency(order_article.total_price, :unit => "") | /
= number_to_currency(order_article.total_price, :unit => "")
%td %td
= number_to_currency(order_article.price.gross_price, :unit => ""), | = number_to_currency(order_article.price.gross_price, :unit => "")
"/ ", | :plain
number_to_currency(order_article.total_gross_price, :unit => "") | /
= number_to_currency(order_article.total_gross_price, :unit => "")
%td= order_article.price.tax %td= order_article.price.tax
%td= order_article.price.deposit %td= order_article.price.deposit
%td %td