4 lines
266 B
Text
4 lines
266 B
Text
%ul.autocomplete
|
|
- for article in @articles
|
|
- 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})"
|