From 7e2506baa245a09262e2e70140a6415b5afff32a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Aug 2009 16:14:36 +0200 Subject: [PATCH] Fixed haml bug. --- .../finance/balancing/_order_article.html.haml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/views/finance/balancing/_order_article.html.haml b/app/views/finance/balancing/_order_article.html.haml index ea43eae6..11c0994d 100644 --- a/app/views/finance/balancing/_order_article.html.haml +++ b/app/views/finance/balancing/_order_article.html.haml @@ -9,13 +9,15 @@ %span{:style => "color:red;font-weight: bold"} ! %td= order_article.price.unit_quantity.to_s + ' * ' + order_article.article.unit.to_s %td - = number_to_currency(order_article.price.price, :unit => ""), | - "/ ", | - number_to_currency(order_article.total_price, :unit => "") | + = number_to_currency(order_article.price.price, :unit => "") + :plain + / + = number_to_currency(order_article.total_price, :unit => "") %td - = number_to_currency(order_article.price.gross_price, :unit => ""), | - "/ ", | - number_to_currency(order_article.total_gross_price, :unit => "") | + = number_to_currency(order_article.price.gross_price, :unit => "") + :plain + / + = number_to_currency(order_article.total_gross_price, :unit => "") %td= order_article.price.tax %td= order_article.price.deposit %td