2009-02-09 20:12:56 +01:00
|
|
|
%ul.autocomplete
|
|
|
|
- for article in @articles
|
2009-02-12 18:32:20 +01:00
|
|
|
- supplier = @supplier ? "" : " - #{truncate(article.supplier.name)}"
|
|
|
|
%li{:id => article.id.to_s}= "#{article.name} (#{article.unit_quantity} * #{article.unit} | #{number_to_currency(article.price)}#{supplier})"
|